Right I've had a go at mergin this, but came up with a conflict with More Pics (yet again!). It has given me this error:
1054 - Unknown column 'pov.products_options_values_name' in 'where clause'
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id left join products_images pi on p.products_id = pi.products_id and pi.category_page = '1' , 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 '%blue%' or p.products_model like '%blue%' or m.manufacturers_name like '%blue%' )) or ( pov.products_options_values_name like '%blue%' ) or pd.products_description like '%blue%') )
[TEP STOP]
I presume that this is caused by the advanced_search_result.php as when uploading the old file it is still fine, the others were simple changes also. Any ideas?
I think this might be the problematic lines:
// More Pics
$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_PRODUCTS_IMAGES . " pi on p.products_id = pi.products_id and pi.category_page = '1' ";
and
/************** BEGIN SITESEARCH CHANGE ******************/
$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_PRODUCTS_ATTRIBUTES . " pa on p.products_id = pa.products_id left join " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov on pa.options_values_id = pov.products_options_values_id ";
/************** END SITESEARCH CHANGE ******************/
As it stands I have not made any changes to the advanced_search_result.php file. Once I clicked submit on the new site search page it takes me to the advance search page saying that not enough information has been inputted. I expect once I fix this file then that will be resolved?