
Originally Posted by
generikz
I actually updated the DB all the way to v2.1.0.
But I have an issue login in with existing Cart.
Code:
PHP Fatal error: Uncaught Error: Undefined constant "SHOW_SHOPPING_CART_COMBINED" in (...)\includes\modules\pages\login\header_php.php:97
I can see
SHOW_SHOPPING_CART_COMBINED is not new since 1.5.6c and was likely a DB configuration entry, maybe it was dropped from the DB when updated?
Julien
that constant was added in v138.
you can re-add it using the following sql statement, but i would be suspicious that there are other problems with your database.
as to, "it was dropped when updated?" i see nothing in the code that would do such a thing.
Code:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Notice of Combining Shopping Cart on Login', 'SHOW_SHOPPING_CART_COMBINED', '1', 'When a customer logs in and has a previously stored shopping cart, the products are combined with the existing shopping cart.<br /><br />Do you wish to display a Notice to the customer?<br /><br />0= OFF, do not display a notice<br />1= Yes show notice and go to shopping cart<br />2= Yes show notice, but do not go to shopping cart', '9', '35', 'zen_cfg_select_option(array(\'0\', \'1\', \'2\'), ', now());
that is from here.
best.
Bookmarks