Those are the pages using the function ... they might help you determine where the paramater values are incorrect for the function ...
Those are the pages using the function ... they might help you determine where the paramater values are incorrect for the function ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I'm going to start comparing later tonight or tomorrow, and I'm looking for a hint on what to look for if possible.
I'm in maintance mode and it has generated no myDebug errors since I've been in that mode, I can move around my site and do searches and all and I get no myDebug errors, now when I ran that search query it generated 5 myDebug errors, I'm assuming once for each of the pages it returned.
I'm hoping that will help
Thanks
Dan
If the admin search is generating MORE error logs, then it's very likely that the DETAILS of those errors are different than the ones which were triggered by trying to draw the categories list on your storefront.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I just ran it again to see what the errors are and none generated, it must have been 5 I missed when clearing out the cache
I compared files, everything I can tell is fine. It's from an add on, and it's from a page added, since the original install doesn't have a file to compare it to I don't know which file added is causing the problem.
My main page doesn't cause an error, when you are at the items page you don't get the error, now when I go to the catagory page that lists all the items in that catagory, I get the error, I noticed in the section that says "New Products For February - CATAGORY" The word catgory is from the wrong catagory I am in.
Which files create the New product areas and that listing page?
Do you know what addon mods are installed on your site? You should. If not, what functions related to categories are different in Classic and in your custom template? Do you get the category name error in Classic? That would indicate a mod erroneously installed in /template_default/, or a corrupted file.
I'm finding this same issue sporadically across Zen Cart sites ranging from 1.3.8a to 1.3.9h. The site with 1.3.9h only has Fast and Easy AJAX Checkout installed.
A band-aid solution may be to add something like this before the problematic line in functions_categories.php:
This assumes that if $categories_id is an array, then it's an array of category ids.PHP Code:if (is_array($categories_id)) $categories_id = implode('_', $categories_id);