Warning: opendir(): SAFE MODE Restriction in effect ??? Help! Warning: opendir(): SAFE MODE Restriction in effect ??? Help!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Warning: opendir(): SAFE MODE Restriction in effect ??? Help!

Started by Graham, June 27, 2004, 08:49:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Graham

Hey guys i cant upload in my gallery anymore its saying this..

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 767 is not allowed to access /home/sc266/www/gallery/albums owned by uid 0 in /home/sc266/www/gallery/upload.php on line 406

Warning: opendir(./albums/edit): failed to open dir: No such file or directory in /home/sc266/www/gallery/upload.php on line 406

Any ideas on how to solve this?

Graham

Just to clarify it says that above the main page when you go to the upload screen, the message that it gives when you try to upload is..

Error Report
The following uploads encountered errors: 
File Uploads: 
File Name/URL Error Message
1. nine4.JPG Impossible to move.

Graham

And the error that appears at the top of the page after attempting to upload is..

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_aa65969e.JPG): failed to open stream: No such file or directory in /home/sc266/www/gallery/upload.php on line 1193

Warning: move_uploaded_file(): Unable to move '/tmp/phpRneZZj' to './albums/edit/mHTTP_temp_aa65969e.JPG' in /home/sc266/www/gallery/upload.php on line 1193

Cheers if you can help guys :)

Graham

OK guys ive mannaged to mend it myself, for some random reason the albums/edit folder had deleted itself? if anybody knows how to stop this in the future please tell me.