*@?#!!binaries

hansakord

Joined: 2005-11-26
Posts: 11
Posted: Sun, 2005-11-27 01:38

I too have spent hours and hours floundering around trying in vain to get this to function. I installed from Fantastico, naiively thinking all would be set up for me. A little more clarification in the instructions would really help us beginners.
2. Activate Graphics Toolkits....Install, configure and activate one or more modules, with absolutely no help on how, where or with what. Upload binaries, but no help on where from or where to. I got the binaries for ImageMagick-6.2.5-4.i386.rpm, I can't open on my pc, and uploading the file to the ImageMagick folder does nothing. Same with the file that I downloaded for netpbm. I found one post that said change the extension to tar.gz and open it but nada, nothing.

I downloaded the jhead compressed file and expanded it, ending up with 14 files and another directory. The files look like they are for different OS's but nothing to help sort them or know what to use.
The thumbnail page has a thumbs down and gives the following error message:

This module requires an active graphics toolkit that supports either:

1. A multi-page file type such as TIFF, PDF or Postscript
Example: ImageMagick module with gs (GhostScript) support
2. A movie type such as Mpeg or AVI
Example: Ffmpeg module

My server runs
Linux p8.ich-4.com 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 i386 GNU/Linux
(Red Hat Enterprise 3 i686)

Ed

Gallery version 2.0
PHP version 5.0.4
PHPInfo Link (see FAQ):
Webserver Apache 1.3.34
Database MySql 4.0.25
Activated toolkits NetPbm, GD
Operating system RedHatEnterprise 3 Linux
Browser Firefox 1.0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-11-27 09:59

did you read these instructions?

http://codex.gallery2.org/index.php/Installing_an_Image_Processing_Library

forget imagemagick, obviously you're not the root / admin of the server and you can't compule it. use netpbm.

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Sun, 2005-11-27 21:08

Thanks for replying to my cry, I wish it was that easy!
Firstly Gallery lists the versions of every module as 1.0.0, which can't be true and doesn't correspond with any of the versions offered under the link from Installing_an_Image_Processing_Library. The version 1.1, which is the closest to 1.0.0, only offers the linux-intel files for RedHat 6.2 i386, which mine is not. The alternative version, 1.4-pl2 linux-intel is also for i386 architecture. Mine is i686.
Another dead end.
Ed

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Sun, 2005-11-27 21:37

I loaded the files from version 1.4-pl2 into the modules/netpbm directory and did the CHMOD to 755 on dir and files. The path public_html/photos/modules/netpbm does not work, 'the path you entered is not a valid path'. If I add /usr/ before the public_html, or take out the public_html I get the same error!
I would also like to load the jhead file.
Ed

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-11-27 23:15

the g2 module called "netpbm" is not the same as the external netpbm binary.
the g2 module depends on another application installed on the server which is called "netpbm".
-> insteall the netpbm binaries, then you can configure the g2 netpbm module.

the path you entered is the path to the g2 netpbm module.

but you should enter the path to the netpbm binaries.

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Sun, 2005-11-27 23:50

And none of that is explained in the instructions. So, if the files that I got are the module, where, please oh please, do I find the binaries?
Ed

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-28 00:04

arg, h0bbel was so kind to update:

http://codex.gallery2.org/index.php/Installing_an_Image_Processing_Library

and if you're still confused after reading that, please read my words from my last posts again. thanks.

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Mon, 2005-11-28 02:36

Here is everything from the instructions, plus the steps I took for each one listed:

# Verify which architecure and operating system your server is running. You can either ask your host, or try entering your site's URL into http://www.netcraft.com/whats
>>>>> you can see by my first email that I got that info.
# Download NetPBM from the Gallery Download Page. Be sure to download the correct binaries for your system (see previous step). If Netcraft said your system is running "Linux," you can generally assume you want the linux-intel binaries, not linux-alpha
>>>>> This is ambiguous - am I downloading the module, or the binaries, it doesn't say but you told me that they are not the same thing. As I said in my previous comments, none of the alternatives here match my architecture (i686).

# Unzip the package and upload them as a subdirectory in your base Gallery directory (usually name the directory netpbm). Remember where you uploaded them
>>>> As I assume that these are the binaries (netpbm_gallery-1.4-pl2-linux-intel.zip), and that the module is loaded automatically by Fantastico, I tried putting the files from the zip download above, matching my system the closest (but nevertheless for i386) in various directories and pointing to them, but to no avail. Gallery is loaded in the folder called 'photos', and I created the directory 'netpbm' in the folder photos. That makes the path: /usr/photos/netpbm, yes? no?

# Chmod the directory, and every file inside the directory 0755 (in graphical FTP clients, this is Owner -> Read, Write, Execute; Group -> Read, Execute; Other -> Read, Execute) It is very important that you chmod both the directory and every file inside
>>>>> been there, done that

# Run the Configuration Wizard (Gallery 1) / go to site admin -> modules (Gallery 2)
>>>>> That's where I get the error message.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-28 13:01

1. h0bbel added yesterday something to this page in bold letters:

Quote:
Note that the Gallery 2 modules called NetPBM and ImageMagick are not the toolkits, but the modules that enables Gallery 2 to use them. Do not enter the path to the gallery2/modules/netpbm or gallery2/modules/imagemagick in the toolkit setup in Gallery 2. Instead, point the modules where the actual binary files are located.

2. we refer to NetPBM / ImageMagick always as the binaries / the original packages. that makes sense. if we mean the g2 module with the same name, we refer to it with "the g2 imagemagick module" or something like that.

3. to use the netpbm module of g2, you need to install the netpbm module, you need to install (upload) the netpbm binaries and you need to configure the g2 netpbm module by entering the path to the netpbm binaries. and finally you must hit activate in site admin -> modules to activate the configured netpbm module.

4. i686 / i386 / ... is all intel x86 compatible.
you need netpbm_gallery-1.4-pl2-linux-intel.zip

i've edited the steps a little bit:
http://codex.gallery2.org/index.php/Installing_an_Image_Processing_Library#NetPBM

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Tue, 2005-11-29 08:51

Thanks for all the clarification. It seems that my problem is with the path to the directory. When uploading the binaries with my ftp program, after log in, I go to:
public_html/photos/netpbm
where photos is the home directory of gallery, but I cannot seem to get the path right. The default provided by gallery is /usr/bin/
Ed

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-11-29 13:17

You need to use the *full* path. Of course, there isn't any way for *us* to know what it is... but usually its something like /home/<username here>/public_html/photos/netpbm/.

My suggestion would be to create a dir named "bin" below your webroot, so in your case something like "/home/<your username>/bin/" and put all your netpbm and other binarys there. The "bin" dir can be at the same level as the g2data dir (below web-root).
_________________________________
Support & Documentation || Donate to Gallery || My Website

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-11-29 13:32

to find out the real full path to your g2 / g2data:
open config.php with a texteditor.
take a look at the storage path

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Tue, 2005-11-29 18:46

Those were great answers, where to put 'bin', and to look in the config.php! If that advice was in the instructions I would probably have saved myself at least 6 hours of frustration.
Now the binaries have been 'found', and passed, except for a few files that were not included in the download.
but still no thumbnails??

config.php:
is_dir(/home/mmcds/public_html/photos/netpbm/)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmscale)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmscale" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgkYrKyS
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgkYrKyS)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgkYrKyS)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgkYrKyS, r, 0)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fclose(Resource id #114)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgkYrKyS)
Regular Output:
Error Output:
pnmscale: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmscale: Compiled Thu Jun 3 16:38:24 PDT 2004 by user "root"
pnmscale: BSD defined
pnmscale: RGB_ENV='RGBDEF'
pnmscale: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmcut)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmcut" "--version" )
2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgVwM5jZ
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgVwM5jZ)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgVwM5jZ)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgVwM5jZ, r, 0)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fgets(Resource id #116, 4096)
feof(Resource id #116)
fclose(Resource id #116)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgVwM5jZ)
Regular Output:
Error Output:
pnmcut: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmcut: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmcut: BSD defined
pnmcut: RGB_ENV='RGBDEF'
pnmcut: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmfile)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmfile" "--version" )
2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgaKpJe6
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgaKpJe6)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgaKpJe6)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgaKpJe6, r, 0)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fgets(Resource id #118, 4096)
feof(Resource id #118)
fclose(Resource id #118)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgaKpJe6)
Regular Output:
Error Output:
pnmfile: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmfile: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmfile: BSD defined
pnmfile: RGB_ENV='RGBDEF'
pnmfile: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmcomp)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmcomp" "--version" )
2>/home/mmcds/public_html/photos/g2data/tmp/g2dbg775ygd
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbg775ygd)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbg775ygd)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbg775ygd, r, 0)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fgets(Resource id #120, 4096)
feof(Resource id #120)
fclose(Resource id #120)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbg775ygd)
Regular Output:
Error Output:
pnmcomp: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmcomp: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmcomp: BSD defined
pnmcomp: RGB_ENV='RGBDEF'
pnmcomp: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmflip)
file_exists(/home/mmcds/public_html/photos/netpbm/jpegtopnm)
Executing: ( "/home/mmcds/public_html/photos/netpbm/jpegtopnm" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgsFXvqk
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgsFXvqk)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgsFXvqk)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgsFXvqk, r, 0)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fgets(Resource id #122, 4096)
feof(Resource id #122)
fclose(Resource id #122)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgsFXvqk)
Regular Output:
Error Output:
jpegtopnm: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
jpegtopnm: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
jpegtopnm: BSD defined
jpegtopnm: RGB_ENV='RGBDEF'
jpegtopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmtojpeg)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmtojpeg" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbglPt7Ir
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbglPt7Ir)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbglPt7Ir)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbglPt7Ir, r, 0)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fgets(Resource id #124, 4096)
feof(Resource id #124)
fclose(Resource id #124)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbglPt7Ir)
Regular Output:
Error Output:
pnmtojpeg: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmtojpeg: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmtojpeg: BSD defined
pnmtojpeg: RGB_ENV='RGBDEF'
pnmtojpeg: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/giftopnm)
Executing: ( "/home/mmcds/public_html/photos/netpbm/giftopnm" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbggNbw7y
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbggNbw7y)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbggNbw7y)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbggNbw7y, r, 0)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fgets(Resource id #126, 4096)
feof(Resource id #126)
fclose(Resource id #126)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbggNbw7y)
Regular Output:
Error Output:
giftopnm: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
giftopnm: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
giftopnm: BSD defined
giftopnm: RGB_ENV='RGBDEF'
giftopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/ppmtogif)
Executing: ( "/home/mmcds/public_html/photos/netpbm/ppmtogif" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbghFIJHG
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbghFIJHG)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbghFIJHG)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbghFIJHG, r, 0)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fgets(Resource id #128, 4096)
feof(Resource id #128)
fclose(Resource id #128)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbghFIJHG)
Regular Output:
Error Output:
ppmtogif: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
ppmtogif: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
ppmtogif: BSD defined
ppmtogif: RGB_ENV='RGBDEF'
ppmtogif: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/ppmquant)
file_exists(/home/mmcds/public_html/photos/netpbm/pngtopnm)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pngtopnm" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbg0VbMqO
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbg0VbMqO)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbg0VbMqO)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbg0VbMqO, r, 0)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fgets(Resource id #130, 4096)
feof(Resource id #130)
fclose(Resource id #130)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbg0VbMqO)
Regular Output:
Error Output:
pngtopnm: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pngtopnm: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pngtopnm: BSD defined
pngtopnm: RGB_ENV='RGBDEF'
pngtopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmtopng)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmtopng" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgrpaBhW
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgrpaBhW)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgrpaBhW)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgrpaBhW, r, 0)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fgets(Resource id #132, 4096)
feof(Resource id #132)
fclose(Resource id #132)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgrpaBhW)
Regular Output:
Error Output:
pnmtopng: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmtopng: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmtopng: BSD defined
pnmtopng: RGB_ENV='RGBDEF'
pnmtopng: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/tifftopnm)
Executing: ( "/home/mmcds/public_html/photos/netpbm/tifftopnm" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgM0rBf4
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgM0rBf4)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgM0rBf4)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgM0rBf4, r, 0)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fgets(Resource id #134, 4096)
feof(Resource id #134)
fclose(Resource id #134)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgM0rBf4)
Regular Output:
Error Output:
tifftopnm: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
tifftopnm: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
tifftopnm: BSD defined
tifftopnm: RGB_ENV='RGBDEF'
tifftopnm: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/pnmtotiff)
Executing: ( "/home/mmcds/public_html/photos/netpbm/pnmtotiff" "--version"
) 2>/home/mmcds/public_html/photos/g2data/tmp/g2dbgHYiTlc
getParameter exec.expectedStatus for core plugin
file_exists(/home/mmcds/public_html/photos/g2data/tmp/g2dbgHYiTlc)
filesize(/home/mmcds/public_html/photos/g2data/tmp/g2dbgHYiTlc)
fopen(/home/mmcds/public_html/photos/g2data/tmp/g2dbgHYiTlc, r, 0)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fgets(Resource id #136, 4096)
feof(Resource id #136)
fclose(Resource id #136)
unlink(/home/mmcds/public_html/photos/g2data/tmp/g2dbgHYiTlc)
Regular Output:
Error Output:
pnmtotiff: Using libnetpbm from Netpbm Version: Netpbm 10.18.12
pnmtotiff: Compiled Sat Apr 10 17:07:46 CDT 2004 by user "andrew"
pnmtotiff: BSD defined
pnmtotiff: RGB_ENV='RGBDEF'
pnmtotiff: RGBENV= 'RGBDEF' (env vbl is unset)
Status: 0 (expected 0)
file_exists(/home/mmcds/public_html/photos/netpbm/bmptopnm)
file_exists(/home/mmcds/public_html/photos/netpbm/bmptoppm)
Loading plugin netpbm
netpbm plugin successfully instantiated
file_exists(/home/mmcds/public_html/photos/netpbm/ppmtobmp)
file_exists(/home/mmcds/public_html/photos/netpbm/ppmquant)
is_dir(/usr/bin/)
file_exists(/usr/bin/jhead)

Gallery version = 2.0 core 1.0.0
PHP version = 5.0.4 apache
Webserver = Apache/1.3.34 (Unix) PHP/5.0.4 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.0.25-standard
Toolkits = Exif, NetPBM, SquareThumb, Thumbnail, Gd
Operating system = Linux p8.ich-4.com 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-11-29 19:07

thanks for the feedback.
i've added a note about the absolute path on http://codex.gallery2.org/index.php/Installing_an_Image_Processing_Library#NetPBM

@netpbm:
after entering the correct path, hit save (not just test). if you saved the path successfully, the link on site admin -> modules should change from "configure" to "activate". finally activate the module.

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Tue, 2005-11-29 20:52

I did save it, but now I found that I needed to go into album edit, check 'recreate thumbnails' and 'save original image'.
I also went into 'admin maintenance' and 'build all thumbnails'.
What is also important is that after you enter the path, it does not save the settings if the jhead directory is not right. I found that, (as I don't know which are the jhead binaries), I delete the default directory for the jhead, and then it will save the settings.
I NOW HAVE THUMBNAILS!!
For non-geeks like myself, and most others looking for an online photo album, the instructions are missing a lot of important details that are difficult to guess, and should be much more explicit.
Ed

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-11-29 20:57

i think the instructions have improved and are quite useful now. :)

but real user documention is still missing. we're still working on organizing docs etc.

 
hansakord

Joined: 2005-11-26
Posts: 11
Posted: Tue, 2005-11-29 21:33

Make no mistake, I appreciate all the help I got from you guys, without it I probably would never have got it done, it's just that I'm probably not the only lost soul out there.
Maybe I'll get some procedure pages written and submit them for your perusal.
Thanks again
Ed