Upgrade CI Version 2.2.3 to Version 3.1.0 directly |
Hi, why this link[1] said :
Quote:Upgrading from 2.2.x to 3.0.x I have web system that now using version 2.2.3. Does it mean I can upgrade directly to 3.1.0 ? [1] https://www.codeigniter.com/userguide3/i...e_300.html
Officially no, you should follow what it says, upgrade to 3.0, then 3.0 to 3.01 etc. In reality I upgrade straight to 3.1 and then run through all the instructions. It is 'normally' a pain free exercise and quite quick in reality, but there are considerable changes from 2.x to 3.0 that might need some attention. It all depends on how complex your site is really. You will definitely need to capitalize all your controller files for instance. CI_sessions tables have changed too. It is all well documented though.
Here are the full list of instructions - your link is just one of those on the list https://www.codeigniter.com/userguide3/i...ading.html (09-02-2016, 05:49 AM)PaulD Wrote: Officially no, you should follow what it says, upgrade to 3.0, then 3.0 to 3.01 etc. There's no 3.01. It's 3.0.1. Paying attention to that dot is literally the key to the OP's question. 2.2.x means 2.2.anything 3.0.x means 3.0.anything Meaning that you can, officially, upgrade from any 2.2.x version directly to any 3.0.x version - even from 2.2.0 to 3.0.6. You don't have to go through every single micro-version. That does not include 3.1.0, but unless you're using odbc or running PHP 5.2, you can in practice do that as well.
:-( Sorry
I've read you reminding other people about that too. I should have got it right, it is important. I will be more careful in future. |
Welcome Guest, Not a member yet? Register Sign In |