LinuxUK
   Home About us Design services Get in Touch Testimonails Create and account / Log in
Categories
 Templates

 Security checks

 Support Club

 Tips and Tricks

 How to guides osC

 My Contributions

 osCommerce versions

 Base64 Decoder

 Link to us!

1054 - Unknown column
Product stats Product Stats
Products name Product Name: 1054 - Unknown column
Products model Model: Errors
Products info Product description

1054 - Unknown column 's.public_flag' in 'where clause'
select count(*) as total from orders o, orders_status s where o.customers_id = '2' and o.orders_status = s.orders_status_id and s.language_id = '1' and s.public_flag = '1'
[TEP STOP]

This problem is caused by a missing database entry, to resolve it all you have to do is edit the database with phpmyadmin and add the following

alter table orders_status add public_flag int DEFAULT '1';

It will add the missing column.

 

 

 

Reviews

1054 - Unknown column - TITLE_DEL_ICIO_US 1054 - Unknown column - TITLE_DIGG 1054 - Unknown column - TITLE_YAHOO_MYWEB 1054 - Unknown column - TITLE_SPURL 1054 - Unknown column - TITLE_FURL 1054 - Unknown column - TITLE_ASK 1054 - Unknown column - TITLE_SQIDOO 1054 - Unknown column - TITLE_SIMPY 1054 - Unknown column - TITLE_REDDIT 1054 - Unknown column - TITLE_MA_GNOLIA 1054 - Unknown column - TITLE_FACEBOOK_BOOKMARK 1054 - Unknown column - TITLE_GOOGLE_BOOKMARK