Проблема с phpthumbof
Переехали на новый хостинг от того же провайдера и стал глючить сниппет phpthumbof.
Файл в кэше ../core/cache/phpthumbof создаётся.
По пути ../assets/components/phpthumbof/cache не создаётся, если и должен создаваться.
В итоге, выводится само значение TV, а не результат работы сниппета.
Лог конкретной ошибки:
Файл в кэше ../core/cache/phpthumbof создаётся.
По пути ../assets/components/phpthumbof/cache не создаётся, если и должен создаваться.
В итоге, выводится само значение TV, а не результат работы сниппета.
Лог конкретной ошибки:
[2014-04-03 12:02:41] (ERROR @ /home/---/public_html/---/core/model/phpthumb/phpthumb.class.php : 1403) PHP warning: getimagesize(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
[2014-04-03 12:02:41] (ERROR @ /index.php) [phpThumbOf] Could not generate thumbnail: assets/IMAGES/1496037.jpg - Debug: Array
(
[0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
[1] => setCacheDirectory() starting with config_cache_directory = "/home/---/public_html/---/core/cache/phpthumb/" in file "phpthumb.class.php" on line 958
[2] => setting config_cache_directory to realpath(/home/---/public_html/---/core/cache/phpthumb) = "/home/---/public_html/---/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
[3] => setCacheDirectory() starting with config_cache_directory = "/home/---/public_html/---/assets/components/phpthumbof/cache/" in file "phpthumb.class.php" on line 958
[4] => setting config_cache_directory to realpath(/home/---/public_html/---/assets/components/phpthumbof/cache) = "/home/---/public_html/---/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 986
[5] => setSourceFilename(assets/IMAGES/1496037.jpg) set $this->sourceFilename to "assets/IMAGES/1496037.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] => CleanUpCacheDirectory() skipped because "/home/---/public_html/---/assets/components/phpthumbof/cache/phpThumbCacheStats.txt" is recently modified in file "phpthumb.class.php" on line 683
[8] => file_exists() = 0 in file "phpthumb.class.php" on line 1165
[9] => file_exists_ignoreopenbasedir() = 0 in file "phpthumb.class.php" on line 1166
[10] => is_file() = 0 in file "phpthumb.class.php" on line 1167
[11] => is_executable() = 0 in file "phpthumb.class.php" on line 1168
[12] => using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1188
[13] => ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1215
[14] => ImageMagick convert --version says "Version: ImageMagick 6.2.8 05/07/12 Q16 file:" in file "phpthumb.class.php" on line 1223
[15] => Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 917
[16] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
[17] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
[18] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
[19] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 951
[20] => $this->sourceFilename set to "/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg" in file "phpthumb.class.php" on line 852
[21] => phpThumb() v1.7.11-201108081537
http://phpthumb.sourceforge.net
Error messages disabled in file "phpthumb.class.php" on line 3845
[22] => setCacheDirectory() starting with config_cache_directory = "/home/---/public_html/---/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 958
[23] => setting config_cache_directory to realpath(/home/---/public_html/---/assets/components/phpthumbof/cache) = "/home/---/public_html/---/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 986
[24] => SetCacheFilename() _src set from md5($this->sourceFilename) "/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg" = "9ed7fc94fb9c2cf450c152121b7d1388" in file "phpthumb.class.php" on line 3238
[25] => SetCacheFilename() _par set from md5(_farC_zc1_h123_w234_dpi150_q75) in file "phpthumb.class.php" on line 3271
[26] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
[27] => GetImageSize(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg) says image is x in file "phpthumb.class.php" on line 3043
[28] => GetImageSize("/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg") failed in file "phpthumb.class.php" on line 3076
[29] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
[30] => phpThumb_tempnam() returning "/home/---/public_html/---/pThumbjLYi5j" in file "phpthumb.class.php" on line 4070
[31] => ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1255
[32] => ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1255
[33] => GetImageSize(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg) FAILED with error "" in file "phpthumb.class.php" on line 1409
[34] => GetImageSize(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.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) = 1 in file "phpthumb.class.php" on line 1252
[37] => ImageMagick called as (convert -density '150' -thumbnail '234x123' -quality '75' -interlace line '/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg[0]' jpeg:'/home/---/public_html/---/pThumbjLYi5j' 2>&1) in file "phpthumb.class.php" on line 1958
[38] => ImageMagick failed with message (convert: unable to open image `/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg': No such file or directory.
convert: missing an image filename `jpeg:/home/---/public_html/---/pThumbjLYi5j'.) in file "phpthumb.class.php" on line 1963
[39] => deleting "/home/---/public_html/---/pThumbjLYi5j" 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="234", h="123" 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(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg) in file "phpthumb.class.php" on line 3313
[46] => empty $filename or GetImageSize(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.jpg) failed in file "phpthumb.class.php" on line 3362
[47] => Populating $rawimagedata in file "phpthumb.class.php" on line 3370
[48] => cannot fopen(/home/---/public_html/---/core/model/phpthumb/assets/IMAGES/1496037.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
)
Комментарии: 1
Проблема решилась при обновлении до modx-2.2.13-pl.
Причины не нашёл.
Причины не нашёл.
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.