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, biapar, Willr, Ingo, swaiba, simon_w

File Exists Warning


3 Posts   1158 Views


3 December 2009 at 5:21am Community Member, 528 Posts

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/


3 December 2009 at 5:29pm Community Member, 283 Posts

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:


9 December 2009 at 1:54am Community Member, 107 Posts

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