We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37286
    • 160 Posts
    So I am using xampp 1.7.7 on my Win7 laptop for development. I installed ImageMagick 6.6.4 based on information gathered here: http://bytehash.appspot.com/2012/02/Installing-imagick-for-php-in-windows-under-xampp. I am getting an error whenever ImageMagickCommandlineBase() is called. Has anyone else run into a similar problem?

    [2013-02-12 07:12:29] (ERROR @ /dev/assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail: C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg - Debug: Array
    (
        [0] => phpThumb() v1.7.9-200712090829 in file "phpthumb.class.php" on line 216
        [1] => setCacheDirectory() starting with config_cache_directory = "C:/web/xampp/htdocs/dev/core/cache/phpthumb/" in file "phpthumb.class.php" on line 919
        [2] => setting config_cache_directory to realpath(C:\web\xampp\htdocs\dev\core\cache\phpthumb) = "C:\web\xampp\htdocs\dev\core\cache\phpthumb" in file "phpthumb.class.php" on line 947
        [3] => setting $this->config_temp_directory = $this->config_cache_directory (C:\web\xampp\htdocs\dev\core\cache\phpthumb) in file "phpthumb.class.php" on line 963
        [4] => ResolveFilenameToAbsolute() prepending $this->config_document_root (C:/web/xampp/htdocs) to $filename (/dev/assets/gallery/1/2.jpg) resulting in ($AbsoluteFilename = "C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg") in file "phpthumb.class.php" on line 1025
        [5] => setSourceFilename(C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg) set $this->sourceFilename to "C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg" in file "phpthumb.class.php" on line 243
        [6] => setCacheDirectory() starting with config_cache_directory = "C:/web/xampp/htdocs/dev/assets/components/gallery/cache/" in file "phpthumb.class.php" on line 919
        [7] => setting config_cache_directory to realpath(C:\web\xampp\htdocs\dev\assets\components\gallery\cache) = "C:\web\xampp\htdocs\dev\assets\components\gallery\cache" in file "phpthumb.class.php" on line 947
        [8] => setSourceFilename(C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg) set $this->sourceFilename to "C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg" in file "phpthumb.class.php" on line 243
        [9] => skipping CleanUpCacheDirectory() set to purge (30.0 days; 100.00MB; 10,000 files) in file "phpthumb.class.php" on line 652
        [10] =>   file_exists() = 0 in file "phpthumb.class.php" on line 1101
        [11] => is_executable() = 0 in file "phpthumb.class.php" on line 1102
        [12] => ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned () in file "phpthumb.class.php" on line 1131
        [13] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 884
        [14] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 895
        [15] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 902
        [16] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 912
        [17] => $this->sourceFilename set to "C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg" in file "phpthumb.class.php" on line 813
        [18] => setCacheDirectory() starting with config_cache_directory = "C:\web\xampp\htdocs\dev\assets\components\gallery\cache" in file "phpthumb.class.php" on line 919
        [19] => setting config_cache_directory to realpath(C:\web\xampp\htdocs\dev\assets\components\gallery\cache) = "C:\web\xampp\htdocs\dev\assets\components\gallery\cache" in file "phpthumb.class.php" on line 947
        [20] => SetCacheFilename() _src set from md5($this->sourceFilename) "C:/web/xampp/htdocs/dev/assets/gallery/1/2.jpg" = "057d8e831740403a6b129d71940fcc31" in file "phpthumb.class.php" on line 3077
        [21] => SetCacheFilename() _par set from md5(_farC_zc1_h100_w100_dpi150_q75) in file "phpthumb.class.php" on line 3110
        [22] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2897
        [23] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232
        [24] => ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1865
        [25] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2927
        [26] => SetOrientationDependantWidthHeight() starting with "1936"x"2592" in file "phpthumb.class.php" on line 2876
        [27] => SetOrientationDependantWidthHeight() setting w="100", h="100" in file "phpthumb.class.php" on line 2892
        [28] => EXIF thumbnail extraction: (size=14038; type="2"; 240x320) in file "phpthumb.class.php" on line 2979
        [29] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3229
        [30] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232
        [31] => ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 1865
        [32] => Not using EXIF thumbnail data because $this->config_use_exif_thumbnail_for_speed is FALSE in file "phpthumb.class.php" on line 3290
        [33] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3330
        [34] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3332
        [35] => phpThumb() v1.7.9-200712090829
    
    All attempts to create GD image source failed.
    ImageMagick is not installed (it is highly recommended that you install it).
    Source image is too large (1936x2592 = 5.0Mpx, max=-0.2Mpx) for GD creation (either install ImageMagick or increase PHP memory_limit to at least 36M). in file "phpthumb.class.php" on line 3647
        [36] => phpThumb() v1.7.9-200712090829
    
    Image is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting in file "phpthumb.class.php" on line 3647
        [37] => SourceImageToGD() failed in file "phpthumb.class.php" on line 323
    )
    
      • 25803 ☆ A M B ☆
      • 721 Posts
      I'm getting this on a production server. Makes for a rather large error file quickly. Would love to know how to stop it.