Failed: $AvailableImageOutputFormats = array(text;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 519 $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 529 $this->thumbnailFormat staying as "jpeg" because "" ($this->f) is not in $AvailableImageOutputFormats in file "phpthumb.class.php" on line 539 $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 546 $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 587 SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 1815 exif_thumbnail() does not exist, cannot extract EXIF thumbnail in file "phpthumb.class.php" on line 1735 EXIF thumbnail extraction: (size=0; type=; x) in file "phpthumb.class.php" on line 1739 starting SourceImageToGD() in file "phpthumb.class.php" on line 1886 Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 1889 Calling ImageCreateFromJPEG(/home/.cappy/darkus/photo.gothix.com/uploads/952250785.jpg) in file "phpthumb.class.php" on line 1960 ImageCreateFromJPEG() was attempted but FAILED in file "phpthumb.class.php" on line 2001 Populating $this->rawImageData and attempting ImageCreateFromStringReplacement() in file "phpthumb.class.php" on line 2004 $this->gdimg_source is still empty in file "phpthumb.class.php" on line 2027 using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 702 ImageMagick was called as (convert -geometry 100x100 "/home/.cappy/darkus/photo.gothix.com/uploads/952250785.jpg" png:/home/.cappy/darkus/photo.gothix.com/admin/pThumbDOLj5c 2>&1) but failed with message (convert: Corrupt JPEG data: premature end of data segment.) in file "phpthumb.class.php" on line 765 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 782 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2036 phpThumb() v1.6.0-200507180958 All attempts to create GD image source failed (source image probably corrupt), cannot generate thumbnail phpThumb() v1.6.0-200507180958 Unknown image type identified by "����" ( 0xff 0xd8 0xff 0xe0) in SourceImageToGD()
Imagemagick identified the image ok. Testing a mogrify.
mogrify -profile "*" 952250785.jpg mogrify: Corrupt JPEG data: premature end of data segment. mogrify: Corrupt JPEG data: premature end of data segment.
Then running plogger import, and the image was fine. Maybe adding a step could help attempt to repair a corrupted jpeg rather than bomb the entire process.
I had gotten the same error but I knew what I had done wrong. I had actually stopped the upload of images; thus, at least one image must of gotten corrupted. What I did, I just deleted all those images and then re-upped them! ;) Hope it works! ;)