Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
retched
PHP 8.3.7 // ZC 2.0.1 // Image Handler 5.3.4 (as last available in the plugin directory)
I've since reinstalled and cleared the add on, but still am treated to the same error message. I'm 99% sure this is because I'm running PHP 8 but don't know what change to make here to make this PHP 8 safe.
Any help here with this warning debug message I've received?
are you sure this file in your install is the same as this one?
https://github.com/zencart/zencart/b...vious_next.php
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
carlwhat
Same exact one. Just to be sure I went to GitHub (of ZenCart) and redownloaded it.
Re: Image Handler 5 (for v1.5.5) Support Thread
it looks like you have a category with no products.
all of the vars get set in this section of code:
https://github.com/zencart/zencart/b...xt.php#L75-L92
so your id_array is 0; ie no products in the category, based on the sql results from a little above.
probably something that needs to be looked at.
best.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
carlwhat
it looks like you have a category with no products.
all of the vars get set in this section of code:
https://github.com/zencart/zencart/b...xt.php#L75-L92
so your id_array is 0; ie no products in the category, based on the sql results from a little above.
probably something that needs to be looked at.
best.
Yup that's what I'm look at as well, but what's odd is that the same line of code is still showing a list of the products. The Previous button recognizes it's at the top of the list and proceeds to cycle to the end of the list. The next button works when there is a product selected but it's not going through when nothing is selected in the combo box at the default.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
carlwhat
it looks like you have a category with no products.
all of the vars get set in this section of code:
https://github.com/zencart/zencart/b...xt.php#L75-L92
so your id_array is 0; ie no products in the category, based on the sql results from a little above.
probably something that needs to be looked at.
best.
Not sure that is true. There is a list of products being returned, see the Combo Box, but for some reason the "next_item" isn't being set to the first item despite the previous button is going backwards to the last item of the list.
https://i.imgur.com/rJr9FQb.png
Re: Image Handler 5 (for v1.5.5) Support Thread
What's the associated URL (from the browser's address bar)? I've been fussing with various display options and can't trigger those warnings.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
What's the associated URL (from the browser's address bar)? I've been fussing with various display options and can't trigger those warnings.
This one:
https://www.localhost.com/justuptown...=image_handler
No anything selected.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
retched
So I updated my local XAMPP installation to use PHP 8.3.7 in the hopes that that would bring those logs to light, but no-go.
I reset the sort-order for the Test Examples category in the demo products to 0 so that a category with products would be the first to load (like in your screenshot). I get the same-ish display when I navigate to that URL via Tools :: Image Handler-5, but still no PHP warnings.
I'm quickly running out of ideas.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
So I updated my local XAMPP installation to use PHP 8.3.7 in the hopes that that would bring those logs to light, but no-go.
I reset the sort-order for the Test Examples category in the demo products to 0 so that a category with products would be the first to load (like in your screenshot). I get the same-ish display when I navigate to that URL via Tools :: Image Handler-5, but still no PHP warnings.
I'm quickly running out of ideas.
Likewise.
So far I have:
- Uninstalled and reinstalled IH5. (Completely remove the files and the configurations.)
- Went back and overwrote the files mentioned within the log with the newest version of each one from the respective git repository. (Both ZenCart 2.0.1 and Image Handler.)
Still receiving the error/warnings. I'm almost tempted to spin up a fresh 2.0.1 and try it there.
The Attributes Controller which uses a similar Next/Previous display doesn't display these errors.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
retched
Likewise.
So far I have:
- Uninstalled and reinstalled IH5. (Completely remove the files and the configurations.)
- Went back and overwrote the files mentioned within the log with the newest version of each one from the respective git repository. (Both ZenCart 2.0.1 and Image Handler.)
Still receiving the error/warnings. I'm almost tempted to spin up a fresh 2.0.1 and try it there.
The Attributes Controller which uses a similar Next/Previous display doesn't display these errors.
If you do a database gzipped/zipped export and PM me a link through which I can download that file, I can inspect locally to see what I can see.