open_basedir restriction in effect

Discussion in 'General' started by onastvar, Dec 6, 2010.

  1. onastvar

    onastvar Member

    I'm getting open_basedir error message when I try to update one of my joomla sites with Update Manager (joomla component)

    Does anyone know what should be modified to resolve this issue?

    Code:
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. 
    File(/var/www/clients/client0/web1) is not within the allowed path(s):
    (/var/www/clients/client0/web1/web:/var/www/clients/client0/
    web1/tmp:/var/www/domain.com/web:/srv/www/domain.com/
    web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:
    /var/lib/phpmyadmin) in /var/www/clients/client0/web1/web/libraries
    /joomla/filesystem/folder.php on line 392
     
  2. till

    till Super Moderator

    Add /var/www/clients/client0/web1 separated by ":" at the end of the open basedir path in the website settings.
     
  3. onastvar

    onastvar Member

    SOLVED: open_basedir restriction in effect

    Thank You Till.

    That worked. These are the changes I made on Web Domain page under Options tab in PHP open_basedir field

    before
    Code:
    /var/www/clients/client0/web1/web:/var/www/clients/client0/web1/
    tmp:/var/www/domain.com/web:/srv/www/domain.com/web:/usr/share
    /php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
    after
    Code:
    /var/www/clients/client0/web1/web:/var/www/clients/client0/web1
    /tmp:/var/www/domain.com/web:/srv/www/domain.com/web:/usr/share
    /php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/
    phpmyadmin[B]:/var/www/clients/client0/web1[/B]
     

Share This Page