[2015-02-15 18:30:02] (ERROR @ /site/assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail: /homez.29/morvandi/www/site/assets/gallery/5/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 (/site//site/assets/gallery/5/24.jpg) resulting in ($AbsoluteFilename = "/site//site/assets/gallery/5/24.jpg") in file "phpthumb.class.php" on line 1216 [2] => resolvePath: /site//site/assets/gallery/5/24.jpg (allowed_dirs: Array ( ) ) in file "phpthumb.class.php" on line 1096 [3] => resolvePath: iteration, path=/site//site/assets/gallery/5/24.jpg, base path = /home/morvandi/www/site/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 8 in file "phpthumb.class.php" on line 1131 [6] => resolvePath: stop at path=/site/site/assets/gallery/5/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/morvandi/www/site/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(/homez.29/morvandi/www/site/assets/gallery/5/24.jpg) set $this->sourceFilename to "/homez.29/morvandi/www/site/assets/gallery/5/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] => 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] => Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 919 [15] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 925 [16] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 936 [17] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 943 [18] => $this->thumbnailQuality set to "90" in file "phpthumb.class.php" on line 953 [19] => resolvePath: /homez.29/morvandi/www/site/assets/gallery/5/24.jpg (allowed_dirs: Array ( ) ) in file "phpthumb.class.php" on line 1096 [20] => resolvePath: iteration, path=/homez.29/morvandi/www/site/assets/gallery/5/24.jpg, base path = /home/morvandi/www/site in file "phpthumb.class.php" on line 1115 [21] => resolvePath: stop at component 1 in file "phpthumb.class.php" on line 1131 [22] => resolvePath: stop at path=/homez.29 in file "phpthumb.class.php" on line 1134 [23] => resolvePath: no match, returning null in file "phpthumb.class.php" on line 1136 [24] => !$this->config_allow_src_above_docroot therefore setting "" (outside "/home/morvandi/www/site") to null in file "phpthumb.class.php" on line 1261 [25] => $this->sourceFilename set to "" in file "phpthumb.class.php" on line 849 [26] => 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 [27] => resolvePath: /homez.29/morvandi/www/site/assets/gallery/5/24.jpg (allowed_dirs: Array ( ) ) in file "phpthumb.class.php" on line 1096 [28] => resolvePath: iteration, path=/homez.29/morvandi/www/site/assets/gallery/5/24.jpg, base path = /home/morvandi/www/site in file "phpthumb.class.php" on line 1115 [29] => resolvePath: stop at component 1 in file "phpthumb.class.php" on line 1131 [30] => resolvePath: stop at path=/homez.29 in file "phpthumb.class.php" on line 1134 [31] => resolvePath: no match, returning null in file "phpthumb.class.php" on line 1136 [32] => !$this->config_allow_src_above_docroot therefore setting "" (outside "/home/morvandi/www/site") to null in file "phpthumb.class.php" on line 1261 [33] => SetCacheFilename() _src set from md5($this->sourceFilename) "" = "d41d8cd98f00b204e9800998ecf8427e" in file "phpthumb.class.php" on line 3443 [34] => SetCacheFilename() _par set from md5(_farC_zc1_h100_w100_dpi150_q90) in file "phpthumb.class.php" on line 3476 [35] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3236 [36] => skipping GetImageSize() because $this->sourceFilename is empty in file "phpthumb.class.php" on line 3248 [37] => GetImageSize("") failed in file "phpthumb.class.php" on line 3279 [38] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1508 [39] => ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1552 [40] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3286 [41] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3215 [42] => SetOrientationDependantWidthHeight() setting w="100", h="100" in file "phpthumb.class.php" on line 3231 [43] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3343 [44] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3603 [45] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3674 [46] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3726 [47] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3728 [48] => 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 [49] => SourceImageToGD() failed in file "phpthumb.class.php" on line 351 )
I played with the Gallery configuration and modified 3 things:
Created a new media source called Gallery of type Gallery Albums and using this media source for the gallery.mediaSource parameter
Changed the value of gallery.files_path from [[++assets_path]]gallery/ to /assets/gallery/
Changed the value of gallery.files_url from [[++assets_path]]gallery/ to /assets/gallery/
And then, Gallery was finally working fine.