We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12262
    • 40 Posts
    Hi,

    after upgrading to the latest release phpthumb does not work anymore. Error Message:

    [2014-01-24 23:39:06] (ERROR @ /index.php) [phpThumbOf] Could not generate thumbnail: assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG - Debug: Array
    (
    [0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
    [1] => setCacheDirectory() starting with config_cache_directory = "/is/htdocs/wp11081739_ITWWAM23JR/modx/core/cache/phpthumb/" in file "phpthumb.class.php" on line 958
    [2] => setting config_cache_directory to realpath(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/cache/phpthumb) = "/is/htdocs/wp11081739_ITWWAM23JR/modx/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
    [3] => setCacheDirectory() starting with config_cache_directory = "/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache/" in file "phpthumb.class.php" on line 958
    [4] => setting config_cache_directory to realpath(/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache) = "/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 986
    [5] => setSourceFilename(assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) set $this->sourceFilename to "assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG" in file "phpthumb.class.php" on line 262
    [6] => CleanUpCacheDirectory() set to purge (30.0 days; 100.00 MB; 10,000 files) in file "phpthumb.class.php" on line 673
    [7] => file_exists() = 0 in file "phpthumb.class.php" on line 1165
    [8] => file_exists_ignoreopenbasedir() = 0 in file "phpthumb.class.php" on line 1166
    [9] => is_file() = 0 in file "phpthumb.class.php" on line 1167
    [10] => is_executable() = 0 in file "phpthumb.class.php" on line 1168
    [11] => using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1188
    [12] => ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1215
    [13] => ImageMagick did not return recognized version string (whoami: cannot find name for user ID 11081739) in file "phpthumb.class.php" on line 1221
    [14] => ImageMagick convert --version says "" in file "phpthumb.class.php" on line 1223
    [15] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
    [16] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
    [17] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
    [18] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 951
    [19] => $this->sourceFilename set to "/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG" in file "phpthumb.class.php" on line 852
    [20] => phpThumb() v1.7.11-201108081537
    http://phpthumb.sourceforge.net

    Error messages disabled in file "phpthumb.class.php" on line 3845
    [21] => setCacheDirectory() starting with config_cache_directory = "/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 958
    [22] => setting config_cache_directory to realpath(/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache) = "/is/htdocs/wp11081739_ITWWAM23JR/modx/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 986
    [23] => SetCacheFilename() _src set from md5($this->sourceFilename) "/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG" = "e521e35e85e62bb0a05275f4bc264b77" in file "phpthumb.class.php" on line 3238
    [24] => SetCacheFilename() _par set from md5(_farC_zc1_h120_w120_dpi150_q75) in file "phpthumb.class.php" on line 3271
    [25] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
    [26] => GetImageSize(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) says image is x in file "phpthumb.class.php" on line 3043
    [27] => GetImageSize("/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG") failed in file "phpthumb.class.php" on line 3076
    [28] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
    [29] => phpThumb_tempnam() returning "/is/htdocs/wp11081739_ITWWAM23JR/modx/pThumbJFjqTs" in file "phpthumb.class.php" on line 4070
    [30] => ImageMagickSwitchAvailable(thumbnail) = 0 in file "phpthumb.class.php" on line 1255
    [31] => IMuseExplicitImageOutputDimensions = 0 in file "phpthumb.class.php" on line 1390
    [32] => ImageMagickSwitchAvailable(density) = 0 in file "phpthumb.class.php" on line 1255
    [33] => GetImageSize(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) FAILED with error "" in file "phpthumb.class.php" on line 1409
    [34] => GetImageSize(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) failed in file "phpthumb.class.php" on line 1556
    [35] => Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1939
    [36] => ImageMagickSwitchAvailable(quality;interlace) = 0 in file "phpthumb.class.php" on line 1252
    [37] => ImageMagick called as (convert -resize '120x120' '/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG[0]' jpeg:'/is/htdocs/wp11081739_ITWWAM23JR/modx/pThumbJFjqTs' 2>&1) in file "phpthumb.class.php" on line 1958
    [38] => ImageMagick failed with message (whoami: cannot find name for user ID 11081739) in file "phpthumb.class.php" on line 1963
    [39] => deleting "/is/htdocs/wp11081739_ITWWAM23JR/modx/pThumbJFjqTs" in file "phpthumb.class.php" on line 1991
    [40] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3083
    [41] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3012
    [42] => SetOrientationDependantWidthHeight() setting w="120", h="120" in file "phpthumb.class.php" on line 3028
    [43] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3140
    [44] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3398
    [45] => starting ImageCreateFromFilename(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) in file "phpthumb.class.php" on line 3313
    [46] => empty $filename or GetImageSize(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) failed in file "phpthumb.class.php" on line 3362
    [47] => Populating $rawimagedata in file "phpthumb.class.php" on line 3370
    [48] => cannot fopen(/is/htdocs/wp11081739_ITWWAM23JR/modx/core/model/phpthumb/assets/hp/images/201314Schulleben/201312Weihnachten/20131220_Weihnachtsdeko01.JPG) in file "phpthumb.class.php" on line 3381
    [49] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3469
    [50] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3521
    [51] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3523
    [52] => phpThumb() v1.7.11-201108081537
    http://phpthumb.sourceforge.net

    Error messages disabled in file "phpthumb.class.php" on line 3845
    [53] => SourceImageToGD() failed in file "phpthumb.class.php" on line 342
    )



    Any suggestions appreciated!

    Thomas

    This question has been answered by hochmohr. See the first response.

    [ed. note: hochmohr last edited this post 12 years, 7 months ago.]
      • 12262
      • 40 Posts
      Remark...

      ... I copied the content of the /core/model/phpthumb of release 2.2.10 to the website and everything's working fine again...


      Thomas
        • 14677
        • 54 Posts
        Just confirming there is a problem with the phpthumb folder (not sure on what) but replacing with 2.2.10 does fix the issue for now. Thanks.
        • discuss.answer
          • 12262
          • 40 Posts
          Just to close this issue... upgraded to 2.2.12 and everything works fine again.

          Thomas