DrByte's questions as usual are probably where I should have started my line of questioning!
In phpmyadmin one can export the results from a single SQL query (very useful in cases like this):
- Run the SQL query.
- Find the "Query results operations" section (usually under the results from the query).
- Click "Export" in the "Query results operations" section.
- Select "custom".
- Under "Format-specific options:" change from "structure and data" to just "data".
- Press "Go" to export.
The SQL queries to grab (one at a time):
Code:
// Add your DB_PREFIX if one is defined. For example if the DB_PREFIX is zen_
// FROM `products` below would become `zen_products`.
// Replace '1','2' with the product ids of a couple bad and good entries
// preferably the old product (which was disabled) and the new product (replacing it).
SELECT * FROM `products` WHERE `products_id` IN ('1','2');
SELECT * FROM `products_attributes` WHERE `products_id` IN ('1','2');
SELECT * FROM `products_discount_quantity` WHERE `products_id` IN ('1','2');
SELECT * FROM `products_to_categories` WHERE `products_id` IN ('1','2');
SELECT * FROM `products_description` WHERE `products_id` IN ('1','2');
SELECT * FROM `specials` WHERE `products_id` IN ('1','2');
// For rest of the queries replace '4' with the category id returned in
// the first SQL query (FROM `products`).
SELECT * FROM `salemaker_sales` WHERE `sale_categories_all` LIKE '%,4,%' ;
// Doubt this is involved, but make sure it returns no entries.
SELECT `categories_id` FROM `categories` WHERE `parent_id` = '4';
The above queries should hopefully help us see any differences in the data for the affected products. I'm going to guess the differences will be one or more of: character data, sales data, or image data. These are the ones I've seen cause a blank page w/o a debug log when viewing the product listing page in the past.
I suppose it COULD also be a corrupted MySQL table (can run a repair on the tables from phpMyAdmin) - but usually I've gotten debug logs for corrupt tables with Zen Cart 1.5.3.