![]() |
|
PHP Image upload error - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: PHP Image upload error (/thread-716.html) |
PHP Image upload error - tigervance - 2006-08-03 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 PHP Image upload error - aitf311 - 2006-08-03 i also get an error PHP Image upload error - trisweb - 2006-08-06 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. PHP Image upload error - tigervance - 2006-08-10 Thanks for the help. I spoke to the host and had the permissions changed. It now works a dream. Very happy with it. |