osCommerce Fatal error: Call to a member function add_current_page() on a non-object
by Heath on Jan.18, 2010, under Web Design
Fatal error: Call to a member function add_current_page() on a non-object in /home/public_html/includes/application_top.php on line 305
should be an issue when register globals is set to off.
if (tep_session_is_registered(’navigation’)) {
if (PHP_VERSION < 4) {
$broken_navigation = $navigation;
$navigation = new navigationHistory;
$navigation->unserialize($broken_navigation);
}
}
replace with
if (tep_session_is_registered(’navigation’)) {
if (PHP_VERSION < 4) {
$broken_navigation = $navigation;
$navigation = new navigationHistory;
$navigation->unserialize($broken_navigation);
}
$navigation=$_SESSION['navigation'];
}
January 27th, 2010 on 5:39 am
[...] Read the original post: osCommerce Fatal error: Call to a member function add_current_page … [...]