I think Gallery is a big mess! First installed it and try to use it default settings . When upload images thumbnails are broken. When I go back to album listing, all loaded images are their own albums!? And of course error log have lot, I mean lot of rows. There`s lot of topics about those errors.
I tried one solution for gallery paths by removing placeholder and using assets/gallery/ setting. Paths are cleaner but thumnails are broken.
I have quite many sites running gallery. They work with old images, but you can`t upload any new images if updated to new versions.
Seriously, what is happening with Gallery? I`ve tried Cliche gallery, and it seems much better solution this far (Error log stays empty
.
Any suggestion for good working gallerys with REVO?
Modx REVO version: 2.3.3 (and 2.2.15)
Gallery version: 1.7.0 (multiple versions in different sites)
PHP Version: 5.4.37 (multiple versions in different sites)
Mysql
Database version: 5.5.42-cll (multiple versions in different sites)
System: Linux 2.6.18-400.1.1.el5 (multiple versions in different sites)
Have fun with this infinity error log.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) Could not load class: galItem from mysql.galitem.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) galItem::load() is not a valid static method.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) Could not load class: galItem from mysql.galitem.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) galItem::load() is not a valid static method.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:16] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) Could not load class: galItem from mysql.galitem.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) galItem::load() is not a valid static method.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) Could not load class: galItem from mysql.galitem.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) galItem::load() is not a valid static method.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) Could not load class: galAlbum from mysql.galalbum.
[2015-03-07 08:26:31] (ERROR @ /connectors/index.php) galAlbum::load() is not a valid static method.
[2015-03-07 09:06:39] (ERROR @ /assets/components/gallery/connector.php) [Gallery] Album Type: 2
[2015-03-07 09:06:41] (ERROR @ /assets/components/gallery/connector.php) [Gallery] Album Type: 2
[2015-03-07 09:06:41] (ERROR @ /home/xxxxxxxx/public_html/core/model/phpthumb/phpthumb.class.php : 1596) PHP warning: getimagesize(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg): failed to open stream: No such file or directory
[2015-03-07 09:06:41] (ERROR @ /assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail: /home/xxxxxxxx/public_html/assets/gallery/2/23.jpg - Debug: Array
(
[0] => phpThumb() v1.7.13-201406261000 in file "phpthumb.class.php" on line 220
[1] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root () to $filename (/assets/gallery/2/23.jpg) resulting in ($AbsoluteFilename = "/assets/gallery/2/23.jpg") in file "phpthumb.class.php" on line 1216
[2] => resolvePath: /assets/gallery/2/23.jpg (allowed_dirs: Array
(
)
) in file "phpthumb.class.php" on line 1096
[3] => resolvePath: iteration, path=/assets/gallery/2/23.jpg, base path = /home/xxxxxxxx/public_html/assets/components/gallery in file "phpthumb.class.php" on line 1115
[4] => open_basedir: "" in file "phpthumb.class.php" on line 1082
[5] => resolvePath: stop at component 5 in file "phpthumb.class.php" on line 1131
[6] => resolvePath: stop at path=/assets/gallery/2/23.jpg in file "phpthumb.class.php" on line 1134
[7] => resolvePath: no match, returning null in file "phpthumb.class.php" on line 1136
[8] => !$this->config_allow_src_above_docroot therefore setting "" (outside "/home/xxxxxxxx/public_html/assets/components/gallery") to null in file "phpthumb.class.php" on line 1261
[9] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 271
[10] => setSourceFilename(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) set $this->sourceFilename to "/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg" in file "phpthumb.class.php" on line 271
[11] => CleanUpCacheDirectory() set to purge (NULL days; NULL MB; NULL files) in file "phpthumb.class.php" on line 667
[12] => skipping CleanUpCacheDirectory() because config set to not use it in file "phpthumb.class.php" on line 787
[13] => CleanUpCacheDirectory() purged 0 files (from 0) based on config settings in file "phpthumb.class.php" on line 793
[14] => file_exists() = 0 in file "phpthumb.class.php" on line 1335
[15] => file_exists_ignoreopenbasedir() = 0 in file "phpthumb.class.php" on line 1336
[16] => is_file() = 0 in file "phpthumb.class.php" on line 1337
[17] => is_executable() = 0 in file "phpthumb.class.php" on line 1338
[18] => using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1359
[19] => ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1400
[20] => ImageMagick convert --version says "Version: ImageMagick 6.7.1-7 2012-09-05 Q16 " in file "phpthumb.class.php" on line 1408
[21] => Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 919
[22] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 925
[23] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 936
[24] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 943
[25] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 953
[26] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root (/home/xxxxxxxx/public_html/) to $filename (/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) resulting in ($AbsoluteFilename = "/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg") in file "phpthumb.class.php" on line 1216
[27] => resolvePath: /home/xxxxxxxx/public_html/assets/gallery/2/23.jpg (allowed_dirs: Array
(
)
) in file "phpthumb.class.php" on line 1096
[28] => resolvePath: iteration, path=/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg, base path = /home/xxxxxxxx/public_html in file "phpthumb.class.php" on line 1115
[29] => resolvePath: stop at component 8 in file "phpthumb.class.php" on line 1131
[30] => resolvePath: stop at path=/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg in file "phpthumb.class.php" on line 1134
[31] => resolvePath: path parsed, over in file "phpthumb.class.php" on line 1140
[32] => $this->sourceFilename set to "/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg" in file "phpthumb.class.php" on line 849
[33] => phpThumb() v1.7.13-201406261000
http://phpthumb.sourceforge.net
Error messages disabled.
edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;
to view the details of this error in file "phpthumb.class.php" on line 4050
[34] => SetCacheFilename() _src set from md5($this->sourceFilename) "/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg" = "5b83ceb0dbdab614efec1a87b93ce940" in file "phpthumb.class.php" on line 3443
[35] => SetCacheFilename() _par set from md5(_farC_zc1_h80_w100_dpi150_q75) in file "phpthumb.class.php" on line 3476
[36] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3236
[37] => GetImageSize(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) says image is x in file "phpthumb.class.php" on line 3246
[38] => GetImageSize("/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg") failed in file "phpthumb.class.php" on line 3279
[39] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1508
[40] => phpThumb_tempnam() returning "/home/xxxxxxxx/public_html/assets/components/gallery/pThumbSvP7Sz" in file "phpthumb.class.php" on line 4275
[41] => ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1445
[42] => ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1445
[43] => GetImageSize(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) FAILED with error "" in file "phpthumb.class.php" on line 1602
[44] => GetImageSize(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) failed in file "phpthumb.class.php" on line 1749
[45] => Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 2132
[46] => ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1442
[47] => ImageMagick called as (convert -density '150' -thumbnail '100x80' -quality '75' -interlace line '/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg[0]' jpeg:'/home/xxxxxxxx/public_html/assets/components/gallery/pThumbSvP7Sz' 2>&1) in file "phpthumb.class.php" on line 2151
[48] => ImageMagick failed with message (convert: unable to open image `/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg': @ error/blob.c/OpenBlob/2588.
convert: missing an image filename `jpeg:/home/xxxxxxxx/public_html/assets/components/gallery/pThumbSvP7Sz' @ error/convert.c/ConvertImageCommand/3015.) in file "phpthumb.class.php" on line 2156
[49] => deleting "/home/xxxxxxxx/public_html/assets/components/gallery/pThumbSvP7Sz" in file "phpthumb.class.php" on line 2188
[50] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3286
[51] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3215
[52] => SetOrientationDependantWidthHeight() setting w="100", h="80" in file "phpthumb.class.php" on line 3231
[53] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3343
[54] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3603
[55] => starting ImageCreateFromFilename(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) in file "phpthumb.class.php" on line 3518
[56] => empty $filename or GetImageSize(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) failed in file "phpthumb.class.php" on line 3567
[57] => Populating $rawimagedata in file "phpthumb.class.php" on line 3575
[58] => cannot fopen(/home/xxxxxxxx/public_html/assets/gallery/2/23.jpg) in file "phpthumb.class.php" on line 3586
[59] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3674
[60] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3726
[61] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3728
[62] => phpThumb() v1.7.13-201406261000
http://phpthumb.sourceforge.net
Error messages disabled.
edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;
to view the details of this error in file "phpthumb.class.php" on line 4050
[63] => SourceImageToGD() failed in file "phpthumb.class.php" on line 351
)
[2015-03-07 09:06:41] (ERROR @ /home/xxxxxxxx/public_html/core/components/gallery/processors/web/phpthumb.php : 169) PHP warning: filemtime(): stat failed for /home/xxxxxxxx/public_html/assets/components/gallery/cache/_home_xxxxxxxx_public_html_assets_gallery_2_23.jpg.0f1549cbb5364711efd5cd8d9ccf4beb.jpg
[2015-03-07 09:06:41] (ERROR @ /home/xxxxxxxx/public_html/core/components/gallery/processors/web/phpthumb.php : 181) PHP warning: file_get_contents(/home/xxxxxxxx/public_html/assets/components/gallery/cache/_home_xxxxxxxx_public_html_assets_gallery_2_23.jpg.0f1549cbb5364711efd5cd8d9ccf4beb.jpg): failed to open stream: No such file or directory
[2015-03-07 09:06:41] (ERROR @ /home/xxxxxxxx/public_html/core/model/phpthumb/phpthumb.class.php : 1596) PHP warning: getimagesize(/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg): failed to open stream: No such file or directory
[2015-03-07 09:06:41] (ERROR @ /assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail: /home/xxxxxxxx/public_html/assets/gallery/2/24.jpg - Debug: Array
(
[0] => phpThumb() v1.7.13-201406261000 in file "phpthumb.class.php" on line 220
[1] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root () to $filename (/assets/gallery/2/24.jpg) resulting in ($AbsoluteFilename = "/assets/gallery/2/24.jpg") in file "phpthumb.class.php" on line 1216
[2] => resolvePath: /assets/gallery/2/24.jpg (allowed_dirs: Array
(
)
) in file "phpthumb.class.php" on line 1096
[3] => resolvePath: iteration, path=/assets/gallery/2/24.jpg, base path = /home/xxxxxxxx/public_html/assets/components/gallery in file "phpthumb.class.php" on line 1115
[4] => open_basedir: "" in file "phpthumb.class.php" on line 1082
[5] => resolvePath: stop at component 5 in file "phpthumb.class.php" on line 1131
[6] => resolvePath: stop at path=/assets/gallery/2/24.jpg in file "phpthumb.class.php" on line 1134
[7] => resolvePath: no match, returning null in file "phpthumb.class.php" on line 1136
[8] => !$this->config_allow_src_above_docroot therefore setting "" (outside "/home/xxxxxxxx/public_html/assets/components/gallery") to null in file "phpthumb.class.php" on line 1261
[9] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 271
[10] => setSourceFilename(/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg) set $this->sourceFilename to "/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg" in file "phpthumb.class.php" on line 271
[11] => CleanUpCacheDirectory() set to purge (NULL days; NULL MB; NULL files) in file "phpthumb.class.php" on line 667
[12] => CleanUpCacheDirectory() skipped because "/home/xxxxxxxx/public_html/assets/components/gallery/cache//phpThumbCacheStats.txt" is recently modified in file "phpthumb.class.php" on line 677
[13] => Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 919
[14] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 925
[15] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 936
[16] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 943
[17] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 953
[18] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root (/home/xxxxxxxx/public_html/) to $filename (/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg) resulting in ($AbsoluteFilename = "/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg") in file "phpthumb.class.php" on line 1216
[19] => resolvePath: /home/xxxxxxxx/public_html/assets/gallery/2/24.jpg (allowed_dirs: Array
(
)
) in file "phpthumb.class.php" on line 1096
[20] => resolvePath: iteration, path=/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg, base path = /home/xxxxxxxx/public_html in file "phpthumb.class.php" on line 1115
[21] => resolvePath: stop at component 8 in file "phpthumb.class.php" on line 1131
[22] => resolvePath: stop at path=/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg in file "phpthumb.class.php" on line 1134
[23] => resolvePath: path parsed, over in file "phpthumb.class.php" on line 1140
[24] => $this->sourceFilename set to "/home/xxxxxxxx/public_html/assets/gallery/2/24.jpg" in file "phpthumb.class.php" on line 849
[25] => phpThumb() v1.7.13-201406261000
http://phpthumb.sourceforge.net
This goes on and on.....