abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 18 sep. 2022 11:40 Hello How to upgrade Litecart 2.3.1 to 2.4.3 ?
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 18 sep. 2022 17:38 Did you miss the wiki article? https://wiki.litecart.net/how_to_upgrade
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 20 sep. 2022 17:15 Should I enable them ? if yes How ?
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 20 sep. 2022 17:22 For upgrade I should replace files, if I replace files I changed files is gone, I need to keep these changes while upgrading. How can I do it ?
johnny_v Developer Frá Netherlands Meðlimur síðan maí 2016 johnny_v 21 sep. 2022 10:18 You should work using custom templates, and ideally not edit Litecart core files, but use vQmod files instead. That way it is easier to prevent losing changes. If you made a lot of changes I would suggest downloading your installation and use a file compare tool to compare it to the core files. See: https://wiki.litecart.net/how_to_turn_modifications_into_vqmods
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 22 sep. 2022 23:12 @abdumalik You activate php extensions in cpanel under "Select php version". Your webhost should provide instructions for this. "Intl" is a must with PHP 8.0. Imagick and apcu are recommended but not mandatory.
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 5 okt. 2022 06:47 It's done thanks. Does database have changes in new version? I got this error after merged my files into new version files. Look on image!
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 5 okt. 2022 08:11 did jobs_interval remove on new version? if yes, How do I fix this on screenshot?
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 5 okt. 2022 17:45 Are you on 2.4.3 or 2.4.4 now? Yes jobs_interval has been removed so make sure you run the same version of the files as your litecart database version. Always run /install/upgrade.php to upgrade.
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 6 okt. 2022 04:51 it is 2.4.3 now
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 6 okt. 2022 22:09 There is no trace of the text "jobs_interval" in any script in 2.4.3. It was removed in 2.4.2. You must have gotten your file versions mixed up. Drop 2.4.3 on top overwriting your existing.
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 8 okt. 2022 12:22 It’s done, thank you for help. Next problem is how to merge two databases, I mean, moving new tables, columns into next version database like 2.x.x to 3.x.x
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 9 okt. 2022 02:10 [quote]Next problem is how to merge two databases, I mean, moving new tables, columns into next version database like 2.x.x to 3.x.x[/quote] This is what the upgrade patches do. An upgrade takes 3 min: Upload the files on top of your existing. Run install/upgrade.php Remove the install/ folder. What remains are files and database tables conforming with the new version. To me it sound like you made it way to complicated by installing a new platform then manually copying content from the old to the new.
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 9 okt. 2022 03:11 yes cuz I changed a lot of things in system then I made vqmods now for these changes if I did as you told upgrading it was going to break totally. Now it’s okay just db left. Thank you
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 9 okt. 2022 04:19 Did you consider the git alternative? That's the option if you want to hardcode your modifications straight in the core files. It let's you pull and merge updates with one command (git pull). https://wiki.litecart.net/how_to_adapt_to_git You can see in the upgrade patches what was made to the databases and copy some queries to run manually. Another way is to export an sql structure file and compare it between the two databases what differs. WinMerge is a good tool for comparing two files.
abdumalik LiteCart Fan Frá Sweden Meðlimur síðan okt. 2021 abdumalik 9 okt. 2022 10:18 SOLVED! Thank you for your help Tim.