[solved] open_basedir restriction in effect

Discussion in 'Server Operation' started by wagner.nardin, Jul 21, 2016.

  1. wagner.nardin

    wagner.nardin New Member HowtoForge Supporter

    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.
  2. wagner.nardin

    wagner.nardin New Member HowtoForge Supporter

    ok, it´s solved.
    the problem that SEBLOD component, in administrator/components/cck/config.xml, the field:

    <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" />

    contain a "/" before, media/cck/script...

    remove and thats it.
    till likes this.

Share This Page