ZenphotoCMS Forum
Intalled correctly? Can't upload images. Please help. - 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: Intalled correctly? Can't upload images. Please help. (/thread-583.html)



Intalled correctly? Can't upload images. Please help. - marklbishop - 2006-06-12

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.




Intalled correctly? Can't upload images. Please help. - trisweb - 2006-06-12

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(.....)




Intalled correctly? Can't upload images. Please help. - marklbishop - 2006-06-14

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.




Intalled correctly? Can't upload images. Please help. - RGIA - 2006-07-14

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.




Intalled correctly? Can't upload images. Please help. - misterb - 2006-07-26

Hi!
I have the same bug. It was solve by adding the @. But the img doesn't appear !
Sorry for my english...
Xav.




Intalled correctly? Can't upload images. Please help. - Chilifrei64 - 2006-07-27

do you have a link to your site so we can take a look




Intalled correctly? Can't upload images. Please help. - misterb - 2006-07-29

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.




Intalled correctly? Can't upload images. Please help. - Chilifrei64 - 2006-07-29

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....