Minishop2 -> не показываются превью картинок

Преветствую, пишу с просьбой о помощи с такой проблемой:
Превьюшки картинок не создаются! Загрузка картинок на сервер идет хорошо, а вот превьюхи не в админке, не на сайте на показываются.
В админке все выглядит так:

на сайте также, показывается дефолтная картинка.
Может быть дело в правах на какие то файлы и папки?
в журнале ошибок нашел по этому поводу такое:
[2014-01-10 18:15:36] (ERROR @ /assets/components/minishop2/connector.php) Could not generate thumbnail for "/assets/images/products/9/6f110b2103593b40a0879c1b992b1019.png". Array
(
    [0] => phpThumb() v1.7.9-200712090829 in file "phpthumb.class.php" on line 216
    [1] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb/" in file "phpthumb.class.php" on line 919
    [2] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 947
    [3] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 243
    [4] =>   file_exists() = 0 in file "phpthumb.class.php" on line 1101
    [5] => is_executable() = 0 in file "phpthumb.class.php" on line 1102
    [6] => ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned () in file "phpthumb.class.php" on line 1131
    [7] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 884
    [8] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 895
    [9] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 902
    [10] => $this->thumbnailQuality set to "90" in file "phpthumb.class.php" on line 912
    [11] => phpThumb() v1.7.9-200712090829

$this->sourceFilename and $this->src are both empty in file "phpthumb.class.php" on line 3647
    [12] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 919
    [13] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 947
    [14] => SetCacheFilename() _src set from md5($this->sourceFilename) "" = "d41d8cd98f00b204e9800998ecf8427e" in file "phpthumb.class.php" on line 3077
    [15] => SetCacheFilename() _par set from md5(_bg000000_farC_zc1_h90_w120_dpi150_q90) in file "phpthumb.class.php" on line 3110
    [16] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2897
    [17] => GetImageSize("") failed in file "phpthumb.class.php" on line 2920
    [18] => $this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1226
    [19] => $this->useRawIMoutput=false after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232
    [20] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1279
    [21] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2927
    [22] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2876
    [23] => SetOrientationDependantWidthHeight() setting w="120", h="90" in file "phpthumb.class.php" on line 2892
    [24] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2979
    [25] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3229
    [26] => $this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1226
    [27] => $this->useRawIMoutput=false 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] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3278
    [30] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3330
    [31] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3332
    [32] => phpThumb() v1.7.9-200712090829

Unknown image type identified by "" () in SourceImageToGD()[3444] in file "phpthumb.class.php" on line 3647
    [33] => SourceImageToGD() failed in file "phpthumb.class.php" on line 323
)
Видел на где то в поиске похожую запись но ее решение мне не подошло.
Zagumennov Nikolai
10 января 2014, 13:27
modx.pro
2 403
0

Комментарии: 8

Василий Наумкин
10 января 2014, 18:42
0
Версия MS2 последняя?
    Zagumennov Nikolai
    20 января 2014, 09:06
    0
    Да, последняя.
      Пашок
      02 февраля 2014, 15:44
      0
      Василий, посмотри пожалуйста, что не так в настройках сервера? tehnomaniya.kz/phpinfo.php
      У меня такая-же проблема возникает, как на скринах у ТС… может что включить там надо, подскажи пожалуйста, дружище?
        Пашок
        02 февраля 2014, 16:28
        0
        И ещё, Василий, такую штуку заметил я: когда не устанавливая minishop2 создаю сайт на этом хостинге, то всё в порядке с миниатюрками и ошибок не вылазит в логах (таких, как будет ниже коммента), а как только устанавливаю minishop2 и пытаюсь поднять на нём инет магазин на этом хостинге, то проблема вот такая с миниатюрками товаров + в логах такая вот ошибка:
        [2014-02-02 17:28:39] (ERROR @ /var/www/iknobel/data/www/tehnomaniya.kz/core/components/minishop2/model/minishop2/msproductfile.class.php : 95) PHP warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/iknobel/data:.)
        [2014-02-02 17:28:39] (ERROR @ /var/www/iknobel/data/www/tehnomaniya.kz/core/components/minishop2/model/minishop2/msproductfile.class.php : 96) PHP warning: file_put_contents(): Filename cannot be empty
        [2014-02-02 17:28:39] (ERROR @ /assets/components/minishop2/connector.php) Could not generate thumbnail for "/assets/images/products/4/2919eba2a777c38481e72bb722cf0d2c9d2342de.jpg". Array
        (
            [0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
            [1] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb/" in file "phpthumb.class.php" on line 958
            [2] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
            [3] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 262
            [4] =>                   file_exists() = 0 in file "phpthumb.class.php" on line 1165
            [5] => file_exists_ignoreopenbasedir() = 1 in file "phpthumb.class.php" on line 1166
            [6] =>                       is_file() = 0 in file "phpthumb.class.php" on line 1167
            [7] =>                 is_executable() = 0 in file "phpthumb.class.php" on line 1168
            [8] => using ImageMagick path from $this->config_imagemagick_path () in file "phpthumb.class.php" on line 1171
            [9] => ImageMagick version checked with "'' --version" in file "phpthumb.class.php" on line 1215
            [10] => ImageMagick did not return recognized version string () in file "phpthumb.class.php" on line 1221
            [11] => ImageMagick convert --version says "" in file "phpthumb.class.php" on line 1223
            [12] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
            [13] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
            [14] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
            [15] => $this->thumbnailQuality set to "90" in file "phpthumb.class.php" on line 951
            [16] => phpThumb() v1.7.11-201108081537
        http://phpthumb.sourceforge.net
        
        Error messages disabled in file "phpthumb.class.php" on line 3845
            [17] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 958
            [18] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
            [19] => SetCacheFilename() _src set from md5($this->sourceFilename) "" = "d41d8cd98f00b204e9800998ecf8427e" in file "phpthumb.class.php" on line 3238
            [20] => SetCacheFilename() _par set from md5(_bg000000_farC_zc1_h90_w120_dpi150_q90) in file "phpthumb.class.php" on line 3271
            [21] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
            [22] => skipping GetImageSize() because $this->sourceFilename is empty in file "phpthumb.class.php" on line 3045
            [23] => GetImageSize("") failed in file "phpthumb.class.php" on line 3076
            [24] => $this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1309
            [25] => $this->useRawIMoutput=false after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
            [26] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1359
            [27] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3083
            [28] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3012
            [29] => SetOrientationDependantWidthHeight() setting w="120", h="90" in file "phpthumb.class.php" on line 3028
            [30] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3140
            [31] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3398
            [32] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3469
            [33] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3521
            [34] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3523
            [35] => phpThumb() v1.7.11-201108081537
        http://phpthumb.sourceforge.net
        
        Error messages disabled in file "phpthumb.class.php" on line 3845
            [36] => SourceImageToGD() failed in file "phpthumb.class.php" on line 342
        )
        
        [2014-02-02 17:28:39] (ERROR @ /var/www/iknobel/data/www/tehnomaniya.kz/core/components/minishop2/model/minishop2/msproductfile.class.php : 95) PHP warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/iknobel/data:.)
        [2014-02-02 17:28:39] (ERROR @ /var/www/iknobel/data/www/tehnomaniya.kz/core/components/minishop2/model/minishop2/msproductfile.class.php : 96) PHP warning: file_put_contents(): Filename cannot be empty
        [2014-02-02 17:28:39] (ERROR @ /assets/components/minishop2/connector.php) Could not generate thumbnail for "/assets/images/products/4/2919eba2a777c38481e72bb722cf0d2c9d2342de.jpg". Array
        (
            [0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
            [1] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb/" in file "phpthumb.class.php" on line 958
            [2] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
            [3] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 262
            [4] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
            [5] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
            [6] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
            [7] => $this->thumbnailQuality set to "90" in file "phpthumb.class.php" on line 951
            [8] => phpThumb() v1.7.11-201108081537
        http://phpthumb.sourceforge.net
        
        Error messages disabled in file "phpthumb.class.php" on line 3845
            [9] => setCacheDirectory() starting with config_cache_directory = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 958
            [10] => setting config_cache_directory to realpath(/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb) = "/var/www/iknobel/data/www/tehnomaniya.kz/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
            [11] => SetCacheFilename() _src set from md5($this->sourceFilename) "" = "d41d8cd98f00b204e9800998ecf8427e" in file "phpthumb.class.php" on line 3238
            [12] => SetCacheFilename() _par set from md5(_bg000000_farC_zc1_h270_w360_dpi150_q90) in file "phpthumb.class.php" on line 3271
            [13] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
            [14] => skipping GetImageSize() because $this->sourceFilename is empty in file "phpthumb.class.php" on line 3045
            [15] => GetImageSize("") failed in file "phpthumb.class.php" on line 3076
            [16] => $this->useRawIMoutput=false because "bg" is set in file "phpthumb.class.php" on line 1309
            [17] => $this->useRawIMoutput=false after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
            [18] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1359
            [19] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3083
            [20] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3012
            [21] => SetOrientationDependantWidthHeight() setting w="360", h="270" in file "phpthumb.class.php" on line 3028
            [22] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3140
            [23] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3398
            [24] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3469
            [25] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3521
            [26] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3523
            [27] => phpThumb() v1.7.11-201108081537
        http://phpthumb.sourceforge.net
        
        Error messages disabled in file "phpthumb.class.php" on line 3845
            [28] => SourceImageToGD() failed in file "phpthumb.class.php" on line 342
        )
        Zagumennov Nikolai
        21 января 2014, 09:13
        0
        есть подозрения что проблема где то в правах доступа на какие то папки или файлы, только вот где именно
          Василий Наумкин
          21 января 2014, 11:57
          0
          Это явно что-то специфическое, связанное с хостингом.

          У меня нигде проблем нет, попробуй проверить на modx-test.com — там все четко.
            Zagumennov Nikolai
            22 января 2014, 15:25
            0
            Проблема оказалась не в правах, поставил на все 777, не помогло… Какая же может быть спецефичность у сервера?
              Володя
              02 февраля 2014, 17:16
              0
              говносервер
          Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
          8