Appearance
<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /guides/CI3UpgradePath.md for this page in Markdown format</div>
#Update path to codeigniter 3
##Commits in sequence for ci3
- Delete system folder
- Add ci 3.1.9 system folder
- Update languages files from github repo (3.1.8 latest) and core/MY_Lang as in repo
- Update your classes file names Upgrading from 2.2.x to 3.0.x - Step 2
- Replace config/mimes.php Upgrading from 2.2.x to 3.0.x - Step 3, merged keys and used short array notation
- Update index.php Upgrading from 2.2.x to 3.0.x - Step 1: Update your CodeIgniter files (index.php)
- Update your Session library usage Upgrading from 2.2.x to 3.0.x - Step 6, also passed through config file to prepare for next updates
- Update your Session library usage 2 Upgrading from 2.2.x to 3.0.x - Step 6 fixes on app
- Update config/database.php Upgrading from 2.2.x to 3.0.x - Step 7
- Update config/routes.php file Upgrading from 2.2.x to 3.0.x - Step 9
- Application updates for ci upgrade replace
$this->input->is_cli_request()withis_cli()and cido_hash()with phphashand system overrides ofMY_Url_helper - Constants update Upgrading from 3.0.1 to 3.0.2
- Update MX for CI3
- Remove MX for CI2
- Remove php 5.6+ polyfill php min requirement of 5.6 makes polyfill import redudant
- Remove FB auth code (keep db table structure? for smile import and merge yo new oauth library?
- Remove facebook/php-sdk-4
- Remove phpmailer/phpmailer to update to version 6 of PHPMailer
- 5.2 is for php up to 7
- The 5.2 branch will not receive security updates after December 31st 2018
- Install phpmailer/phpmailer v6
- Update core/Mailer class for PHMailer 6.x
- Composer update Ensure we have latest version of components
- Error views for CI3
- Fix composer loading from config and remove leftover in database config
- Fix MX\Loader view loading update codeigniter core extends
- PHP7 fixes for mx and product_category and product model
- Fix overriding of CI Cart class codeigniter 3 override of system class needs class name to be CI<Classname>_
- Fix default controller and cart reading null from session default controller point to method home - fix cart for cart contnets from session being null
- Remove dompdf 0.6 from copy installation
- Composer require dompdf/dompdf (version 0.8.3)
- Replace PHPOffice\PHPExcel with PHPOffice\PhpSpreadsheet remove PHPOffice\PHPExcel and install successor PhpSpreadsheet (PHPExcel is deprecated from 2017 and archived in 2019 - successor is breaking compatibility)
- Use PhpOffice\PhpSpreadsheet for all xlsx outputs
- Replace
eregi_replacewithpreg_replacephp7 error - Remove
url_title_rusfunction fromjbimages helper - Fix typo in adv_product_list_model::getFrontListProducts
- Sessions using file system change sessions from db to filesystem, update gitgnore to exclude session files