Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search function not working


cas305

Recommended Posts

Here is the error I get when trying a search:

 

1066 - Not unique table/alias: 'pd'

 

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, products_description pd, 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 '%pins%' or p.products_model like '%pins%' or m.manufacturers_name like '%pins%') )

 

[TEP STOP]

 

I have searched the forums and not been able to find anything related. I have a couple of mods installed including fast easy cross sell and seperate price 415. Any help would be greatly appreciated!

Link to comment
Share on other sites

I also have now found out that the search function the add the cross-sells is not working either. If anybody could even point out to me if it looks like a .php error or something in the mysql database, that would be a great help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...