Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column Error


LOBELLO

Recommended Posts

Posted

When click in path apeear this erro:

 

1054 - Unknown column 'p.products_id' in 'on clause'

 

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '4' and p2c.categories_id = '22'

 

 

see at: http://www.tricolornet.com.br/loja/index.php?cPath=22

 

Anybody help me?

Posted
When click in path apeear this erro:

 

1054 - Unknown column 'p.products_id' in 'on clause'

 

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '4' and p2c.categories_id = '22'

see at: http://www.tricolornet.com.br/loja/index.php?cPath=22

 

Anybody help me?

 

 

Have you added any contributions, as this looks like a missing database column. You can take a look first in your database in products_description to see if the column "p.products_id" is really there.

Archived

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

×
×
  • Create New...