ZC 1.5.7a, PHP 7.4 - Clone Template, Edit Orders, Zen Colorbox 2.1.2, Image Handler 5.1.9
I've installed the above plugins on my store in a test enviroment and everything seems to be running smoothly except get a ton of myDebug warnings. Every time I click on a product image get a 35kb+/- warning message. Only posting the last part of one of the warnings:
PHP Warning: Use of undefined constant LARGE_IMAGE_HEIGHT - assumed 'LARGE_IMAGE_HEIGHT' (this will throw an Error in a future version of PHP) in /home/XXXXXX/public_html/includes/modules/custom_responsive_classic/zen_colorbox.php on line 18.
On the forum here:
https://www.zen-cart.com/showthread....olorbox/page29 an SQL patch is posted for the issue, when applied the errors go away BUT it causes another problem- clicking the main product image will open in Colorbox window as correct size image, but the rest of the gallery images open up in tiny windows.
Before applying the SQL patch if I "Copy Link Address" of additional image thumbnails on product listing page they look like this:
https://XXXXX/bmz_cache/0/092420-MY[/url] PRODUCT_02jpg.image.600x450.jpg
After I run the SQL patch and IH 5 is enabled to resize images the links to my additional image thumbnails look like this:
https://XXXXXX/bmz_cache/0/0-092420-092420-MY[/url] PRODUCT_02jpgimage600x450jpg.image.150x112.jpg
If I disable IH 5 then Colorbox resumes working correctly.
Am thinking it might be easiest just not to run the SQL patch and disable the myDebug warnings for this problem as long as they are not causing any harm. Not sure how to do this.
Any suggestions or fixes are appreciated.
Thanks, Ted
Bookmarks