Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with adding new table in database


komsi

Recommended Posts

I have added a new table in tha database but i get this error:

1146 - Table 'shop.TABLE_ORDERS_COMPLETED' doesn't exist

 

I have this table "ORDERS_COMPLETED" in the database so i don´t understand this error ??

 

Do i have to define this new table somewhere else ??

Link to comment
Share on other sites

I have added a new table in tha database but i get this error:

1146 - Table 'shop.TABLE_ORDERS_COMPLETED' doesn't exist

 

I have this table "ORDERS_COMPLETED" in the database so i don´t understand this error ??

 

Do i have to define this new table somewhere else ??

Probably in /admin/includes/database_tables.php

 

Something like this:

 

  define('TABLE_ORDERS_COMPLETED', 'orders_completed');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...