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?
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.
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 :)
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.