safe mode on different versions

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

Comments

  • Did you actually try the upload? Tht message should be a warning.
  • 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
  • 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.
Sign In or Register to comment.