ARG - cant upload files

sweeney

Joined: 2002-08-15
Posts: 7
Posted: Sun, 2002-09-22 14:30

Hi;

sorry about another niave question from another newbie..but im going to have to do it anyway.

I dont have shell access and i have just installed the Gallery on my site (www.rokits.org/gallery). When i try to upload the pictures i got an error. i read the FAQs and i turned on the debugging thing as ordered....but i cannot do anything with the results anyway.

Below are the results returned and i would like to know ho ican fix this error without shell and only ftp.....

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Processing status...
- Adding clipper.jpg
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 580 by 1448 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 580 by 1448 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmscale -xysize 150 150 | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//ppmtojpeg --quality=95 > /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.thumb.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.thumb.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmfile --allimages

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

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.thumb.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmfile --allimages

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

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm/jhead /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/tmp/galleryCgnyRo

Results:
none

Error messages:
/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm/jhead: 1: Syntax error: "(" unexpected

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

- Resizing clipper.jpg
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmscale -xysize 640 640 | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//ppmtojpeg --quality=95 > /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.sized.jpg

Results:
none

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Executing:

/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//jpegtopnm /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/albums//national/clipper.sized.jpg | /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm//pnmfile --allimages

Results:
stdin: Image 0: PPM raw, 256 by 640 maxval 255

Error messages:
jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

TIA

Martin Sweeney

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-09-23 07:30
Quote:
/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm/jhead /usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/tmp/galleryCgnyRo

Results:
none

Error messages:
/usr/local/psa/home/vhosts/rokits.org/httpdocs/gallery/netpbm/jhead: 1: Syntax error: "(" unexpected

Looks like you have the wrong version of jhead for your operating system. Get the right one (see the "PHP diagnostic" linked from the config wizard to find out what OS you're using)

 
sweeney

Joined: 2002-08-15
Posts: 7
Posted: Thu, 2002-09-26 19:43

FreeBSD bfr41.plesk.ru 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000

:/usr/src/sys/compile/GENERIC i386

______________________

Where do i get the right jhead for this? also, the place where iset up the gallery was on a tutorial made my my host <!-- BBCode Start --><A HREF="http://www.support.34sp.com/tutorials/gallery/gallerysetup.shtml" TARGET="_blank">Here</A><!-- BBCode End --> and all the files were supplied. I would have thought that they would have included the right jhead file for their operating system....

Thanks

Martin

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-28 03:32

Your best bet is to talk to your ISP -- it looks like they've put some thought into getting Gallery working in their environment so they can probably get you the right binary.