Intalled correctly? Can't upload images. Please help.

When I uploaded my first image, this is what I got...

Warning: move_uploaded_file(): Moved: '/var/tmp/phpswRrb8' to '/home/workforc/public_html/babybishop/albums/jill-is-pregnant/IMG_2223.JPG' in /home/workforc/public_html/babybishop/zen/admin.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/babybishop/zen/admin.php:114) in /home/XXXXXXX/public_html/babybishop/zen/admin.php on line 128

Any thoughts? Any assistance would be appreciated.

Thanks.

Comments

  • trisweb Administrator
    It seems like the first one is a very low-level warning that the file was simply moved.... the unexpected printout (of the warning) is what causes the second error. Does the file actually get moved?

    If it does and everything seems to be working, find the function move_uploaded_file() in admin.php, and put an @ sign in front of it. That should suppress all warnings:

    `@move_uploaded_file(.....)`
  • Actually, it doesn't work. The folder is created, but then the images are not placed into the folder and images can't be viewed.
  • RGIA Member
    Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 741 is not allowed to access /home/virtual/site193/fst/var/www/html/zenphoto/albums/111111111111111 owned by uid 48 in /home/virtual/site193/fst/var/www/html/zenphoto/zen/admin.php on line 114

    Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site193/fst/var/www/html/zenphoto/zen/admin.php:114) in /home/virtual/site193/fst/var/www/html/zenphoto/zen/admin.php on line 128

    I have the same error, and I have not been able it to solve adding @ move_uploaded. Please I need aid.
  • Hi!
    I have the same bug. It was solve by adding the @. But the img doesn't appear !
    Sorry for my english...
    Xav.
  • do you have a link to your site so we can take a look
  • www.brice-family.eu/zenphoto/

    I resolve a part of bug by enter in my "web host" private access where I have a function called "Safe_Mode vs restauration de droits" (Safe_Mode vs restoration of rights). After generating this function I can upload my photos. I have to done this operation after creating a new folder... each time.

    So my bug it's that this site is for my mum so I need to have something simple :)
    Please help her lol !

    Xav.
  • http://www.zenphoto.org/support/topic.php?id=673#post-3757

    This uses the xp publish wizard, if you wanted to make it easier for her....
Sign In or Register to comment.