in catalog/index.php

AFTER

require('includes/application_top.php');

ADD

#################
$page_query = tep_db_query("select
p.pages_id,
p.sort_order,
p.status,
s.pages_title,
s.pages_html_text
from
" . TABLE_PAGES . " p LEFT JOIN " .TABLE_PAGES_DESCRIPTION . " s on p.pages_id = s.pages_id
where
p.status = 1
and
s.language_id = '" . (int)$languages_id . "'
and
p.page_type = 1");


$page_check = tep_db_fetch_array($page_query);

$pagetext=stripslashes($page_check[pages_html_text]);


#####################

same file


REPLACE




WITH






the problem is specifically with the lines

same file

*******source of the problem********

REPLACE




WITH

[


*******source of the problem********


I have undone this edit and everything started working normally again

This mod also seems to be working fine without that specific line edit....



More...