We need some one to fix an mysql php4.0 error on our search pages in Oscommerce. We switched from hosting providers from php 5 to php 4 and now it does not work. The main page search and admin product catalog search both display the error.
1054 - Unknown column 'ordenabase.p2pef.manufacturers_id' in 'on clause'
select count(distinct p.products_id) as total from (products p left join products_to_products_extra_fields p2pef on p.products_id=p2pef.products_id) left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id, 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 = '3' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%hola%' or p.products_model like '%hola%' or m.manufacturers_name like '%hola%' or p2pef.products_extra_fields_value like '%hola%' or pd.products_description like '%hola%' or pd.short_desc like '%hola%') )