Hello
I need some help have a problem with my oscommerce site. When trying to enter a featured product i get this error
1054 - Unknown column 'cd.categories_htc_title_tag' in 'field list'
select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, cd.categories_htc_title_tag, cd.categories_htc_desc_tag, cd.categories_htc_keywords_tag, cd.categories_htc_description from categories c, categories_description cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id = '1' order by c.sort_order, cd.categories_name
[TEP STOP]
My friend who is the host provider says it is something to do with the header tag sql not being mysql5 complient.
this is the failing query:
$manStr = "select mi.manufacturers_htc_title_tag as htc_title_tag, mi.manufacturers_htc_desc_tag as htc_desc_tag, mi.manufacturers_htc_keywords _tag as htc_keywords_tag from " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "'";
line36 of header_tags.php
it probably works with mysql4 but not mysql5 as V5 is more standardised and complies more strickly to the SQL95 standard
Can someone please help me fix this problem?
Thanks
Brandon





LinkBack URL
About LinkBacks











Bookmarks