Tag: osCommerce
How to secure your osCommerce 2.2 site
by Heath on Jan.12, 2011, under Blog
http://forums.oscommerce.com/index.php?showtopic=340995
http://forums.oscommerce.com/topic/313323-how-to-secure-your-site/
osCommerce Fatal error: Call to a member function add_current_page() on a non-object
by Heath on Jan.18, 2010, under Blog
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'];
}





