Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occassional errors of unknown origin #186

Open
php8-2021 opened this issue Nov 29, 2021 · 0 comments
Open

Occassional errors of unknown origin #186

php8-2021 opened this issue Nov 29, 2021 · 0 comments

Comments

@php8-2021
Copy link

php8-2021 commented Nov 29, 2021

Hello,

first of all, thank you for your good work!

The issue on my installation (PHP 8): For several months, an error of unknown origin has occurred from time to time. When it occurs, it occurs (for unknown reasons) exactly 6 times.

The error messages look like this:

phpThumb() v1.7.17-202109221111 in file "phpthumb.class.php" on line 234
setSourceFilename(/home/mywebdir/html/mywebsite//assets/galleries/35/) set $this->sourceFilename to "/home/mywebdir/html/mywebsite//assets/galleries/35/" in file "phpthumb.class.php" on line 299
Addding ImageMagick formats to $AvailableImageOutputFormats (text;ico;bmp;wbmp;gif;webp;png;jpeg) in file "phpthumb.class.php" on line 1005
$AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;webp;png;jpeg) in file "phpthumb.class.php" on line 1011
$this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 1022
$this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 1029
$this->thumbnailQuality set to "85" in file "phpthumb.class.php" on line 1039
resolvePath: /home/mywebdir/html/mywebsite//assets/galleries/35/ (allowed_dirs: Array ( ) ) in file "phpthumb.class.php" on line 1182
resolvePath: iteration, path=/home/mywebdir/html/mywebsite//assets/galleries/35/, base path = /home/mywebdir/html/mywebsite in file "phpthumb.class.php" on line 1201
open_basedir: "/home/mywebdir/:/tmp/:/opt/php-8.0/lib/php/:/dev/urandom" in file "phpthumb.class.php" on line 1168
resolvePath: stop at component 10 in file "phpthumb.class.php" on line 1217
resolvePath: stop at path=/home/mywebdir/html/mywebsite/assets/galleries/35 in file "phpthumb.class.php" on line 1220
resolvePath: path parsed, over in file "phpthumb.class.php" on line 1226
$this->sourceFilename set to "/home/mywebdir/html/mywebsite/assets/galleries/35" in file "phpthumb.class.php" on line 932
phpThumb() v1.7.17-202109221111 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 4270
SetCacheFilename() _src set from md5($this->sourceFilename) "/home/mywebdir/html/mywebsite/assets/galleries/35" = "16916372b794c224f0de077cab2f1975" in file "phpthumb.class.php" on line 3615
SetCacheFilename() _par set from md5(_fltrwb_w600_dpi150_q85) in file "phpthumb.class.php" on line 3654
starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 3408
getimagesize(/home/mywebdir/html/mywebsite/assets/galleries/35) failed in file "phpthumb.class.php" on line 3420
getimagesize("/home/mywebdir/html/mywebsite/assets/galleries/35") failed in file "phpthumb.class.php" on line 3450
$this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1654
phpThumb_tempnam() returning "/home/mywebdir/html/mywebsite/assets/cache/pThumbOi0nVA" in file "phpthumb.class.php" on line 4499
ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1580
getimagesize(/home/mywebdir/html/mywebsite/assets/galleries/35) FAILED with error "" in file "phpthumb.class.php" on line 1751
ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1580
getimagesize(/home/mywebdir/html/mywebsite/assets/galleries/35) failed in file "phpthumb.class.php" on line 1931
ImageMagickSwitchAvailable(channel;contrast-stretch) = 1 in file "phpthumb.class.php" on line 1577
Skipping $this->fltr[0] (wb) with ImageMagick in file "phpthumb.class.php" on line 2312
Remaining $this->fltr after ImageMagick: (array(1) { [0]=> string(2) "wb" } ) in file "phpthumb.class.php" on line 2315
ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1577
ImageMagick called as (convert '/home/mywebdir/html/mywebsite/assets/galleries/35[0]' -flatten -density '150' -thumbnail '600x' -channel R -contrast-stretch '0.1%' -channel G -contrast-stretch '0.1%' -channel B -contrast-stretch '0.1%' +channel -quality '85' -interlace line jpeg:'/home/mywebdir/html/mywebsite/assets/cache/pThumbOi0nVA' 2>&1) in file "phpthumb.class.php" on line 2333
ImageMagick failed with message (convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/560. convert-im6.q16: no images defined `jpeg:/home/mywebdir/html/mywebsite/assets/cache/pThumbOi0nVA' @ error/convert.c/ConvertImageCommand/3258.) in file "phpthumb.class.php" on line 2338
deleting "/home/mywebdir/html/mywebsite/assets/cache/pThumbOi0nVA" in file "phpthumb.class.php" on line 2370
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3457
SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 3387
SetOrientationDependantWidthHeight() setting w="600", h="0" in file "phpthumb.class.php" on line 3403
EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3516
starting SourceImageToGD() in file "phpthumb.class.php" on line 3782
starting ImageCreateFromFilename(/home/mywebdir/html/mywebsite/assets/galleries/35) in file "phpthumb.class.php" on line 3695
empty $filename or getimagesize(/home/mywebdir/html/mywebsite/assets/galleries/35) failed in file "phpthumb.class.php" on line 3746
Populating $rawimagedata in file "phpthumb.class.php" on line 3754
Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3854
$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3906
ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3908
phpThumb() v1.7.17-202109221111 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 4270
SourceImageToGD() failed in file "phpthumb.class.php" on line 379
-- 

Any idea how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant