syntax error in NetPBM files?

pixelkitty

Joined: 2002-08-16
Posts: 1
Posted: Fri, 2002-08-16 06:20

When trying to upload an img I get the below response:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> Processing status...
- Adding IMG_0021.jpg
Executing:

/wh36230/public_html/~pixelkitty/netpbm/jpegtopnm /home/wh36230/public_html/~pixelkitty/albums/Testing/aab.jpg | /wh36230/public_html/~pixelkitty/netpbm/pnmfile --allimages

Results:
none

Error messages:
/wh36230/public_html/~pixelkitty/netpbm/pnmfile: syntax error at line 1: `(' unexpected
/wh36230/public_html/~pixelkitty/netpbm/jpegtopnm: syntax error at line 1: `(' unexpected

Status: 2 (expected 0)
Error: Invalid image: aab.jpg!
</TD></TR></TABLE><!-- BBCode End -->

Ive checked permissions and all seems fine. I do not have shell or command line access and am using WS_FTP.

Any ideas? (Yes I read the FAQ and this error isnt listed.)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-08-19 07:49
Quote:
Error messages:
/wh36230/public_html/~pixelkitty/netpbm/pnmfile: syntax error at line 1: `(' unexpected
/wh36230/public_html/~pixelkitty/netpbm/jpegtopnm: syntax error at line 1: `(' unexpected

This is because you've got the wrong NetPBM binaries for your operating system.
You can verify this by trying the procedure suggested in <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.2" TARGET="_blank">FAQ C.2</A><!-- BBCode End -->. Check the diagnostics pages on page 1 of the config wizard to find out what operating system you're using and then get the right binaries from the Gallery Download page.