![]() |
CI Upgrade from 2.2.1 to 3.1.5 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: CI Upgrade from 2.2.1 to 3.1.5 (/showthread.php?tid=68665) |
CI Upgrade from 2.2.1 to 3.1.5 - kiranjawalkar - 08-10-2017 I am working on CI upgradation for my site from 2.2.1 to 3.1.5. I followed the manual for same and did step by step. But still nothing works. Before upgradation my site was working properly. Please let me know if anybody have any idea about this kind of issues Thanks in Advance! RE: CI Upgrade from 2.2.1 to 3.1.5 - ciadvantage - 08-10-2017 i migrated 3 projects from CI 2.x to 3.1.5 successfully, just follows the rule as per guide. All class file name starts with Upper case for first letter (applied for controllers/ models/ libraries). I was spending most time for changing filename and few others changes in config so on but nothing really major. One thing I did notice that only the filename needed with uppercase for its first letter. On the actual class you may not need to do so such as my previous class such as example.php to Example.php and my actual class content was like class example extends CI_Controller{ //etc } I didnt change it to class Example and it still works Good luck RE: CI Upgrade from 2.2.1 to 3.1.5 - InsiteFX - 08-10-2017 You need to upgrade each version none stop. RE: CI Upgrade from 2.2.1 to 3.1.5 - rtenny - 08-10-2017 I also migrated a few sites and had no problems. But be very precice to follow the manual. RE: CI Upgrade from 2.2.1 to 3.1.5 - kiranjawalkar - 08-15-2017 Thank you for your replies! I did follow the manual step by stem, but still its not working. The problem which I have found is that in CodeIgniter.php , for $RTR object , class file is not found. $e404 = FALSE; $class = ucfirst($RTR->class); $method = $RTR->method; if (empty($class) OR ! file_exists(APPPATH.'controllers/'.$RTR->directory.$class.'.php')) here the $class variable is always blank, it has to be something wrong with routing but I am unable to understand. Any help would really be really great! |