PHP Warning: file_exists() open_basedir restriction in effect.

Permalink 1 user found helpful
Hi,

I've installed C5 on a Windows 2008 / IIS7 server with no problems so far. Except that when I'm logged in as Admin and click the 'Scrapbook' link in the dashboard, I get the following error:

-------------------------------------
PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/ccm.filemanager.css) is not within the allowed path(s): (C:\PHP\;C:\HostingSpaces\) in C:\HostingSpaces\website.org.uk\wwwroot\concrete\helpers\html.php on line 42
-------------------------------------

The open_basedir path is set to include the whole of the hosting space filestructure (C:\HostingSpaces\) and the file in question is in /concrete/css. Accessing the scrapbook from the website in edit page mode works correctly.

Help, anyone, please?

Kind regards
Rae MacLeman

View Replies:
AlbertPotato replied on at Permalink Reply
AlbertPotato
I'm getting a similar message on a Linux 1&1 VPS:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/ccm.filemanager.css) is not within the allowed path(s): (/var/www/vhosts/bodhiyoga.com/subdomains/c5/httpdocs:/tmp) in /var/www/vhosts/bodhiyoga.com/subdomains/c5/httpdocs/concrete/helpers/html.php on line 42
AlbertPotato replied on at Permalink Reply
AlbertPotato
If you change the debug level to Production in Sitewide Settings this will stop showing up.