Re: 2.2.0.0 Upgrade Script Improvements by Qphoria - TEST PLEASE
Posted: Fri Oct 27, 2017 7:55 pm
See if your system/library/db folder does actually exist and if you do see the mpdo.php and mysqli.php files ...
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
and these error messages in the log:Error: A theme has not been assigned to this store!
Code: Select all
[Fri Oct 27 16:18:39.732030 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732073 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732099 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732113 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732130 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732144 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732160 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732170 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732186 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732213 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732231 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732241 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732257 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732266 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732284 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732293 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732362 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732376 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732440 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DB_PORT - assumed 'DB_PORT' in opencart/shop/system/config/catalog.php on line 13
[Fri Oct 27 16:18:39.732467 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732478 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732585 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732600 2017] [:error] [pid 12439] PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[...]
(removed the rest of the same errors from above)
Code: Select all
Error Code(0): Error: Duplicate column name 'meta_Title'
Error No: 1060
ALTER TABLE `product_description` ADD `meta_title` VARCHAR(255) NOT NULL AFTER `tag` in C:\xampp\htdocs\tienda1564\system\library\db\mysqli.php on line 40
Code: Select all
Error Code(0): Error: Duplicate column name 'meta_Title'
Error No: 1060
ALTER TABLE `category_description` ADD `meta_title` VARCHAR(255) NOT NULL AFTER `description` in C:\xampp\htdocs\tienda1564\system\library\db\mysqli.php on line 40
jpernas wrote: ↑Fri Feb 02, 2018 12:07 amI think that Qphoria has done a great job.
I tried the script in a clean installation of opencart 1.5.6.4 and, in less than 5 minutes, I had a perfect clean installation of opencart 2.2.0.0
I'm doing the migration in "local" with a Xampp 5.6.32 server (Windows version) ... so making the memory extension and waiting time modifications in php.ini have not been a problem.
Excited, I tried to update a version with the complete database. But in this case I found an error:And the same with the table 'category_description'Code: Select all
Error Code(0): Error: Duplicate column name 'meta_Title' Error No: 1060 ALTER TABLE `product_description` ADD `meta_title` VARCHAR(255) NOT NULL AFTER `tag` in C:\xampp\htdocs\tienda1564\system\library\db\mysqli.php on line 40
Can you lend me a hand with this?Code: Select all
Error Code(0): Error: Duplicate column name 'meta_Title' Error No: 1060 ALTER TABLE `category_description` ADD `meta_title` VARCHAR(255) NOT NULL AFTER `description` in C:\xampp\htdocs\tienda1564\system\library\db\mysqli.php on line 40
I have seen that labelshop founded some close error message... but not with a column.
I would appreciate a little help or clues to manage this.
Thank you in advance![]()