I am working on upgrading my v.1.5.8 site into v.2.1.
After installing a fresh copy of v.2.1 on my local computer and making a fresh, blank database everything was working fine after comparing and updating all of my files.
I then moved on to adding my current v.1.5.8 database. It all uploaded fine and I can see the information in the tables. The site on my local computer is now just blank screen and the error logs show this:
Uncaught Error: Undefined constant "WHOLESALE_PRICING_CONFIG" in C:\wamp64\www\2.1\includes\classes\Customer.php:47
I have not altered this file in any way, and line 47 shows:
if (WHOLESALE_PRICING_CONFIG !== 'false' && zen_is_logged_in() && !zen_in_guest_checkout()) {
global $db;
I see on line 50 it is trying to look in my database in Customers at the table customers_whole ....whereby there is no customer_whole table
Could this be the problem??
Any ideas on how to fix this??
Thanks,
Jeff
Bookmarks