mattusa Posted October 17, 2005 Share Posted October 17, 2005 Hi everybody, I'm having a strange problem with Featured Products (http://www.oscommerce.com/community/contributions,651). I installed it, everything was working fine, expect for the access to the featured table in the database: 1146 - Table xxxxxx.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] What's strange is that when I check with phpmyadmin, the table does exist. I tried to modify the feature.php file and create a new table, but it still does not find it. Did somebody had this problem before. Have you any idea where it comes from. Why would the program not be abble to access this table in particular, when it can access all the other one??? Thanks, Matt Quote Link to comment Share on other sites More sharing options...
241 Posted October 17, 2005 Share Posted October 17, 2005 The issue is that the table has not been defined, had the table been defined but missing from the database the error would be Table xxxxxx.featured' doesn't exist showing that the table is defined by the textual part being in the correct case, however with your error stating TABLE_FEATURED this indicates that the table has not been defined in includes/database_tables.php define(TABLE_FEATURED, 'featured'); 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...
mattusa Posted October 17, 2005 Author Share Posted October 17, 2005 The issue is that the table has not been defined, had the table been defined but missing from the database the error would be Table xxxxxx.featured' doesn't exist showing that the table is defined by the textual part being in the correct case, however with your error stating TABLE_FEATURED this indicates that the table has not been defined in includes/database_tables.php define(TABLE_FEATURED, 'featured'); :P Thank you very much, it seems I forgot to upload the corrected file. It's working fine now! Thanks again Quote 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.