
Originally Posted by
yellow1912
Okie, I suspect something went wrong here, it is neither ssu bug or any other module bug, I suspect something like this:
you somehow deleted part of the file name def.
Use your developer tool kit to find this:
FILENAME_PRODUCT_INFO
This is how the product link is normally built
PHP Code:
$lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
And here is the function to get the product type
PHP Code:
function zen_get_info_page($zf_product_id) {
global $db;
$sql = "select products_type from " . TABLE_PRODUCTS . " where products_id = '" . (int)$zf_product_id . "'";
$zp_type = $db->Execute($sql);
if ($zp_type->RecordCount() == 0) {
return 'product_info';
} else {
$zp_product_type = $zp_type->fields['products_type'];
$sql = "select type_handler from " . TABLE_PRODUCT_TYPES . " where type_id = '" . (int)$zp_product_type . "'";
$zp_handler = $db->Execute($sql);
return $zp_handler->fields['type_handler'] . '_info';
}
}
As you can see, turning of ssu didnt solve it, so ssu is not the cause of this. My wild guess is that you somehow messed up the product type field. Perhaps all the product type is missing (are you using eazy populate by any chance?)
This is rare tho.
Perhaps you can use your phpmyadmin, and go to table product_types and see if something is wrong there, you can get the list of records there and post here, tho it is not really related to SSU.