ERROR: CDbCommand failed to execute the SQL statement: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'eshop2.sxproductfamily' doesn't exist. The SQL statement executed was: SELECT p.productfam_code, p.productfam_name, p.productfam_desc, p.sequence, p.on_promo, p.display_promo, p.promo_start_date, p.promo_end_date, p.startdate, p.enddate, p.promo_url, p.display_ind, im.filename as 'IMAGENAME' FROM `sxproductfamily` AS p INNER JOIN `sxproduct` AS pr ON pr.productfam_code = p.productfam_code INNER JOIN `images` AS im ON im.reference_code = pr.product_code WHERE ( ( p.startdate <= NOW( ) AND p.enddate >= NOW( ) ) OR ( p.startdate <= NOW( ) AND p.enddate IS NULL ) ) AND p.display_ind = 'Y' AND p.status =1 AND im.reference='p' AND im.status='1' ORDER BY p.sequence ASC