Member
Member
tigervance   2006-08-03, 02:27
#1

When uploading to the site I receive the PHP error message:

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid/gid is 303682/100 is not allowed to access /home/s/sergi/www/gallery/albums/sergi-staff-members owned by uid/gid 80/80 in /home/s/sergi/www/gallery/zen/admin.php on line 114

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid/gid is 303682/100 is not allowed to access /home/s/sergi/www/gallery/albums/sergi-staff-members owned by uid/gid 80/80 in /home/s/sergi/www/gallery/zen/admin.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/s/sergi/www/gallery/zen/admin.php:114) in /home/s/sergi/www/gallery/zen/admin.php on line 128

I have checked the permissions with the album and cache files which are set 777.

Help is greatly appreciated.

Thanks

Member
Member
aitf311   2006-08-03, 13:17
#2

i also get an error

Developer
Developer
trisweb   2006-08-06, 17:50
#3

Your host has enabled PHP Safe Mode, which doesn't allow scripts to move files from the temp directory to a user directory.

Unfortunately there's no way around this, and you'll have to use FTP or another file transfer method to get the images onto the server, which I usually prefer anyway -- it's faster for multiple images.

Member
Member
tigervance   2006-08-10, 22:55
#4

Thanks for the help. I spoke to the host and had the permissions changed.

It now works a dream. Very happy with it.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.