Songdog
05-12-2004, 05:24 AM
Steven's been looking into this with me and he suggested that I ask here in the hopes that someone with more Gallery experience at Insiderhosting.com might be able to help out (Mort? Are you there?).
I've gotten earlier versions of Gallery working fine on InsiderHosting and at previous hosting companies, but I've been having a devil of a time with 1.4.2 and newer versions. I'm currently working with Gallery v1.4.3-pl1. My server (Lexus) appears to be running PHP v4.3.5 and Apache/1.3.29 on Linux. NetPBM and ImageMagick were were both already installed and Steven confirms that they're working. NetPBM's pnmtojpeg reports that it's using libpbm from NetPBM 9.24 and ImageMagick's convert reports that ImageMagick is version 5.5.7. The Gallery Configuration Wizard finds all binaries for both NetPBM and ImageMagick, and Gallery's Check NetPBM and Check ImageMagick diagnostics tools both report success.
BUT, when I try to upload a new image into a clean installation (via either remote or the simple HTML form) I get the dreaded Error: Unable to make thumbnail (0)! This happens using either NetPBM or ImageMagick.
With NetPBM I get:
Processing status...
- Adding test.jpg
Resizing/compressing original image
No resizing required
File /home/my_home/public_html/gallery/albums/album01/test.jpg type 2.
Executing:
'/usr/bin/jpegtopnm' '/home/my_home/public_html/gallery/albums/album01/test.jpg' |
'/usr/bin/pnmscale' -xysize 150 150 |
'/usr/bin/pnmtojpeg' --quality=90 >
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg'
Warning: exec(): Bad shell command [('/usr/bin/jpegtopnm'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' |
'/usr/bin/pnmscale' -xysize 150 150 |
'/usr/bin/pnmtojpeg' --quality=90 >
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg') 2>/tmp/dbgbr6HzT] in
/home/my_home/public_html/gallery/platform/fs_unix.php on line 34
Results:
none
Error messages::
Status: -1 (expected 0)
Error: Unable to make thumbnail (0)!
and with ImageMagick I get:
Processing status...
- Adding test.jpg
Resizing/compressing original image
No resizing required
File /home/my_home/public_html/gallery/albums/album01/test.jpg type 2.
Executing:
'/usr/bin/convert' -quality 90 -size 150x150 +profile '*'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' -geometry 150x150
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg'
Warning: exec(): Bad shell command [('/usr/bin/convert' -quality 90 -size 150x150 +profile '*'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' -geometry 150x150
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg')
2>/tmp/dbgRRpwCN] in /home/my_home/public_html/gallery/platform/fs_unix.php on line 34
Results:
none
Error messages::
Status: -1 (expected 0)
Steven and company are sure that the binaries are installed correctly and that Gallery is causing this problem. Can anyone offer any insight here?
-Songdog
I've gotten earlier versions of Gallery working fine on InsiderHosting and at previous hosting companies, but I've been having a devil of a time with 1.4.2 and newer versions. I'm currently working with Gallery v1.4.3-pl1. My server (Lexus) appears to be running PHP v4.3.5 and Apache/1.3.29 on Linux. NetPBM and ImageMagick were were both already installed and Steven confirms that they're working. NetPBM's pnmtojpeg reports that it's using libpbm from NetPBM 9.24 and ImageMagick's convert reports that ImageMagick is version 5.5.7. The Gallery Configuration Wizard finds all binaries for both NetPBM and ImageMagick, and Gallery's Check NetPBM and Check ImageMagick diagnostics tools both report success.
BUT, when I try to upload a new image into a clean installation (via either remote or the simple HTML form) I get the dreaded Error: Unable to make thumbnail (0)! This happens using either NetPBM or ImageMagick.
With NetPBM I get:
Processing status...
- Adding test.jpg
Resizing/compressing original image
No resizing required
File /home/my_home/public_html/gallery/albums/album01/test.jpg type 2.
Executing:
'/usr/bin/jpegtopnm' '/home/my_home/public_html/gallery/albums/album01/test.jpg' |
'/usr/bin/pnmscale' -xysize 150 150 |
'/usr/bin/pnmtojpeg' --quality=90 >
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg'
Warning: exec(): Bad shell command [('/usr/bin/jpegtopnm'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' |
'/usr/bin/pnmscale' -xysize 150 150 |
'/usr/bin/pnmtojpeg' --quality=90 >
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg') 2>/tmp/dbgbr6HzT] in
/home/my_home/public_html/gallery/platform/fs_unix.php on line 34
Results:
none
Error messages::
Status: -1 (expected 0)
Error: Unable to make thumbnail (0)!
and with ImageMagick I get:
Processing status...
- Adding test.jpg
Resizing/compressing original image
No resizing required
File /home/my_home/public_html/gallery/albums/album01/test.jpg type 2.
Executing:
'/usr/bin/convert' -quality 90 -size 150x150 +profile '*'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' -geometry 150x150
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg'
Warning: exec(): Bad shell command [('/usr/bin/convert' -quality 90 -size 150x150 +profile '*'
'/home/my_home/public_html/gallery/albums/album01/test.jpg' -geometry 150x150
'/home/my_home/public_html/gallery/albums/album01/test.thumb.jpg')
2>/tmp/dbgRRpwCN] in /home/my_home/public_html/gallery/platform/fs_unix.php on line 34
Results:
none
Error messages::
Status: -1 (expected 0)
Steven and company are sure that the binaries are installed correctly and that Gallery is causing this problem. Can anyone offer any insight here?
-Songdog