Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi all,

 

I have the below error on checkout_process.php. My database has the below table, but I'm unsure how to correct the PHP if that's where the issue is. I used the installer.php utility (which is a work of art by the way) to update my database.

 

1146 - Table 'Shop.TABLE_CUSTOMERS_POINTS_PENDING' doesn't exist

 

insert into TABLE_CUSTOMERS_POINTS_PENDING (unique_id, customer_id, orders_id, points_pending, date_added, points_comment, points_type, points_status) values ('', '3', '20', '246', now(), 'TEXT_DEFAULT_COMMENT', 'SP', '1')

 

[TEP STOP]

 

Thanks for any and all suggestions/help !

Posted
1146 - Table 'Shop.TABLE_CUSTOMERS_POINTS_PENDING' doesn't exist

 

insert into TABLE_CUSTOMERS_POINTS_PENDING (unique_id, customer_id, orders_id, points_pending, date_added, points_comment, points_type, points_status) values ('', '3', '20', '246', now(), 'TEXT_DEFAULT_COMMENT', 'SP', '1')

You need to add the define for that table, probably both on the catalog and admin side (typically includes/database_tables.php)? Probably also the define for TEXT_DEFAULT_COMMENT?

Posted
You need to add the define for that table, probably both on the catalog and admin side (typically includes/database_tables.php)? Probably also the define for TEXT_DEFAULT_COMMENT?

 

Thank you thank you ! That was it.

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