CodeIgniter Forums
Upgrading from old version 1.7.1 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Upgrading from old version 1.7.1 (/thread-56288.html)



Upgrading from old version 1.7.1 - El Forum - 12-07-2012

[eluser]Unknown[/eluser]
Hi,

I'm using CI 1.7.1, so I need to upgrade.

As I know upgrade process is cumulative, so I need to download every versions since 1.7.2.

The problem is that I can't find where to download it.

There are links on user_guide http://ellislab.com/codeigniter/user-guide/installation/downloads.html that are tagged to different versions, but they all point to the latest.

I want to make the complete upgrade process from version 1.7.1 to latest properly.




Upgrading from old version 1.7.1 - El Forum - 12-07-2012

[eluser]pickupman[/eluser]
You don't need to incremental upgrades. You can update to any version. The major changes from 2.x going forward is how you extend your controllers/models. Rather extending Controller, you would use CI_Controller. Same goes for models. A few other details in the [url="http://ellislab.com/codeigniter/user-guide/installation/upgrade_200.html"]user guide[/url] for completing the upgrade.

Here's download link for [url="https://github.com/EllisLab/CodeIgniter/archive/2.1.3.zip"]CI 2.1.3[/url].

You will also need to merge /application/config/config.php to add some the additional features that have been added since 1.7.2.

Process looks like:
1. Replace system folder from zip
2. Replace index.php
3. Copy application folder to document root to be on same level as system
4. Merge changes from application/config/config.php
5. Update any other application/config files you may have changed
6. Rename how you extended Controllers and Models