Hi guys,
In case you have custom modules the flow is as follows:
1. Disable custom modules. It doesn't remove data from the database.
2. Upgrade X-Cart 5 and modules from marketplace.
3. Fix custom modules.
4. Enable custom modules back.
"Fix custom modules" - this depends on changes between the X-Cart versions that you are upgrading from/to AND on the module. For simple modules changing the value returned by getMajorVersion() method (in the module's Main.php file) will likely be enough.
Quote:
Originally Posted by zychen
The problem is that the module would be disabled first then there would be an error because X-Cart cannot rebuild the MySQL tables with the data in the additional fields.
|
There should be no error. Did you guess there, or have you tried this and faced the error?
----
As for upgrade problems. Don't forget that this is a major update, like from 4.0.x to 4.1.x. The changes in the code are huge, and some of them require modules to be updated to get in the line with the new classes/methods/functions/templates...