Jump to content
Sign in to follow this  

Featured Products errors

Recommended Posts

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




I have checked 100 times but can`t find the error. I also installed the sql file that was included. Please help. :'(



Share this post

Link to post
Share on other sites
I have pretty much this exact same problem.  Can anyone help?

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:



$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);




$cat_name_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $featured_products_category_id . "' limit 1");

Share this post

Link to post
Share on other sites

check that you have the table defined in database_tables.php

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this