Jump to content
Sign in to follow this  
bizcribz

Table Error

Recommended Posts

I get this when I click Checkout:

 

1146 - Table 'thebras_thebraspecialistcomonlinestore.TABLE_DISCOUNT_COUPONS' doesn't exist

 

SELECT dc.* FROM TABLE_DISCOUNT_COUPONS dc WHERE coupons_id = 'Test' AND ( coupons_date_start <= CURDATE() OR coupons_date_start IS NULL ) AND ( coupons_date_end >= CURDATE() OR coupons_date_end IS NULL )

 

[TEP STOP]

 

 

The table does exist, I checked the tables to see if it was there and it is and it is populated with the coupon code Test. Please help!!

Share this post


Link to post
Share on other sites
I get this when I click Checkout:

 

1146 - Table 'thebras_thebraspecialistcomonlinestore.TABLE_DISCOUNT_COUPONS' doesn't exist

 

SELECT dc.* FROM TABLE_DISCOUNT_COUPONS dc WHERE coupons_id = 'Test' AND ( coupons_date_start <= CURDATE() OR coupons_date_start IS NULL ) AND ( coupons_date_end >= CURDATE() OR coupons_date_end IS NULL )

 

[TEP STOP]

The table does exist, I checked the tables to see if it was there and it is and it is populated with the coupon code Test. Please help!!

Did you forget to run an sql file?


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×