Page 1 of 1
Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Mon Oct 24, 2016 11:02 pm
by vinhpk
I am using 2.1.0.1, use a theme bought on themeforest, but now I bought another too, but, it for 2.3.0.2 and can not install to 2.1.0.1 cause some error (i tried install a clean 2.3.0.2 and install this theme successfully) so I want upgrade my site from 2.1.0.1 to 2.3.0.2. But when I copy and replace all file with new and run install, I received this error:
Code: Select all
Notice: Error: Could not load template D:/xampp/htdocs/www/install/view/template/common/header! in D:\xampp\htdocs\www\system\storage\modification\system\engine\loader.php on line 86
I tried remove all extensions, mods were used, back to default theme, and run script upgrade again but received this error again. Can anyone help me? Thanks you!
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Wed Oct 26, 2016 12:52 pm
by Hannah00
You can try to remove file system/modification/system/engine/loader.php or try go to admin > extension > modification and press "refresh".
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Fri Oct 28, 2016 3:33 am
by vinhpk
Hannah00 wrote:You can try to remove file system/modification/system/engine/loader.php or try go to admin > extension > modification and press "refresh".
I tried removed all exts mods and refresh (of course) but still get that errors. Remove that file still nothing change
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Fri Oct 28, 2016 9:33 pm
by cyclops12
Have you modified the header.tpl??
Try renaming the header.tpl file to header_old.tpl then upload the header.tpl file from 2.3.0.2 version.
If all is ok then you should be able to edit the new header file
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Tue Nov 01, 2016 10:05 pm
by vinhpk
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Tue Nov 01, 2016 10:44 pm
by cyclops12
So it was an empty line causing the error....at least you got it sorted and well done for posting the solution.
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Wed Nov 02, 2016 4:07 pm
by Hannah00
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Wed Nov 02, 2016 5:44 pm
by JNeuhoff
The migration tool shown in your link is highly misleading, it claims to be free in the Opencart extension store, but it isn't! I wouldn't trust anyone with such misleading advertising.
Also, another common issue with many, if not all, migration tools is that they are unable to do a proper remapping of Opencart countries and zones, including updating customer addresses.
Quite often it is easier just to use PHPMyAdmin with which you can export DB tables in e.g. into CSV format, then modify its format with a spreadsheet software to the required new format, and then import to the new DB of a freshly installed new OpenCart.
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Thu Nov 10, 2016 12:37 pm
by Hannah00
Thanks for your recommendation. Hope people can fnd the easy solution to solve their problem!
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Fri Jun 16, 2017 6:30 am
by n2rtechnologies
You can easily upgrade from 2.x.x.x to 2.3 by just uploading all 2.3 upload files to server via FTP and without editing config.php file and run
http://www.yoursitelink.com/install/. The theme must be compatible with 2.3 and all 3rd party module also need to be compatible with Opencart 2.3.
After finish login to your admin and refresh modification from admin/extension/modification
For any support, please contact
http://www.n2rtechnologies.com
Re: Can not upgrade from 2.1.0.1 to 2.3.0.2
Posted: Mon Oct 23, 2017 10:25 am
by jonathan777
In controller/header.php do this:
//if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/header.tpl')) {
// return $this->load->view($this->config->get('config_template') . '/template/common/header.tpl', $data);
//} else {
return $this->load->view('default/template/common/header.tpl', $data);
//}