Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error when using search on my store


hel8itch

Recommended Posts

Posted

hi all had quite a few errors recently but have managed to get round most but if i use search on the site it gives me this

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 = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%bob%' or p.products_model like '%bob%' or m.manufacturers_name like '%bob%') )

 

could someone please tell me how i fix this

also i have put a facebook image on the site and i need to know how to make it link to the facebook page please thanks in advance

Posted

okay have sorted it with the left join fix but now im getting this Fatal error: Call to undefined function tep_draw_button() in/home/medwayma/public_html/shop/includes/modules/product_listing.php on line135

Archived

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

×
×
  • Create New...