rcgalaxy Posted May 3, 2006 Posted May 3, 2006 Hi all, I finally installed the tags and all seems fine from my admin page. My home page is fine, but when I click on Products I get an error within my webpage. Pasted below: if (isset($HTTP_GET_VARS['manufacturers_id'])) $db_query = tep_db_query("select manufacturers_htc_title_tag as htc_title, manufacturers_htc_description as htc_description from " . TABLE_MANUFACTURERS_INFO . " where languages_id = '" . (int)$languages_id . "' and manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); else $db_query = tep_db_query("select categories_htc_title_tag as htc_title, categories_htc_description as htc_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "'"); $htc = tep_db_fetch_array($db_query); ?> Is this because I have no products uploaded to some of my Product Categories? As it does not encounter this error with Categories with actual products uploaded. Also, after editing the header tags and so on.. When I type in my keywords into the search engine or even my home page name, no results pup up in Google or Yahoo. Need help ASAP, as I am going live soon. Much appreciated Quote
rcgalaxy Posted May 4, 2006 Author Posted May 4, 2006 Guys all is working fine except when trying to browse categories.. Checkout the link below, as this is the error I am encounting on my web page. Link: http://rcgalaxy.com.au/index.php?manufacturers_id=10 This is the text error: if (isset($HTTP_GET_VARS['manufacturers_id'])) $db_query = tep_db_query("select manufacturers_htc_title_tag as htc_title, manufacturers_htc_description as htc_description from " . TABLE_MANUFACTURERS_INFO . " where languages_id = '" . (int)$languages_id . "' and manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); else $db_query = tep_db_query("select categories_htc_title_tag as htc_title, categories_htc_description as htc_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "'"); $htc = tep_db_fetch_array($db_query); ?> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.