Jump to content

'Bad SQL query' when trying to access product list in back-office.


Recommended Posts

Hi, everything in the 'catalog' tab is working fine except the product list. When I click on 'products' I got this message:
 

Bad SQL query
Table 'my_db_name.ps_order_detail' doesn't exist.

 

 

Problem is i'm using prefix 'ps16_' not 'ps_', the table ps16_order_detail exists and orders are working just fine.

I guess it has something to do with a 'DB_PREFIX' error or something but I can't figure how to fix this.

I'm on Prestashop 1.6.1.0 and haven't made significant changes recently...

 

Any help would be much appreciated.

Thanks.

 

edit: 'db_prefix' in 'settings.inc.php' is correctly defined:

'_DB_PREFIX_', 'ps16_'

I'm using this Prestashop installation for a while now, and the problem only occured this morning, everything else (orders, products, combinations...) is working fine.

Edited by FLORENT GERAULT (see edit history)
Link to comment
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
×
×
  • Create New...