Same here!
Worked fine, but now I have many sites that don`t upload images. I don`t exactly know when this started.
No folder created, thumbnails broken. In albums page there's empty unpublished album named it`s folders path. (attach)
Error log after upload (edited paths in log before /public_html....):
[2014-12-10 14:38:31] (ERROR @ /assets/components/gallery/connector.php) [phpThumbOf] Could not generate thumbnail: /home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg - Debug: Array
(
[0] => phpThumb() v1.7.11-201108081537 in file "phpthumb.class.php" on line 216
[1] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root () to $filename (/assets/tiedostot/kuvat/galleria/32/342.jpg) resulting in ($AbsoluteFilename = "/assets/tiedostot/kuvat/galleria/32/342.jpg") in file "phpthumb.class.php" on line 1060
[2] => !$this->config_allow_src_above_docroot therefore setting "/assets/tiedostot/kuvat/galleria/32/342.jpg" (outside "/home/.../public_html/assets/components/gallery") to null in file "phpthumb.class.php" on line 1106
[3] => setSourceFilename() set $this->sourceFilename to "" in file "phpthumb.class.php" on line 262
[4] => setSourceFilename(/home/..../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) set $this->sourceFilename to "/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg" in file "phpthumb.class.php" on line 262
[5] => CleanUpCacheDirectory() set to purge (NULL days; NULL MB; NULL files) in file "phpthumb.class.php" on line 673
[6] => skipping CleanUpCacheDirectory() because config set to not use it in file "phpthumb.class.php" on line 790
[7] => CleanUpCacheDirectory() purged 0 files (from 0) based on config settings in file "phpthumb.class.php" on line 796
[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] => ImageMagickThumbnailToGD() aborting because cannot find convert in $this->config_imagemagick_path (), and `which convert` returned (which: no convert in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin)) in file "phpthumb.class.php" on line 1198
[13] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 923
[14] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 934
[15] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 941
[16] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 951
[17] => ResolveFilenameToAbsolute() NOT prepending $this->config_document_root (/home/.../public_html/) to $filename (/home/..../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) resulting in ($AbsoluteFilename = "/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg") in file "phpthumb.class.php" on line 1060
[18] => $this->sourceFilename set to "/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg" in file "phpthumb.class.php" on line 852
[19] => phpThumb() v1.7.11-201108081537
http://phpthumb.sourceforge.net
Error messages disabled in file "phpthumb.class.php" on line 3845
[20] => setCacheDirectory() starting with config_cache_directory = "/home/.../public_html/assets/components/gallery/cache/" in file "phpthumb.class.php" on line 958
[21] => setting config_cache_directory to realpath(/home/.../public_html/assets/components/gallery/cache) = "/home/.../public_html/assets/components/gallery/cache" in file "phpthumb.class.php" on line 986
[22] => setting $this->config_temp_directory = $this->config_cache_directory (/home/.../public_html/assets/components/gallery/cache) in file "phpthumb.class.php" on line 1002
[23] => SetCacheFilename() _src set from md5($this->sourceFilename) "/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg" = "008a5e2c06e7c6a70bc84fdf65d371c6" in file "phpthumb.class.php" on line 3238
[24] => SetCacheFilename() _par set from md5(_farC_zc1_h80_w100_dpi150_q75) in file "phpthumb.class.php" on line 3271
[25] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3033
[26] => GetImageSize(/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) says image is x in file "phpthumb.class.php" on line 3043
[27] => GetImageSize("/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg") failed in file "phpthumb.class.php" on line 3076
[28] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1315
[29] => ImageMagickThumbnailToGD() aborting because ImageMagickCommandlineBase() failed in file "phpthumb.class.php" on line 2006
[30] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3083
[31] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3012
[32] => SetOrientationDependantWidthHeight() setting w="100", h="80" in file "phpthumb.class.php" on line 3028
[33] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3140
[34] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3398
[35] => starting ImageCreateFromFilename(/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) in file "phpthumb.class.php" on line 3313
[36] => empty $filename or GetImageSize(/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) failed in file "phpthumb.class.php" on line 3362
[37] => Populating $rawimagedata in file "phpthumb.class.php" on line 3370
[38] => cannot fopen(/home/.../public_html/assets/tiedostot/kuvat/galleria/32/342.jpg) in file "phpthumb.class.php" on line 3381
[39] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3469
[40] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3521
[41] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3523
[42] => phpThumb() v1.7.11-201108081537
http://phpthumb.sourceforge.net
Error messages disabled in file "phpthumb.class.php" on line 3845
[43] => SourceImageToGD() failed in file "phpthumb.class.php" on line 342
)
[2014-12-10 14:38:31] (ERROR @ /home/.../public_html/core/components/gallery/processors/web/phpthumb.php : 169) PHP warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/.../public_html/assets/components/gallery/cache/_home_..._public_html_assets_tiedostot_kuvat_galleria_32_342.jpg.eb6858429ef5f069a64c12bcdeb57def.jpg
[2014-12-10 14:38:31] (ERROR @ /home/.../public_html/core/components/gallery/processors/web/phpthumb.php : 181) PHP warning: file_get_contents(/home/.../public_html/assets/components/gallery/cache/_home_..._public_html_assets_tiedostot_kuvat_galleria_32_342.jpg.eb6858429ef5f069a64c12bcdeb57def.jpg) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: Tiedostoa tai hakemistoa ei ole
Revo 2.2.15
Gallery 1.7.0
Pthumb 2.3.3
Resizer 1.0.1
php 5.3.28
GD 2.1.0
Gallery settings:
gallery.mediaSource=Albumit
gallery.thumbs_prepend_site_url=No
gallery.default_batch_upload_path={assets_path}tiedostot/kuvat/galleria/
gallery.files_path=[[++assets_path]]tiedostot/kuvat/galleria/
gallery.files_url=[[++assets_url]]tiedostot/kuvat/galleria/
pthumb settings:
pthumb.ptcache_images_basedir=assets
pthumb.ptcache_location=assets/image-cache
pthumb.use_ptcache=Yes
phpthumbof.use_resizer=Yes
Resizer
resizer.graphics_library=0
Core phpthumb settings:
phpthumb_allow_src_above_docroot=yes
[ed. note: valokammi last edited this post 9 years, 4 months ago.]