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: [kovali] Warning: file_exists(): open_basedir restriction in effect

By Dave - January 25, 2010

Hi Kovali,

open_basedir error are usually related to the hosting setup.

But if you can email me CMS and FTP login details to dave@interactivetools.com I can take a look. Note: email, don't post login details to the forum.

Thanks!
Dave Edis - Senior Developer
interactivetools.com

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