Hello,
I am trying to set up a shop and the latest error to get in my way is
Fatal error: Call to undefined function: tep_sanitize_string() in catalog/includes/functions/database.php on line 132
The error turns up if you try to login in as both a new or returning customer, clicking on advanced search in quick find box also presents the same error. However in the advanced search, a page does display with the error at the bottom of the page.
I think the error refers to this bit of code, but I have no idea what it is on about
function tep_db_prepare_input($string) {
if (is_string($string)) {
return trim(tep_sanitize_string(stripslashes($string)));
} elseif (is_array($string)) {
reset($string);
while (list($key, $value) = each($string)) {
$string[$key] = tep_db_prepare_input($value);
}
return $string;
} else {
return $string;
}
}
would anyone please know how to solve this issue?
Thanks in advance
--------------------
Ann




LinkBack URL
About LinkBacks






Bookmarks