macpartner
09.11.2006, 21:45
Hallo Forum
Ich setze 3.04SP2.1 ein. Ich will weg von Sessions und zu Cookies.
Jedoch habe ich das Problem sobald ich den Browser neu gestartet habe und ein Produkt in den warenkorb legen möchte kommt folgender Fehler.
"Fatal error: Call to a member function on a non-object in /home/www/web131/html/store/includes/cart_actions.php on line 106"
Auf Linie 106 befindet sich das:
"$_SESSION['cart']->add_cart((int) $_POST['products_id'], $_SESSION['cart']->get_quantity(xtc_get_uprid($_POST['products_id'], $_POST['id'])) + xtc_remove_non_numeric($_POST['products_qty']), $_POST['id']);"
Besten Dank
macpartner
Ich setze 3.04SP2.1 ein. Ich will weg von Sessions und zu Cookies.
Jedoch habe ich das Problem sobald ich den Browser neu gestartet habe und ein Produkt in den warenkorb legen möchte kommt folgender Fehler.
"Fatal error: Call to a member function on a non-object in /home/www/web131/html/store/includes/cart_actions.php on line 106"
Auf Linie 106 befindet sich das:
"$_SESSION['cart']->add_cart((int) $_POST['products_id'], $_SESSION['cart']->get_quantity(xtc_get_uprid($_POST['products_id'], $_POST['id'])) + xtc_remove_non_numeric($_POST['products_qty']), $_POST['id']);"
Besten Dank
macpartner