open base directive

Discussion in 'Server Operation' started by leonep, Aug 7, 2014.

  1. leonep

    leonep New Member

    Hi this is my error log after trasfer a joomla website

    [Thu Aug 07 14:22:57 2014] [warn] [client 93.55.42.217] mod_fcgid: stderr: PHP Warning:
    is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s):
    (/var/www/clients/client17/web38/web
    :/var/www/clients/client17/web38/private
    :/var/www/clients/client17/web38/tmp
    :/var/www/nspetroleum.org/web
    :/srv/www/nspetroleum.org/web
    :/usr/share/php5
    :/usr/share/php
    :/tmp
    :/usr/share/phpmyadmin
    :/etc/phpmyadmin
    :/var/lib/phpmyadmin)

    in /var/www/clients/client17/web38/web/libraries/joomla/filesystem/folder.php on line 451, referer: http://www.nspetroleum.org/administrator/


    i added:/ in ispconfig but not work . what can i do ? ty
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the error,you have not added / yet. Or you did not wait a minute.
     
  3. leonep

    leonep New Member

    damn you right ! but i have a new error:

    [Thu Aug 07 17:03:59 2014] [warn] [client 93.55.42.217] mod_fcgid: stderr: PHP Warning:
    fopen(/web/htdocs/www.nspetroleum.org/home/web/logs/error.php):
    failed to open stream: No such file or directory in /var/www/clients/client17/web38/web/libraries/joomla/log/loggers/formattedtext.php on line 248,
    referer: http://www.nspetroleum.org/administrator/
    [Thu Aug 07 17:03:59 2014] [warn] [client 93.55.42.217] mod_fcgid: stderr: PHP Warning:
    fputs() expects parameter 1 to be resource, boolean given in /var/www/clients/client17/web38/web/libraries/joomla/log/loggers/formattedtext.php on line 254,
    referer: http://www.nspetroleum.org/administrator/

    i have also checked permissions for client17 web38 in entire /web folder
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The path seems to be wrong:

    /web/htdocs/www.nspetroleum.org/home/web/logs/error.php

    correct would be e.g.:

    /var/www/nspetroleum.org/web/logs/error.php

    Most likely you copied the site from aonther server and did not adjust the installation paths in the cms system.
     
  5. leonep

    leonep New Member

    fixed thank you
     

Share This Page