Still using 1.5.7d
I believe this plugin breaks the "EZ-Pages Meta Tag Fields" plugin (https://www.zen-cart.com/downloads.php?do=file&id=746)
The docs of the FAQ module when installing the META TAGS does not include a break for the above case:'page'
I believe to make this accurate you would need to update the docs to say to insert the following:
PHP Code:
//BOF FAQ Metatags
break;
case (strstr($_GET['main_page'], 'faq_info')):
$sql= "select pd.faqs_name, p.faqs_id, pd.faqs_answer
from " . TABLE_FAQS . " p, " . TABLE_FAQS_DESCRIPTION . " pd
where p.faqs_id = '" . (int)$_GET['faqs_id'] . "'
and p.faqs_id = pd.faqs_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
$faq_info_metatags = $db->Execute($sql);
$meta_faqs_name = $faq_info_metatags->fields['faqs_name'];
$meta_faqs_name = zen_clean_html($meta_faqs_name);
$meta_faqs_answer = zen_truncate_paragraph(strip_tags(stripslashes($faq_info_metatags->fields['faqs_answer'])), MAX_META_TAG_DESCRIPTION_LENGTH);
$meta_faqs_answer = zen_clean_html($meta_faqs_answer);
define('META_TAG_TITLE', str_replace('"','',$meta_faqs_name . PRIMARY_SECTION . TITLE . TAGLINE));
define('META_TAG_DESCRIPTION', str_replace('"','', $meta_faqs_answer . ' '));
define('META_TAG_KEYWORDS', str_replace('"','',$meta_faqs_name . METATAGS_DIVIDER . KEYWORDS));
break;
//EOF FAQ Metatags
Hope this might help someone!