The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://desertwolvesmcc.co.za/gallery/
Gallery version: v1.5.9
Apache version:
PHP version (don't just say PHP 4, please): PHP v4.4.4-8+etch6
Graphics Toolkit: netpbm 1.4 pl2 linux
Operating system: linux
Web browser/version (if applicable): firefox 3.0.3
this what i get when the thumbnail doesn't load:
---------------
save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Processing 1 element.
albumItem.php::506 -> Entering function: 'processnewimage'
albumItem.php::508 -> Processing file: /tmp/phptFdg04
albumItem.php::666 -> Start processing single file (image/movie not archive).
albumItem.php::669 -> Extension is accepted.
albumItem.php::671 -> Filename processing.
albumItem.php::720 -> No caption given, generating it.
albumItem.php::479 -> Generated caption. Type: filename
Adding typoR1.jpg
Album.php::1313 -> Doing the naming of the physical file.
Album.php::1351 -> Image preprocessing
Album.php::1356 -> Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg.
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
util.php::246 -> Dimensions: x: 800 y: 526
imageManipulation.php::797 -> Compressing image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::182 -> Executing: '/usr/www/users/desertm/gallery/netpbm/jpegtopnm' '/usr/www/users/desertm/gallery/albums/events/aaa.jpg' | '/usr/www/users/desertm/gallery/netpbm/pnmscale' -xysize 640 640 | '/usr/www/users/desertm/gallery/netpbm/pnmtojpeg' --quality=90 > '/usr/www/users/desertm/gallery/albums/events/aaa.jpg.tmp'
Results:
none
Debug messages:
jpegtopnm: WRITING PPM FILE
pnmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
jpegtopnm: Error writing single byte sample to file
Status: 1 (expected 0)
imageManipulation.php::676 -> File /usr/www/users/desertm/gallery/albums/events/aaa.jpg type 2.
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
util.php::246 -> Dimensions: x: 800 y: 526
AlbumItem.php::697 -> Generating thumbnail.
AlbumItem.php::700 -> Saved dimensions: width:800 ; height:526
AlbumItem.php::778 -> Generating normal thumbs.
imageManipulation.php::37 -> Resizing Image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg.
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
util.php::246 -> Dimensions: x: 800 y: 526
imageManipulation.php::797 -> Compressing image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::182 -> Executing: '/usr/www/users/desertm/gallery/netpbm/jpegtopnm' '/usr/www/users/desertm/gallery/albums/events/aaa.jpg' | '/usr/www/users/desertm/gallery/netpbm/pnmscale' -xysize 150 150 | '/usr/www/users/desertm/gallery/netpbm/pnmtojpeg' --quality=50 > '/usr/www/users/desertm/gallery/albums/events/aaa.thumb.jpg'
Results:
none
Debug messages:
jpegtopnm: WRITING PPM FILE
pnmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
jpegtopnm: Error writing single byte sample to file
Status: 1 (expected 0)
util.php::620 -> Got no capture date. Using file modification time.
util.php::631 -> Item Capture Date: Mon Oct 13 19:13:30 2008
- Creating resized intermediate Version of aaa
imageManipulation.php::37 -> Resizing Image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg.
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
util.php::246 -> Dimensions: x: 800 y: 526
imageManipulation.php::797 -> Compressing image: /usr/www/users/desertm/gallery/albums/events/aaa.jpg
filesystem.php::109 -> extension of file aaa.jpg is jpg
util.php::182 -> Executing: '/usr/www/users/desertm/gallery/netpbm/jpegtopnm' '/usr/www/users/desertm/gallery/albums/events/aaa.jpg' | '/usr/www/users/desertm/gallery/netpbm/pnmscale' -xysize 640 640 | '/usr/www/users/desertm/gallery/netpbm/pnmtojpeg' --quality=90 > '/usr/www/users/desertm/gallery/albums/events/aaa.sized.jpg'
Results:
none
Debug messages:
jpegtopnm: WRITING PPM FILE
pnmtojpeg: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty.
jpegtopnm: Error writing single byte sample to file
Status: 1 (expected 0)
Album.php::1444 -> Check if image needs to be rotated
------------
this is what i get when i upload a image where the thumbnail shows:
save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Processing 1 element.
albumItem.php::506 -> Entering function: 'processnewimage'
albumItem.php::508 -> Processing file: /tmp/phpYfutt8
albumItem.php::666 -> Start processing single file (image/movie not archive).
albumItem.php::669 -> Extension is accepted.
albumItem.php::671 -> Filename processing.
albumItem.php::720 -> No caption given, generating it.
albumItem.php::479 -> Generated caption. Type: filename
Adding sponsors.jpg
Album.php::1313 -> Doing the naming of the physical file.
Album.php::1351 -> Image preprocessing
Album.php::1356 -> Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /usr/www/users/desertm/gallery/albums/events/aab.jpg.
filesystem.php::109 -> extension of file aab.jpg is jpg
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aab.jpg
util.php::246 -> Dimensions: x: 103 y: 75
imageManipulation.php::73 -> No resizing required.
imageManipulation.php::676 -> File /usr/www/users/desertm/gallery/albums/events/aab.jpg type 2.
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aab.jpg
util.php::246 -> Dimensions: x: 103 y: 75
AlbumItem.php::697 -> Generating thumbnail.
AlbumItem.php::700 -> Saved dimensions: width:103 ; height:75
AlbumItem.php::778 -> Generating normal thumbs.
imageManipulation.php::37 -> Resizing Image: /usr/www/users/desertm/gallery/albums/events/aab.jpg.
filesystem.php::109 -> extension of file aab.jpg is jpg
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aab.jpg
util.php::246 -> Dimensions: x: 103 y: 75
imageManipulation.php::73 -> No resizing required.
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aab.thumb.jpg
util.php::246 -> Dimensions: x: 103 y: 75
util.php::236 -> Getting Dimension of file: /usr/www/users/desertm/gallery/albums/events/aab.thumb.jpg
util.php::246 -> Dimensions: x: 103 y: 75
util.php::620 -> Got no capture date. Using file modification time.
util.php::631 -> Item Capture Date: Mon Oct 13 19:15:58 2008
Album.php::1444 -> Check if image needs to be rotated
----------------
any help?
Posts: 6818
In step 1 of the config is a link to the diagnostic page. And there is a link to the netpbm check.
Are all checks green?
Jens
--
Gallery Developer