This is a discussion on MySQL Help with Header Tag contrib. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello I need some help have a problem with my oscommerce site. When trying to enter a featured product i ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
|
#2
| ||||
| ||||
| Change this: PHP Code: PHP Code:
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
| The Following User Says Thank You to michael_s For This Useful Post: | ||
BrandonScottishRegalia (02-05-2009) | ||
|
#3
| ||||
| ||||
|
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
![]() |
| Tags |
| header tags, mysql |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Contrib Checker | michael_s | New osCommerce Contributions | 0 | 08-05-2008 08:00 AM |
| Contrib Checker | michael_s | New osCommerce Contributions | 0 | 08-05-2008 06:00 AM |
| installing GPG contrib | kerrydax | osCommerce 2.2 Modification Help | 27 | 08-20-2006 01:01 PM |
| help with pwa contrib | dmiles | osCMax v1.7 Discussion | 8 | 05-15-2004 02:50 PM |
| header / header.php top logo problem | the_error_king | osCommerce 2.2 Modification Help | 0 | 04-05-2004 05:02 PM |