Guest Posted March 11, 2008 Posted March 11, 2008 I'm trying to test the Discount Coupon Codes contribution http://addons.oscommerce.com/info/4269 The problem I'm seeing is when I try to log in to my admin I get the following error: 1146 - Table 'db238413645.TABLE_ADMINISTRATORS' doesn't exist select id from TABLE_ADMINISTRATORS limit 1 [TEP STOP] I've check the bug fixes and believe I have made all the necessary changes but it still won't work. I'm using V2.2 RC2. I've also ckecked teh database and the administrators table is fine. I'd really like to get this working and hope someone can point me in the right direction. Regards, Karl. Quote
web-project Posted March 11, 2008 Posted March 11, 2008 if you read properly the error, this is not the Discount Coupon Codes contribution problem as you can see from your error it's missing the oscommerce name for administrators table. you need to open the database_tables.php file and add the following code: define('TABLE_ADMINISTRATORS', 'administrators'); Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
Guest Posted March 12, 2008 Posted March 12, 2008 if you read properly the error, this is not the Discount Coupon Codes contribution problem as you can see from your error it's missing the oscommerce name for administrators table. you need to open the database_tables.php file and add the following code: define('TABLE_ADMINISTRATORS', 'administrators'); Hi, I'm afraid that doesn't help. The Discount Coupon Codes contribution replaces the database_tables.php file and indeed the define('TABLE_ADMINISTRATORS', 'administrators'); is missing. However placing the code back into the database_tables.php file makes no difference. Same error. To be clear this is a test site. The admin login was working fine with the new install the only change made to this installation is the introduction of the Discount Coupon Codes contribution after which the admin login no longer works and the error is displayed. Any more advice is very much appreciated. Thanks, Karl. Quote
satish Posted March 12, 2008 Posted March 12, 2008 You should not replace rather take a tool similar to winmerge and compare the data asbe table file and add the extra defines associated with discount code. after placing in file define('TABLE_ADMINISTRATORS', 'administrators'); If you still get the same bug YOu need to change whether this file is getting included or not. If Yes then paste the error. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
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.