Bus error?

voxra

Joined: 2002-10-04
Posts: 3
Posted: Fri, 2002-10-04 15:01

I've installed and given the correct permissions to files and directories (I think). I get no errors from the configuration screens. My server (shared at Pair.com) is running:
# the URL to your Gallery (seeing the problem is very helpful).
http://vevkjerring.no/modules/gallery/
# the version of Gallery,
Gallery v1.3.1 with the security fix (downloaded a few days ago)
# the version of PHP,
PHP Version 4.2.2
# the version of Apache,
Apache/1.3.26
# your operating system and hardware,
FreeBSD 4.6
# (if applicable) the web browser and version you are using,
-same problem with Mozilla, MSIE and Opera
# any debug output or clues that you've already discovered.
I've uploaded one photo and given the full path, Gallery responds by listing the "1.jpg"-file, but when I press the "Add files" button to process the file, I get the following error message (rather long as I've put debugging on):

Fetching Urls...
/usr/www/users/myusername/mydomainname/modules/gallery/opplasta/1.jpg
Processing status...

- Adding 1.jpg

Executing:

/usr/www/users/myusername/mydomainname/modules/gallery/netpbm/jpegtopnm /usr/www/users/myusername/mydomainname/albums/Turar/1_G.jpg | /usr/www/users/myusername/mydomainname/modules/gallery/netpbm/pnmfile --allimages

Results:
66085
[1] 66084 Bus error

Error messages:

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

Pair didn't have the netpbm or whatever installed, but I downloaded the FreeBSD files from Gallery's page and made them executable (hence no error message in the configuration).

I would be quite happy to upload thumbnails and images myself, is there a way I can do that?

TIA,
Randi Andersen

 
voxra

Joined: 2002-10-04
Posts: 3
Posted: Fri, 2002-10-04 18:28

I'm giving up trying to get this to work before I go on my holiday. Is there a way I can manually upload images and thumbnails? Any naming convention if this is possible? If not, does anyone have an idea of a different gallery program that does allow manual uploading (ftp) of images that works with PostNuke?

I'm a little desperate, leaving for Bali really early Sunday, and don't fancy spending the first few days in an Internet Cafe trying to compile netpbm...

Pretty please? TIA,
Randi A.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-10-04 22:12

You can't upload your own thumbs/resizes -- Gallery must create those itself so that it can get them in its database.

You need to read and follow the directions in FAQ C.2. My guess is that you have bad NetPBM binaries.

 
voxra

Joined: 2002-10-04
Posts: 3
Posted: Fri, 2002-10-04 22:45

-someone had checked the "use ASCiI mode for files with no extension" in my ftp program. Kill, kill, kill. It works now, that's the main thing. Thanks.