Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search Tool Doesn't Work


mauriciofollari

Recommended Posts

Posted

Hello everybody. I've just installed osCommerce. Most of functions work properly but when I try to find a product using the search tool I get the following error (the query is "matr"):

 

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

 

select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '3' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%matr%' or p.products_model like '%matr%' or m.manufacturers_name like '%matr%') )

 

The same error appears when I use the advanced search tool.

 

When I try to visit any manufacturer section I get this error:

 

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

 

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

 

I think one column is missing somewhere or there's an error on some select sentence. PLEASE HELP!!!

 

Thank you!

Archived

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

×
×
  • Create New...