KissIT Image Thumbnailer

no thumbs gerneated and fatal error even on new image upload - KissIT Image Thumbnailer

no thumbs gerneated and fatal error even on new image upload

by kudos » Mon Apr 22, 2024 10:48 pm

getting a lot of errors
phoenix 1.0.9.1
php 8.2
kissit 4.5.4

kissit is no making any thumbs, i did clear the cache but makes afew folders in the thumbs directory but no images are gernerated

on manufactures page on any manufacture with a logo i get

Code: Select all

Notice: Could not extract image size. in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 194

Warning: Trying to access array offset on value of type bool in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 198

Warning: Trying to access array offset on value of type bool in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 199

Warning: Trying to access array offset on value of type bool in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 200

Notice: Image extension is invalid or not supported. in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 134

Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php:280 Stack trace: #0 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(144): image_kissit->resize(960, 720, '1') #1 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(82): image_helper->_generateThumbnail() #2 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(56): image_helper->assemble() #3 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image.php(206): image_helper::generate_thumb(Object(Image)) #4 /home/innovativerc/public_html/phonixadmin/includes/components/infobox.php(55): Image->__toString() #5 /home/innovativerc/public_html/phonixadmin/includes/components/paginated_table.php(88): require('/home/innovativ...') #6 /home/innovativerc/public_html/phonixadmin/includes/classes/paginator.php(69): include('/home/innovativ...') #7 /home/innovativerc/public_html/phonixadmin/manufacturers.php(84): Paginator->display_table() #8 {main} Next TypeError: imagedestroy(): Argument #1 ($image) must be of type GdImage, string given in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php:185 Stack trace: #0 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php(185): imagedestroy('') #1 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(82): image_kissit->__destruct() #2 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(56): image_helper->assemble() #3 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image.php(206): image_helper::generate_thumb(Object(Image)) #4 /home/innovativerc/public_html/phonixadmin/includes/components/infobox.php(55): Image->__toString() #5 /home/innovativerc/public_html/phonixadmin/includes/components/paginated_table.php(88): require('/home/innovativ...') #6 /home/innovativerc/public_html/phonixadmin/includes/classes/paginator.php(69): include('/home/innovativ...') #7 /home/innovativerc/public_html/phonixadmin/manufacturers.php(84): Paginator->display_table() #8 {main} thrown in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 185
i did reupload new images for some, error goes away but as soon as i click a new listing, and click back to it the above error comes right back

on the home page i get this error and i dont know why
how do i track down which image is causeing issues..

Code: Select all

Warning: imagecreatefrompng(): "./images/" is not a valid PNG file in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 397

Fatal error: Uncaught TypeError: imagesx(): Argument #1 ($image) must be of type GdImage, bool given in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php:398 Stack trace: #0 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php(398): imagesx(false) #1 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php(300): image_kissit->_watermark(Object(GdImage), 250, 250) #2 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(144): image_kissit->resize(250, 250, '1') #3 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(82): image_helper->_generateThumbnail() #4 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_helper.php(56): image_helper->assemble() #5 /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image.php(206): image_helper::generate_thumb(Object(Image)) #6 /home/innovativerc/public_html/templates/override/includes/components/product_card.php(1): Image->__toString() #7 /home/innovativerc/public_html/templates/default/includes/components/box.php(4): include('/home/innovativ...') #8 /home/innovativerc/public_html/includes/modules/block_template.php(14): include('/home/innovativ...') #9 /home/innovativerc/public_html/includes/modules/boxes/bm_whats_new.php(45): include('/home/innovativ...') #10 /home/innovativerc/public_html/includes/system/versioned/1.0.8.4/template.php(79): bm_whats_new->execute() #11 /home/innovativerc/public_html/templates/default/includes/components/template_top.php(13): Template->build_blocks() #12 /home/innovativerc/public_html/templates/default/includes/pages/index.php(13): require('/home/innovativ...') #13 /home/innovativerc/public_html/index.php(17): require('/home/innovativ...') #14 {main} thrown in /home/innovativerc/public_html/includes/system/override/kiss_image_thumbnailer/image_kissit.php on line 398
is there a problem in a file for kissit?
can i reupload all files from the latest kissit and over write them all with out problems?
this version has been upgrades alot from very early on, and very early phonix versions
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Contact:

Re: no thumbs gerneated and fatal error even on new image up

by raiwa » Tue Apr 23, 2024 7:21 am

I'm sorry, but the provided information is very confusing and incomplete.
kudos wrote: kissit is no making any thumbs, i did clear the cache but makes afew folders in the thumbs directory but no images are gernerated
- are you referring here to the admin image directory or to the public shop side image directory?
- do you have the optional admin thumbs support added?
- Is it a new clean Phoenix 1.0.9.1 and Kissit Image installation from scratch or did you update from a previous installation?
- It sounds like you have only problems on admin side and it works correct on the public shop side.
- Make sure you have not any other addons or modification which may interfere.

Please confirm each above point.

If you updated from previous versions, check that you do not have left the old Kissit version’s admin thumb support.

To show the errors on each place where it occurs, add the following to your includes/configure.php at the top:

Code: Select all

  error_reporting(E_ALL);
  ini_set('display_errors','1'); 
Try to completely uninstall KissIt. See “uninstall” folder in the package and make sure to remove all kissit files from previous versions.
Check that all images are showing correct.
Then install again and try without changing any image configuration setting.

If you still have problems. Test on your server with a clean new Phoenix 1.0.9.1 and Kissit Image installation.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: no thumbs gerneated and fatal error even on new image up

by kudos » Tue Apr 23, 2024 8:09 am

- are you referring here to the admin image directory or to the public shop side image directory?
sorry in the catalog folder/images/thumbs
it is making folders but has not gernerated any images
- do you have the optional admin thumbs support added?
i have added it in and it has made no difference on error
admin or public side
- Is it a new clean Phoenix 1.0.9.1 and Kissit Image installation from scratch or did you update from a previous installation?
this is an upgraded version from very early on phonix
addons are, and updated

strip,paypal from cartmaster on payments,
guest checkout,
kissit,
s01e01 - Maths Captcha
s01e02 - Items Per Page - File Changes!
s01e05 - Google Recaptcha
s01e08 & s01e09 - Layout Modules for Product Info
s02e10 - Low Stock Dashboard - SQL Mod
s02e11 - Tab system for products
s03e01 - Inventory
s03e04 - Layout Modules
s03e05 - Reinforcement Messages
s03e06 - Ajax Buy Buttons
s03e07 - Footer Modules
s03e09 - Horizontal Menu - maybe changes
s04e02 - Carousel
s04e04 - Alert Message
s04e12 - Responsible Social Icons
s04e07 - Navbar Search - SQL
s05e03 - Invoice Comments
s04e06 - Solve Large Image (Categories)
s01e03 - Solve Large Images
- It sounds like you have only problems on admin side and it works correct on the public shop side.
- Make sure you have not any other addons or modification which may interfere.
public and admin

first error is from the admin side in the product catagory or manufacrue areas when editing products. only place i found this error happen so far from the images on products i assume

the 2nd posted error is from the main home page, which stops the page from loading any content right now.

will proceed and debug further with the rest of the info you posted and report back

thank you
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Contact:

Re: no thumbs gerneated and fatal error even on new image up

by raiwa » Tue Apr 23, 2024 9:19 am

I do not have these in the latest pro versions list and do not know what they do:
s04e06 - Solve Large Image (Categories)
s01e03 - Solve Large Images
Maybe they interfere?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: no thumbs gerneated and fatal error even on new image up

by kudos » Tue Apr 23, 2024 8:17 pm

went looking to see what they are i found this in the last package for 1.0.8.0

s04e06 - Solve Large Image (Categories)
Not needed from v1.0.5.1 onwards as this Supporters Code dropped into Core Code

s01e03 - Solve Large Images
Not needed from v1.0.5.1 onwards as this Supporters Code dropped into Core Code
so i seems i left them on my addon notes for the store as legacy notes
kudos
Member
Posts: 20
Joined: Sat Jan 16, 2021 8:48 pm
Phoenix Version:
Contact: