open_basedir restriction in effect... not for the good site!

Discussion in 'Installation/Configuration' started by lollollollol, Jan 8, 2013.

  1. lollollollol

    lollollollol Member

    Debian 7 Ispconfig

    Usually I know how to handle with this kind of message, but here... I don't.

    I move an old installation from Debian 6 to Debian 7.
    Everything is working fine exept for one site:

    File(/var/www/clients/client1/[B][U]web3[/U][/B]/etc.) is not within the allowed path(s): 
    in /var/www/clients/client1/[B][U]web2[/U][/B]/etc.
    Complete example:
    [CODE][Tue Jan 08 14:20:32 2013] [warn] [client] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web3/web/wiki.debian-fr/extensions/SemanticForms/skins/collapse-minus.png) is not within the allowed path(s): (/var/www/clients/client1/web2/web:/var/www/clients/client1/web2/tmp:/var/www/ in /var/www/clients/client1/web2/web/wiki.debian-fr/includes/resourceloader/ResourceLoaderFileModule.php on line 651, referer:

    I found in my error.logs plenty of this warn.
    I can't figure why it is looking for web3 while the referer is in web2...

    I search for web3 in all files in /client1/web2: nothing.
    I also grep all the database, nothing.

    I hang this problem for two weeks without finding a solution, it is very annoying ...
    If a kind soul would help me I would be delighted! ;)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The missing file / wrong path is for a graphics file, it might be that the path is defined in the database of this site and not in a file.
  3. lollollollol

    lollollollol Member

    So I looked bad, like an idiot (phpmyadmin gave me ... binary outcomes).
    Search in a terminal was much more efficient.

    My logs are finally clean! Thank you very much Till.

Share This Page