Sorry to bump again but still cannot find anything that would affect the categories in question.
- I've upgraded from 1.3.9g - v1.5.4.
- I've upgraded manually also migrating the DB manually.
- Plugins installed are FAQ manager, Google RECapacha, Small self wrote plugin to display and scroll out category descriptions, Zen Cart Multisite module.
- I have my own server so installed via SSH.
- MySQL 5.6.25-4 PHP Version: 5.6.12-1 (Zend: 2.6.0).
- Domain http://www.norfolklights.com.
Old site works fine. New site does not display multiple products if they have been allocated a master category ID from a new category. So if I create a new category then create a product in that category it shows as a single product view. If I add another product they all disappear. If I copy them over to an old category (migrated from the old database) They show in the new and old category.
Database tables I know are being called that could be affecting.
products
categories
categories_to _products
Database table structure matches everything for these tables from the old to the new. When the category is being created all the relevant information is being created within the database. Admin sees everything as it should and the categories are being displayed correctly.
Reason why I don't think it's a server issue; Because when the product master ID changes it appears instantly.
I'm struggling to find where these lists are being generated. I've been though a few classes and other parts but nothing jumps out from the old site to the new ? I'm convinced this is a database issue. I need to see what's going on to debug as no errors are being generated when products fail to appear. I've had another friend who works with Zen Cart have a look and he sat their scratching his head too :( Any pointers would be much appreciated. I'm not asking to be spoon fed just if anyone knows the internals of Zen enough to point me to the right files I should be able to add my own debugging and see what the fook is going on.
This is defo not a product issue because the product exists with any master_id allocated it's just when the product is allocated a master_category_id from a newly created category it's not displayed in any category. So for some reason that product is not being passed over into the product list.
Example1:
http://www.norfolklights.com/trays-tanks-c-66_360/
This category has three products. Two have old category master_cat_id's and one has been allocated a new one. Only two products show.
Example2:
http://www.norfolklights.com/pots-c-66_27/
This category has three products all with new category master_cat_id's
Example3:
http://www.norfolklights.com/test-c-361/test1-p-2418.html
Here a new product was created in a new category. As you can see a single product with a new master_cat_id is being displayed ? What makes me think it may be a template issue maybe a function somewhere ?