Over the weekend we upgraded our servers to MySQL 5; and with the help of several posts here I've been able to get Featured Sets working again on the index page, but I am still getting the "1054 - Unknown column 'p.products_id' in 'on clause'" error in the category level. I have attempted to adjust the following line, around line 33, in includes/modules/featured_sets.php, but to no avail.
else { // We are in category depth
$featured_products_query_raw = "SELECT distinct p.products_id, pd.products_name, p.products_image, p.products_tax_class_id, pd.products_description, pd.products_short, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_CATEGORIES . " c left join " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c on p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$featured_products_category_id . "' and p.products_status = '1' and p.products_featured = '1' order by " . FEATURED_PRODUCTS_SORT_ORDER . " " . FEATURED_PRODUCTS_DIRECTION . " limit " . MAX_DISPLAY_FEATURED_PRODUCTS;
}
Has anyone else running MySQL 5 encountered this? Any help would be greatly appreciated!
Thanks in Advance! ~ Mandy