Invalid image

mein

Joined: 2002-09-22
Posts: 2
Posted: Sun, 2002-09-22 19:34

have installed Gallery on my site, however when I add photos I get the following message in debug mode. Can anyone help.

I have checked that in the config wizard I have set Expected status to zero.

Quote:
Processing status...
- Adding hall02.jpg
Executing:

/usr/local/psa/home/vhosts/bissaberdeen.org/httpdocs/gallery/netpbm/jpegtopnm /usr/local/psa/home/vhosts/bissaberdeen.org/httpdocs/gallery/albums/album01/hall02.jpg | /usr/local/psa/home/vhosts/bissaberdeen.org/httpdocs/gallery/netpbm/pnmfile --allimages

Results:
none

Error messages:

Status: 127 (expected 0)
Error: Invalid image: hall02.jpg!
Need help? Look in the Gallery FAQ

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-09-22 21:12

The status code of 127 has special meaning.

Check your PHP info (there's a diagnostic linked from page 1 of the config wizard). Around the top of the page it lists all the options that PHP was compiled with. If there's one called "--enable-sigchild" then you need to set your expected status back to 127. If not, then you should read and follow FAQ C.2

 
mein

Joined: 2002-09-22
Posts: 2
Posted: Sun, 2002-09-22 23:29
Quote:
The status code of 127 has special meaning.

Check your PHP info (there's a diagnostic linked from page 1 of the config wizard). Around the top of the page it lists all the options that PHP was compiled with. If there's one called "--enable-sigchild" then you need to set your expected status back to 127. If not, then you should read and follow FAQ C.2

I have checked and there is no mention of "--enable-sigchild". Followed FAQ C.2, but still no joy.

Any other thoughts

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-09-23 07:33

Hmm. Please post a link to your PHP info; I'll check it for other anomalies. Also, please post the results you get in debug mode, and cut and paste the results of the same operation from your shell (ie, a complete walkthrough of FAQ C.2) so that we can sanity check it.