CodeIgniter 3 to 4 Upgrade Helper |
(12-01-2023, 02:24 PM)kenjis Wrote: @GreTaurus Implement the feature and send a pull request.Thank you, I'm having trouble doing a large migration project from CI3 to CI4, so I think your helper will help a lot. But there are a few problems when I try the some demo code 1/ error limit An uncaught Exception was encountered Type: Error Message: Call to undefined method Kenjis\CI3Compatible\Database\CI_DB::limit() Filename: D:\laragon\www\ci4-migrate\app\Models\Post_model.php Line Number: 17 --- It's error in when i used limit in Post_model $this->db->limit($limit, $offset); 2/ error paginate Type: ErrorException Message: Undefined property: stdClass::$total_rows Filename: D:\laragon\www\ci4-migrate\vendor\kenjis\ci3-to-4-upgrade-helper\src\CI3Compatible\Library\CI_Pagination.php Line Number: 145 -- It's error in when i used in view echo $this->pagination->create_links(); Sorry for my poor English and I have no CI coding experience. Please guide to fix this situation. Can you show how to migrate pagination from ci3 to ci4 |
Welcome Guest, Not a member yet? Register Sign In |