Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newsletter Module


otavio

Recommended Posts

someone can help me?

My problem with newsletter contribution is:

 

1146 - Table 'amazon117.TABLE_NEWSLETTERS' doesn't exist

 

select count(*) as total from TABLE_NEWSLETTERS where module = 'newsletter_subscribers'

 

How can I solve this? This table doesn't exist in application_top. PHP_ADD or in my db.

Link to comment
Share on other sites

I had the same problem and I fixed it by adding a definition to the application_top.php file. Your addition should look something like this:

 

define('TABLE_NEWSLETTERS', 'newsletters');

 

There should be a table named 'newsletters' or something like that in your database from the install. The define above is basically mapping the symbolic name in the newsletter code to the actual table name in the database.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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