splittingred / phpThumbOf

A secure phpthumb output filter for MODx Revolution
http://rtfm.modx.com/display/addon/phpthumbof/
23 stars 17 forks source link

does not work in my modxrevolution install. #2

Closed yann-yinn closed 13 years ago

yann-yinn commented 13 years ago

Debug array. Any idea ? thanks

[2010-11-14 13:15:46](ERROR @ /modx-revo2/index.php) [phpThumbOf] Could not generate thumbnail: assets/templates/modxblog/images-articles/saint-germain-eglise.jpg - Debug: Array ( [0] => phpThumb() v1.7.9-200712090829 in file "phpthumb.class.php" on line 216 [1] => setCacheDirectory() starting with config_cache_directory = "/home/yann/workspace/modx-revo2/core/cache/phpthumb/" in file "phpthumb.class.php" on line 919 [2] => setting config_cache_directory to realpath(/home/yann/workspace/modx-revo2/core/cache/phpthumb) = "/home/yann/workspace/modx-revo2/core/cache/phpthumb" in file "phpthumb.class.php" on line 947 [3] => setCacheDirectory() starting with config_cache_directory = "/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache/" in file "phpthumb.class.php" on line 919 [4] => setting config_cache_directory to realpath(/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache) = "/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 947 [5] => setSourceFilename(assets/templates/modxblog/images-articles/saint-germain-eglise.jpg) set $this->sourceFilename to "assets/templates/modxblog/images-articles/saint-germain-eglise.jpg" in file "phpthumb.class.php" on line 243 [6] => skipping CleanUpCacheDirectory() set to purge (30.0 days; 100.00MB; 10,000 files) in file "phpthumb.class.php" on line 652 [7] => file_exists() = 0 in file "phpthumb.class.php" on line 1101 [8] => is_executable() = 0 in file "phpthumb.class.php" on line 1102 [9] => using ImageMagick path from which convert (/usr/bin/convert) in file "phpthumb.class.php" on line 1121 [10] => ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1148 [11] => ImageMagick did not return recognized version string (Version: ImageMagick 6.5.7-8 2009-11-26 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC Features: OpenMP) in file "phpthumb.class.php" on line 1154 [12] => ImageMagick convert --version says "Unknown" in file "phpthumb.class.php" on line 1157 [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 "png" in file "phpthumb.class.php" on line 902 [16] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 912 [17] => !$this->config_allow_src_above_docroot therefore setting "/home/yann/workspace/modx-revo2/assets/templates/modxblog/images-articles/saint-germain-eglise.jpg" (outside "/var/www") to null in file "phpthumb.class.php" on line 1066 [18] => $this->sourceFilename set to "" in file "phpthumb.class.php" on line 813 [19] => phpThumb() v1.7.9-200712090829

"" does not exist in file "phpthumb.class.php" on line 3652 [20] => setCacheDirectory() starting with config_cache_directory = "/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 919 [21] => setting config_cache_directory to realpath(/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache) = "/home/yann/workspace/modx-revo2/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 947 [22] => !$this->config_allow_src_above_docroot therefore setting "/home/yann/workspace/modx-revo2/assets/templates/modxblog/images-articles/saint-germain-eglise.jpg" (outside "/var/www") to null in file "phpthumb.class.php" on line 1066 [23] => SetCacheFilename() _src set from md5($this->sourceFilename) "" = "d41d8cd98f00b204e9800998ecf8427e" in file "phpthumb.class.php" on line 3074 [24] => SetCacheFilename() _par set from md5(_farC_h120_w120_dpi150) in file "phpthumb.class.php" on line 3107 [25] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2894 [26] => GetImageSize("") failed in file "phpthumb.class.php" on line 2917 [27] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232 [28] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1279 [29] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2924 [30] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2873 [31] => SetOrientationDependantWidthHeight() setting w="120", h="120" in file "phpthumb.class.php" on line 2889 [32] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2976 [33] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3234 [34] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232 [35] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1279 [36] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3283 [37] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3335 [38] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3337 [39] => phpThumb() v1.7.9-200712090829

Unknown image type identified by "" () in SourceImageToGD()[3449] in file "phpthumb.class.php" on line 3652 [40] => SourceImageToGD() failed in file "phpthumb.class.php" on line 323 )