Problema su account.php e checkout_shipping.php
Inviato: 25/11/2005, 12:37
Secondo voi per questi due errori al sito www.expogateshop.com:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>navigationhistory</b> of the object you are trying to operate on was loaded _before_ the session was started in xx\xxxxxxxx\xxxxxxxxxxxxxxxxx\xxxxxxxxxxxxx\account.php on line 16
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>navigationhistory</b> of the object you are trying to operate on was loaded _before_ the session was started in xx\xxxxxxxx\xxxxxxxxxxxxxxxxx\xxxxxxxxxxxxxxx\checkout_shipping.php on line 18
Cosa potrei fare? Questo succede quando cerco di accedere alla pagine account.php e checkout_shipping.php
Il codice delle rispettive pagine e', per account.php:
require('includes/application_top.php');
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
Dove il codice segnato in rosso e' quello che da problemi. E poi per checkout_shipping.php:
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
Dove il codice segnato in rosso e' quello che da problemi.
Ringrazio chi mi risponde.
Centro
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>navigationhistory</b> of the object you are trying to operate on was loaded _before_ the session was started in xx\xxxxxxxx\xxxxxxxxxxxxxxxxx\xxxxxxxxxxxxx\account.php on line 16
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>navigationhistory</b> of the object you are trying to operate on was loaded _before_ the session was started in xx\xxxxxxxx\xxxxxxxxxxxxxxxxx\xxxxxxxxxxxxxxx\checkout_shipping.php on line 18
Cosa potrei fare? Questo succede quando cerco di accedere alla pagine account.php e checkout_shipping.php
Il codice delle rispettive pagine e', per account.php:
require('includes/application_top.php');
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
Dove il codice segnato in rosso e' quello che da problemi. E poi per checkout_shipping.php:
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
Dove il codice segnato in rosso e' quello che da problemi.
Ringrazio chi mi risponde.
Centro