Page 1 of 1

2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Sat Oct 10, 2015 4:38 pm
by garry-b
simple fix for upgrade to 2.1.0.1
THERES only 2 THINGS WRONG THAT NEEDS CHANGING
add " define('DB_PORT', '3306'); " to config.php and admin/config.php on the last line of each file

then go to your-site/install (upgrade should be in darker color to finished)
click continue and it will upgrade perfectly and you will get upgrade successful

Re: 2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Thu Oct 15, 2015 9:48 am
by pnair39
Also had to run:

CREATE TABLE `oc_cart` (
`cart_id` int(11) NOT NULL AUTO_INCREMENT,
`customer_id` int(11) NOT NULL,
`session_id` varchar(32) NOT NULL,
`product_id` int(11) NOT NULL,
`recurring_id` int(11) NOT NULL,
`option` text NOT NULL,
`quantity` int(5) NOT NULL,
`date_added` datetime NOT NULL,
PRIMARY KEY (`cart_id`),
KEY `cart_id` (`customer_id`,`session_id`,`product_id`,`recurring_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;


However I am receiving the following error:

Fatal error: Call to undefined method ModelToolOnline::whosonline() in /home/amillio8/public_html/Demo/system/modification/catalog/controller/common/footer.php on line 80

Re: 2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Tue Nov 24, 2015 2:24 pm
by adibmuharram
same to me dude :(

Re: 2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Fri Dec 11, 2015 8:30 am
by WavMixer
I have had problems with every upgrade I've made to opencart. This never happened with zencart.

Re: 2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Thu Jan 14, 2016 5:25 pm
by N1kko
Also seems to upgrade to 2.1.0.2 causes database errors, this is crazy! Surely it should be simple to upgrade to new versions with no errors!

Re: 2.1.0.1 upgrade - fix these 2 and it works fine

Posted: Sat Jun 18, 2016 1:14 am
by straightlight
You might want to try this topic to avoid database erroneous: http://forum.opencart.com/viewtopic.php ... de#p624019