Not sure if this is related to the phpThumb issue thats going on.
Upgradeded our sites to 2.2.13 and Gallery 1.6.1 and since then I cannot generate thumbnails when uploading to Gallery, I have pThumb installed also.
instead i get this error.
[2014-03-20 16:08:59] (ERROR @ /assets/components/gallery/connector.php) [Gallery] Album Type: 65
[2014-03-20 16:09:00] (ERROR @ /assets/components/gallery/connector.php) [Gallery] Could not create directory (possibly already exists?): assets/gallery/65/
[2014-03-20 16:09:00] (ERROR @ /var/www/vhosts/domainname.co.uk/httpdocs/core/components/gallery/model/gallery/galalbum.class.php : 224) PHP warning: fopen(/var/www/vhosts/domainname.co.uk/httpdocs/assets/gallery/65/340.jpg): failed to open stream: No such file or directory
[2014-03-20 16:09:00] (ERROR @ /var/www/vhosts/domainname.co.uk/httpdocs/core/components/gallery/model/gallery/galalbum.class.php : 225) PHP warning: stream_copy_to_stream() expects parameter 2 to be resource, boolean given
[2014-03-20 16:09:00] (ERROR @ /var/www/vhosts/domainname.co.uk/httpdocs/core/components/gallery/model/gallery/galalbum.class.php : 227) PHP warning: fclose() expects parameter 1 to be resource, boolean given
[2014-03-20 16:09:01] (ERROR @ /assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail:
http://www.domainname.co.uk/assets/gallery/65/340.jpg - Debug: Array
(
[0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
[1] => setCacheDirectory() starting with config_cache_directory = "/var/www/vhosts/domainname.co.uk/httpdocs/core/cache/phpthumb/" in file "phpthumb.class.php" on line 958
[2] => setting config_cache_directory to realpath(/var/www/vhosts/domainname.co.uk/httpdocs/core/cache/phpthumb) = "/var/www/vhosts/domainname.co.uk/httpdocs/core/cache/phpthumb" in file "phpthumb.class.php" on line 986
[3] => setSourceFilename(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) set $this->sourceFilename to "
http://www.domainname.co.uk/assets/gallery/65/340.jpg" in file "phpthumb.class.php" on line 262
[4] => setCacheDirectory() starting with config_cache_directory = "/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache/" in file "phpthumb.class.php" on line 958
[5] => setting config_cache_directory to realpath(/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache) = "/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache" in file "phpthumb.class.php" on line 986
[6] => setSourceFilename(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) set $this->sourceFilename to "
http://www.domainname.co.uk/assets/gallery/65/340.jpg" in file "phpthumb.class.php" on line 262
[7] => CleanUpCacheDirectory() set to purge (30.0 days; 100.00 MB; 10,000 files) in file "phpthumb.class.php" on line 673
[8] => CleanUpCacheDirectory() skipped because "/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache/phpThumbCacheStats.txt" is recently modified in file "phpthumb.class.php" on line 683
[9] => file_exists() = 0 in file "phpthumb.class.php" on line 1165
[10] => file_exists_ignoreopenbasedir() = 0 in file "phpthumb.class.php" on line 1166
[11] => is_file() = 0 in file "phpthumb.class.php" on line 1167
[12] => is_executable() = 0 in file "phpthumb.class.php" on line 1168
[13] => ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned (which: no convert in (/sbin:/usr/sbin:/bin:/usr/bin)) in file "phpthumb.class.php" on line 1198
[14] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
[15] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
[16] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
[17] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 951
[18] => $this->sourceFilename set to "
http://www.domainname.co.uk/assets/gallery/65/340.jpg" in file "phpthumb.class.php" on line 852
[19] => setCacheDirectory() starting with config_cache_directory = "/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache" in file "phpthumb.class.php" on line 958
[20] => setting config_cache_directory to realpath(/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache) = "/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache" in file "phpthumb.class.php" on line 986
[21] => SetCacheFilename() _src set from md5($this->sourceFilename) "
http://www.domainname.co.uk/assets/gallery/65/340.jpg" = "db56d12b0bcc02d2512dd5b9a7444a4f" in file "phpthumb.class.php" on line 3238
[22] => SetCacheFilename() _par set from md5(_farC_zc1_h100_w100_dpi150_q75) in file "phpthumb.class.php" on line 3271
[23] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
[24] => GetImageSize(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) says image is x in file "phpthumb.class.php" on line 3043
[25] => GetImageSize("
http://www.domainname.co.uk/assets/gallery/65/340.jpg") failed in file "phpthumb.class.php" on line 3076
[26] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
[27] => ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 2006
[28] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3083
[29] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3012
[30] => SetOrientationDependantWidthHeight() setting w="100", h="100" in file "phpthumb.class.php" on line 3028
[31] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3140
[32] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3398
[33] => starting ImageCreateFromFilename(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) in file "phpthumb.class.php" on line 3313
[34] => empty $filename or GetImageSize(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) failed in file "phpthumb.class.php" on line 3362
[35] => Populating $rawimagedata in file "phpthumb.class.php" on line 3370
[36] => cannot fopen(
http://www.domainname.co.uk/assets/gallery/65/340.jpg) in file "phpthumb.class.php" on line 3381
[37] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3469
[38] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3521
[39] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3523
[40] => phpThumb() v1.7.11-201108081537
http://phpthumb.sourceforge.net
Error messages disabled in file "phpthumb.class.php" on line 3845
[41] => SourceImageToGD() failed in file "phpthumb.class.php" on line 342
)
[2014-03-20 16:09:01] (ERROR @ /var/www/vhosts/domainname.co.uk/httpdocs/core/components/gallery/processors/web/phpthumb.php : 150) PHP warning: file_get_contents(/var/www/vhosts/domainname.co.uk/httpdocs/assets/components/gallery/cache/http___www.domainname.co.uk_assets_gallery_65_340.jpg.bad5c022e2c917a3916208241fad33f0.jpg): failed to open stream: No such file or directory
It was working on 2.2.11, I skipped 2.2.12