8 years ago
Topic

Hi

I use joomla for some time, but found a PHP warning regarding the open_basedir.

I just installed the SEBLOD component, but I believe that this problem is due to some server configuration.

Can someone help me?


The message is: 

Warning: is_dir(): open_basedir restriction in effect. File(/media/cck/scripts/jquery-colorbox/styles) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/private:/var/www/clients/client1/web6/tmp:/var/www/seblod.lan/web:/srv/www/seblod.lan/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web6/web/libraries/joomla/form/fields/folderlist.php on line 174


I use php 5.6 in php-fpm mode on apache 2.2.4 webserver.

The Joomla version is 3.5.1

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1

Hi,

try this: open administrator\components\com_cck\config.xml

and replace

<field name="site_modal_box_css" type="folderlist" directory="/media/cck/scripts/jquery-colorbox/styles" hide_none="1" hide_default="0" default="style0" exclude="style0"
      label="COM_CCK_CONFIG_SITE_MODAL_BOX_CSS" description="COM_CCK_CONFIG_SITE_MODAL_BOX_CSS_DESC" class="inputbox" />

with ( / removed before media )

<field name="site_modal_box_css" type="folderlist" directory="media/cck/scripts/jquery-colorbox/styles" hide_none="1" hide_default="0" default="style0" exclude="style0"
      label="COM_CCK_CONFIG_SITE_MODAL_BOX_CSS" description="COM_CCK_CONFIG_SITE_MODAL_BOX_CSS_DESC" class="inputbox" />

then go to seblod component configuration and resave it.

8 years ago
0
Level 2

ok, it´s solved

thanks.

Get a Book for SEBLOD