Need some help here.

Dave

Joined: 2002-08-27
Posts: 4
Posted: Wed, 2002-09-11 04:30

I am not new to gallery on linux, however I am new to using this host I just signed up with. Here is what is running.
PHP Version 4.1.1
Apache/1.3.22
RedHat 7.2

I downloaded the gallery version of netpbm, and created a directory called netpbm.
I chmod 755 netpbm
I also chmod 755 all 12 files.

I was very careful during the configuration, and recieved no errors.
I then logged into the gallery, and created a new album, and uploaded a photo.
The photo never appeared. I did get a place holder for the image.
I then activated debug mode and here is the output.

Processing status...
- Adding 7154bmtt.jpg
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 108 by 66 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 108 by 66 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmscale -xysize 150 150 | /home/virtual/pdxrc.com/var/www/html/netpbm/ppmtojpeg --quality=95 > /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.thumb.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 1.388889 horizontally to 150 columns.
pnmscale: Scaling by 1.393939 vertically to 92 rows.
pnmscale: 0.000006 of right column stretched due to arithmetic imprecision
pnmscale: 0.000001 of bottom row stretched due to arithmetic imprecision

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.thumb.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 150 by 92 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.thumb.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 150 by 92 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)IN UTIL ITEMCAPTUREDATE = 2002

Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmscale -xysize 200 200 | /home/virtual/pdxrc.com/var/www/html/netpbm/ppmtojpeg --quality=95 > /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.highlight.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 1.851852 horizontally to 200 columns.
pnmscale: Scaling by 1.848485 vertically to 122 rows.
pnmscale: 0.000003 of right column stretched due to arithmetic imprecision

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.highlight.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 200 by 122 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/home/virtual/pdxrc.com/var/www/html/netpbm/jpegtopnm /home/virtual/site52/fst/var/www/html/Albums/album01/7154bmtt.highlight.jpg | /home/virtual/pdxrc.com/var/www/html/netpbm/pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 200 by 122 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)

I verifyed that the albums directory is correct, and that it is 777
I have reran setup several times, and made sure I ran sh secure.sh each time after completed. Any help would be great.
Thanks
Dave

 
ill
ill's picture

Joined: 2002-08-15
Posts: 756
Posted: Wed, 2002-09-11 06:58

You probably don't have an uplaod problem - the log shows there is no error here. Turn debug Mode off.

You have a configuration error for the Albums and Gallery URL See FAQ C.17.
Check the URLs to both directories. Also check the permissions for the albums directory, although, this will probably be fine, because you can upload just fine.

 
Dave

Joined: 2002-08-27
Posts: 4
Posted: Thu, 2002-09-12 03:24

Strange, but I got it to install. It was an odd issue. Not sure what fixed it, but I think it was a ftp issue somehow. When I ftp'd the files to the server, some must have become corrupy, buecause all I did to fix the issue was delete all the files, and re-up them as the origanal tgz file and extract them on the server. After that, no more issue. Thanks for the quick reply.