Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

Posted

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

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.

Posted
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.

Posted

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

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...