KissIT Image Thumbnailer

ERROR FRONTEND - KissIT Image Thumbnailer

ERROR FRONTEND

by randers » Sat Dec 02, 2023 6:20 pm

Hi Raiwa

Tested KissIT_image_thumbnailer_4.5.2 on a clean download installation of Phoenix 1.0.8.16 and following errors shows on front page. The 1.0.8.16 has no changes or other add ons installed.

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in phoenix_master\includes\system\override\kiss_image_thumbnailer\image_kissit.php:125 Stack trace: #0 phoenix_master\includes\system\override\kiss_image_thumbnailer\image_helper.php(143): image_kissit->open('images/sample/l...', Array) #1 phoenix_master\includes\system\override\kiss_image_thumbnailer\image_helper.php(82): image_helper->_generateThumbnail() #2 phoenix_master\includes\system\override\kiss_image_thumbnailer\image_helper.php(56): image_helper->assemble() #3 phoenix_master\includes\system\override\kiss_image_thumbnailer\image.php(206): image_helper::generate_thumb(Object(Image)) #4 phoenix_master\templates\override\includes\components\product_card.php(1): Image->__toString() #5 phoenix_master\templates\default\includes\components\box.php(4): include('...') #6
phoenix_master\includes\modules\block_template.php(14): include('...') #7
phoenix_master\includes\modules\boxes\bm_whats_new.php(45): include('...') #8 phoenix_master\includes\system\versioned\1.0.8.4\template.php(79): bm_whats_new->execute() #9 phoenix_master\templates\default\includes\components\template_top.php(13): Template->build_blocks() #10 phoenix_master\templates\default\includes\pages\index.php(13): require('...') #11
phoenix_master\index.php(17): require('...') #12 {main} Next Error: Call to undefined function imagedestroy() in phoenix_master\includes\system\override\kiss_image_thumbnailer\image_kissit.php:185 Stack trace: #0 phoenix_master\includes\system\override\kiss_image_thumbnailer\image_helper.php(82): image_kissit->__destruct() #1 phoenix_master\includes\system\override\kiss_image_thumbnailer\image_helper.php(56): image_helper->assemble() #2 phoenix_master\includes\system\override\kiss_image_thumbnailer\image.php(206): image_helper::generate_thumb(Object(Image)) #3 phoenix_master\templates\override\includes\components\product_card.php(1): Image->__toString() #4 phoenix_master\templates\default\includes\components\box.php(4): include('...') #5
phoenix_master\includes\modules\block_template.php(14): include('D:\\xampp\\htdocs...') #6 phoenix_master\includes\modules\boxes\bm_whats_new.php(45): include('...') #7 phoenix_master\includes\system\versioned\1.0.8.4\template.php(79): bm_whats_new->execute() #8 phoenix_master\templates\default\includes\components\template_top.php(13): Template->build_blocks() #9 phoenix_master\templates\default\includes\pages\index.php(13): require('...') #10
phoenix_master\index.php(17): require('...') #11 {main} thrown in phoenix_master\includes\system\override\kiss_image_thumbnailer\image_kissit.php on line 185

[phoenix] version = 1.0.8.16
[mysql] version = 10.4.28-MariaDB
[php] version = 8.0.28
KissIT_image_thumbnailer_4.5.2
randers
Member
Posts: 32
Joined: Mon Oct 26, 2020 8:22 pm
Phoenix Version: v1.0.8.16
Contact:

Re: ERROR FRONTEND

by raiwa » Sat Dec 02, 2023 7:11 pm

Please check that you have all kissit files uploaded. Maybe upload again the whole package and replace files.
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: ERROR FRONTEND

by randers » Sun Dec 03, 2023 11:22 am

The error is on my desktop computer. Uplaoded agian, but same error.
I then installed clean 1.0.8.16 on live test site and after uploaded 2 times it works. Will test to see that all is ok before I upload to live store.
randers
Member
Posts: 32
Joined: Mon Oct 26, 2020 8:22 pm
Phoenix Version: v1.0.8.16
Contact:

Re: ERROR FRONTEND

by randers » Sun Dec 03, 2023 5:08 pm

As far as I have tested everything is woriking fine on live testshop.

However, I installed on my local coputer folder by folder and when folder "kiss_image_thumbnailer" is installed following error shows up

Fatal error: Uncaught Error: Undefined constant "KISSIT_THUMBS_MAIN_DIR" in D:\xampp\htdocs\10816\includes\system\override\kiss_image_thumbnailer\image_helper.php:92 Stack trace: #0 D:\xampp\htdocs\10816\includes\system\override\kiss_image_thumbnailer\image_helper.php(74): image_helper->_checkImage() #1 D:\xampp\htdocs\10816\includes\system\override\kiss_image_thumbnailer\image_helper.php(56): image_helper->assemble() #2 D:\xampp\htdocs\10816\includes\system\override\kiss_image_thumbnailer\image.php(206): image_helper::generate_thumb(Object(Image)) #3 D:\xampp\htdocs\10816\includes\modules\content\header\templates\tpl_cm_header_logo.php(2): Image->__toString() #4 D:\xampp\htdocs\10816\includes\modules\content\cm_template.php(14): include('D:\\xampp\\htdocs...') #5 D:\xampp\htdocs\10816\includes\modules\content\header\cm_header_logo.php(23): include('D:\\xampp\\htdocs...') #6 D:\xampp\htdocs\10816\includes\system\versioned\1.0.8.4\template.php(106): cm_header_logo->execute() #7 D:\xampp\htdocs\10816\templates\override\includes\components\header.php(15): Template->get_content('header') #8 D:\xampp\htdocs\10816\templates\override\includes\components\template_top.php(59): require('D:\\xampp\\htdocs...') #9 D:\xampp\htdocs\10816\templates\default\includes\pages\products_new.php(15): require('D:\\xampp\\htdocs...') #10 D:\xampp\htdocs\10816\products_new.php(32): require('D:\\xampp\\htdocs...') #11 {main} thrown in D:\xampp\htdocs\10816\includes\system\override\kiss_image_thumbnailer\image_helper.php on line 92
randers
Member
Posts: 32
Joined: Mon Oct 26, 2020 8:22 pm
Phoenix Version: v1.0.8.16
Contact:

Re: ERROR FRONTEND

by raiwa » Sun Dec 03, 2023 5:37 pm

Uninstall and install again
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: ERROR FRONTEND

by randers » Sun Dec 03, 2023 7:46 pm

Sorry, but I don't think this will work on my local computer. Tried install and uninstall files and run db_uninstall.php more than 10 times, but same error. If i remove file image.php in kiss_image_thumbnailer the error message disappear.
randers
Member
Posts: 32
Joined: Mon Oct 26, 2020 8:22 pm
Phoenix Version: v1.0.8.16
Contact:

Re: ERROR FRONTEND

by raiwa » Mon Dec 04, 2023 7:42 am

Did you: documentation: New Installation: Step 2) DB Installation ?
When I say "Uninstall and install again"
I mean:
- Read and do all steps as explained in the Uninstall doc
- Read and do all steps as explained in the New Installation doc
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: