mcmuney Posted November 2, 2009 Share Posted November 2, 2009 All of a sudden, I'm getting the below errors when uploading a file. How can I resolve this? Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 645 is not allowed to access /home/pickaloo/public_html/photos/11-02-09 owned by uid 99 in /home/pickaloo/public_html/index.php on line 157 Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The script whose uid is 645 is not allowed to access /home/pickaloo/public_html/photos/11-02-09 owned by uid 99 in /home/pickaloo/public_html/index.php on line 183 Link to comment https://forums.phpfreaks.com/topic/179929-safe-mode-restriction/ Share on other sites More sharing options...
ILMV Posted November 2, 2009 Share Posted November 2, 2009 Turn safe mode off... Link to comment https://forums.phpfreaks.com/topic/179929-safe-mode-restriction/#findComment-949225 Share on other sites More sharing options...
mcmuney Posted November 2, 2009 Author Share Posted November 2, 2009 Thanks Sherlock! I'm on a shared host, how do I turn it off? Link to comment https://forums.phpfreaks.com/topic/179929-safe-mode-restriction/#findComment-949671 Share on other sites More sharing options...
ILMV Posted November 3, 2009 Share Posted November 3, 2009 Hey! Don't be an idiot and respect those who are giving you the answer you asked for! You asked the question and I gave you the answer, if you had asked "I have tried to run this script in safe mode and it doesn't work, how do I turn safe mode off", but you didn't. So don't be a cock and think about what you are saying. You will need to contact your hosting as you probably won't have access to turn safe mode off. Man alive Link to comment https://forums.phpfreaks.com/topic/179929-safe-mode-restriction/#findComment-950036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.