Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

File Exists Warning

Go to End

3 Posts   1439 Views


Community Member, 541 Posts

3 December 2009 at 5:21am

I'm getting the following error when accessing the admin panel with dev mode on

[Warning] file_exists() [function.file-exists]: open_basedir restriction in effect. File(/misc/images/treeicons/TypographyTestPage-openfolder.gif) is not within the allowed path(s): (/var/www/vhosts/


Community Member, 283 Posts

3 December 2009 at 5:29pm

Your PHP settings have turned safe mode on. You will need to add your directory to the basedir directive or disable safe mode

Here is an example of using a .htaccess file to do it:


Community Member, 107 Posts

9 December 2009 at 1:54am

That worked with the orignal error, but brings up a new one. "No input file specified. " Then the admin page hangs up.