Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorrozeykex
    • CommentTimeOct 2nd 2009
     
    Hi, i'm getting a really odd error when uploading some files to the gallery. I'm using it for a guy i know to promote his cabins and all the images he has 1800 x 1200 and above get the error below :/

    if i re-save them in photoshop they work fine. does anyone know how i can fix this, or atleast add some error handling? I've seen acouple of other similar posts referrring to switching off image Magick, i've tried this and it didn't help.

    Failed: setSourceFilename(/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg) set $this->sourceFilename to "/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg" in file "phpthumb.class.php" on line 216 $AvailableImageOutputFormats = array(text;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 636 $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 646 $this->thumbnailQuality set to "80" in file "phpthumb.class.php" on line 663 $this->sourceFilename set to "/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg" in file "phpthumb.class.php" on line 587 $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 704 SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 1986 using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 825 source dimensions set to 130x130 in file "phpthumb.class.php" on line 875 source dimensions reset to 130x130 in file "phpthumb.class.php" on line 880 source dimensions reset by "zc" to 195x195 in file "phpthumb.class.php" on line 886 ImageMagick called as (convert -coalesce -geometry 195x195 "/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg" png:/tmp/pThumbCCWrlf 2>&1) in file "phpthumb.class.php" on line 899 ImageMagick failed with message (convert: Corrupt JPEG data: 69 extraneous bytes before marker 0xd9 `/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg'. ) in file "phpthumb.class.php" on line 904 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 923 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 1876 EXIF thumbnail extraction: (size=3364; type=2; 160x120) in file "phpthumb.class.php" on line 1925 starting SourceImageToGD() in file "phpthumb.class.php" on line 2073 Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 2076 Calling ImageCreateFromJPEG(/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg) in file "phpthumb.class.php" on line 2138 ImageCreateFromJPEG() was attempted but FAILED in file "phpthumb.class.php" on line 2179 Populating $this->rawImageData and attempting ImageCreateFromStringReplacement() in file "phpthumb.class.php" on line 2182 $this->gdimg_source is still empty in file "phpthumb.class.php" on line 2205 source dimensions set to 130x130 in file "phpthumb.class.php" on line 875 source dimensions reset to 130x130 in file "phpthumb.class.php" on line 880 source dimensions reset by "zc" to 195x195 in file "phpthumb.class.php" on line 886 ImageMagick called as (convert -coalesce -geometry 195x195 "/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg" png:/tmp/pThumb6bDCt2 2>&1) in file "phpthumb.class.php" on line 899 ImageMagick failed with message (convert: Corrupt JPEG data: 69 extraneous bytes before marker 0xd9 `/homepages/16/d281711859/htdocs/conceptcabins/cheap-cabins-gallery/images/cheap_cabins/test_3/3945.jpg'. ) in file "phpthumb.class.php" on line 904 ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 923 ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2214 phpThumb() v1.6.2-200511240855 All attempts to create GD image source failed (source image probably corrupt), cannot generate thumbnail phpThumb() v1.6.2-200511240855 Unknown image type identified by "????" ( 0xff 0xd8 0xff 0xe1) in SourceImageToGD()

    here's the 2 files that are causing all the trauma!
    original: 3945.jpg - causes error, which adds to the album too
    re-saved: 3945Copy.jpg - uploads fine


    would really appreciate any ideas on this one, i'm a bit stumped.
    •  
      CommentAuthorsidtheduck
    • CommentTimeOct 5th 2009
     
    I'm not sure what's going on, rozeykex.

    I just uploaded both of those files to my installation of Plogger (which is the latest code from SVN, so newer than the beta 3 download) and had no issues with either one. I'm not sure if this is a permissions issue, a corrupt installation of GD or Imagemagick on your server, or an outdated phpThumb library. You may want to upgrade to the latest SVN code and give it a try to see if that solves the issue.
    • CommentAuthorrozeykex
    • CommentTimeOct 5th 2009
     
    thanks for having a look sid, i'll give that a go. i am using the beta 3.

    at the moment i have just tried to find out how he is saving them to pin point the problem. he's re-saved them the exact same way off his camera and now they are all uploading with no problems. odd, but good :) think i will try the upgrade anyway, in-case he has the problem again.