If my host has ImageMagick install on all their servers do I need to get the path to the folder they have it installed on or is their a default path I put in the setup?
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 13451
Gallery will try to autodetect Imagemagick, if it does it will fill out the path for you. If not, you will have to do it manually.
Posts: 17
When I go to the first page of setup/index.php and having not uploaded netpbm or imagemagick, it says for netpbm that 12 of 13 binaries detected and for imagemagick 2 of 3 binaries detected. I know my host has ImageMagick...would that be what its detecting? If so, why doesn't it fill in the path for me on the next page of setup?
Posts: 13451
MFATGG23, it should... Url?
Posts: 17
Url for setup...www.carterchaplin.com/gallery/setup/index.php
The host is blacksun.ca...they don't seem to be getting back to me with a path.
Posts: 13451
Thats strange, and probably a false positive by the cofnig wizard. Upload the Linux NetPBM binaries offered on the downloads page into a folder in your webroot, chmod the dir and files 755 and point the config to that folder (if you are unsure what the path to that is, use FAQ Gallery:c.32 to check) - Probably the best way to get it sorted.
Posts: 17
Maybe I will try uploading Netpbm binaries again. Blacksun did say that have to disable safe mode for the site for what I was doing to work. If they hadn't yet may that be why it isn't detedting it properly?
Posts: 13451
MFATGG23, perhaps, but I'm not sure, Safe_mode neads to be off for Gallery to work either way.
Posts: 17
okay...I tried insalling netpbm and this time I got:
Checking: '/home/sites/site210/web/netpbm/giftopnm' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/jpegtopnm' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pngtopnm' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pnmcut' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pnmfile' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pnmflip' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pnmrotate' OK! Version: netpbm
Checking: '/home/sites/site210/web/netpbm/pnmscale' OK! Version: netpbm
Checking: '/home/sites/site210/web/netpbm/pnmtopng' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/ppmquant' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/ppmtogif' Expected status: 0, but actually received status 127.
Checking: '/home/sites/site210/web/netpbm/pnmtojpeg' Expected status: 0, but actually received status 127.
Why would 2 of them work and the others not?
I tried putting it in debug mode but I am getting no error report when I try to upload...getting the common thumbnail problem.
Are the Albums and temp directories simply a matter of creating the folder and setting permission?
Posts: 13451
MFATGG23, did you chmod all the files inside the dir 755?
Posts: 17
all the files including the folder are chmodded 755. I've even changed them to 644 and back to 755.
Posts: 17
- Adding 2.jpg
Resizing/compressing original image
No resizing required
File /home/sites/site210/web/albumsdir/Test/2_G.jpg type 2.
Executing:
'/home/sites/site210/web/netpbm/jpegtopnm' '/home/sites/site210/web/albumsdir/Test/2_G.jpg' | '/home/sites/site210/web/netpbm/pnmscale' -xysize 150 150 | '/home/sites/site210/web/netpbm/pnmtojpeg' --quality=90 > '/home/sites/site210/web/albumsdir/Test/2_G.thumb.jpg'
Results:
none
Error messages::
FATAL: kernel too old
pnmscale: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
FATAL: kernel too old
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ No email sent as no valid email addresses were found
This is something I got
Posts: 13451
"FATAL: kernel too old" - Thats the new issue right there. Did you use the NetPBM 1.4 version? Your host seems to be running an old kernel, try using the NetPBM 1.1 version insted (you won't be able to use watermarking, but thats the only tradeoff).
Posts: 17
SUCCESS! Thanks.