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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.