Member
Member
marklbishop   2006-06-12, 03:05
#1

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.

Developer
Developer
trisweb   2006-06-12, 16:13
#2

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

Member
Member
marklbishop   2006-06-14, 18:16
#3

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.

Junior Member
Junior Member
RGIA   2006-07-14, 11:48
#4

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.

Member
Member
misterb   2006-07-26, 21:53
#5

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

Member
Member
Chilifrei64   2006-07-27, 00:10
#6

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

Member
Member
misterb   2006-07-29, 11:15
#7

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.

Member
Member
Chilifrei64   2006-07-29, 16:44
#8

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

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