taosan Posted February 28, 2005 Share Posted February 28, 2005 Hi there :'( I just implemented the Featured Products contribution in my OSC but gives this error in my admin page: 1146 - Table 'gadgetsk_shop.TABLE_FEATURED' doesn't exist select count(*) as total from products p, TABLE_FEATURED s, products_description pd where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = s.products_id [TEP STOP] I have checked 100 times but can`t find the error. I also installed the sql file that was included. Please help. :'( Taosan. Quote Link to comment Share on other sites More sharing options...
Milo_CHS Posted March 9, 2005 Share Posted March 9, 2005 I have pretty much this exact same problem. Can anyone help? Quote Link to comment Share on other sites More sharing options...
giftmaster Posted March 9, 2005 Share Posted March 9, 2005 I have pretty much this exact same problem. Can anyone help? <{POST_SNAPBACK}> Did you install the bug fix for featured products? If you had renamed the "categories_description" table in your database you would get an error. Only changed the /includes/modules/featured.php on Line 20 as follows: ORIGINAL: $cat_name_query = tep_db_query("select categories_name from categories_description where categories_id = '" . $featured_products_category_id . "' limit 1"); $cat_name_fetch = tep_db_fetch_array($cat_name_query); FIXED: $cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1"); Quote Link to comment Share on other sites More sharing options...
241 Posted March 9, 2005 Share Posted March 9, 2005 check that you have the table defined in database_tables.php Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.