21286 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 911 Views |
-
File Exists Warning

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/cupidology.net/httpdocs:/tmp)
-
Re: File Exists Warning

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
http://www.php.net/manual/en/ini.core.php#ini.open-basedir
Here is an example of using a .htaccess file to do it:
http://www.mydigitallife.info/2007/03/15/php-scripts-open_basedir-restriction-in-effect-error/ -
Re: File Exists Warning

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.
| 911 Views | ||
|
Page:
1
|
Go to Top |



