Member
Member
quest02   2008-06-03, 00:11
#1

HI .. My host is running safe mode & have used 1.1.3 which I can upload pics through the browser with no problems. Just updating to 1.16 & now get the error mesaage 'cannot upload" safe mode restriction"

is there something I can change in the code so I don't get this error message?

thanks

Member
Member
sbillard   2008-06-03, 00:43
#2

Did you actually try the upload? Tht message should be a warning.

Member
Member
quest02   2008-06-03, 00:50
#3

Thanks for the quick reply

Yes I did & I get the error message

Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid/gid is 316601/100 is not allowed to access /home/ph/pha/mywebsitehere/public/www/gallery/albums/test owned by uid/gid 80/80 in /home/ph/pha/mywebsitehere/public/www/gallery/zp-core/admin.php on line 337

Warning: Cannot modify header information - headers already sent by (output started at /home/ph/pha/mywebsitehere/public/www/gallery/zp-core/admin.php:337) in /home/ph/pha/mywebsitehere/public/www/gallery/zp-core/admin.php on line 368

Member
Member
sbillard   2008-06-03, 01:27
#4

You might try chmod of your albums folder(s). The upload code does not appear to be changed since 1.1.3. Both use the move_uploaded_file() function so I don't know why the former should work and the latter not.

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