Warning: file_exists(): open_basedir restriction in effect

4 posts by 2 authors in: Forums > CMS Builder
Last Post: January 25, 2010   (RSS)

By kovali - January 25, 2010

Hi,

I had CMSB running perfectly for about 3 months, now I get an error on opening the login screen and can't use it anymore:

Warning: file_exists(): open_basedir restriction in effect. File(/customers/taverne-schuurke.be/taverne-schuurke.be/httpd.www/beheer/lib/plugins/createThisDir.txt/plugin.php) is not within the allowed path(s): (/customers/taverne-schuurke.be/taverne-schuurke.be:/tmp:/var/www/diagnostics:/usr/share/php) in /customers/taverne-schuurke.be/taverne-schuurke.be/httpd.www/beheer/lib/admin_functions.php on line 53 Warning: Cannot modify header information - headers already sent by (output started at /customers/taverne-schuurke.be/taverne-schuurke.be/httpd.www/beheer/lib/admin_functions.php:53) in /customers/taverne-schuurke.be/taverne-schuurke.be/httpd.www/beheer/lib/menus/header.php on line 3

I didn't make any changes to the CMSB, and the host says nothing changed on the server... does anyone know what this error is about and how it happened please ?

Thx, Koen

Re: [Dave] Warning: file_exists(): open_basedir restriction in effect

By kovali - January 25, 2010

Hi Dave,

Thx for your help, I sent you all details by e-mail.

Best regards,

Koen

Re: [kovali] Warning: file_exists(): open_basedir restriction in effect

By Dave - January 25, 2010

Hi Koen,

I emailed you but I'll post here as well for anyone else following the thread.

I've removed /createThisDir.txt from "/beheer/lib/plugins/" as it's not needed and the error has gone away.

If it comes up again I recommend upgrading to the latest version (this site is running v1.22). Then if there is still a problem with the latest version we can fix that.

Hope that helps, let me know if there are any other issues.
Dave Edis - Senior Developer
interactivetools.com