Update code from ci 1.6 to ci 2.0 getting error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Update code from ci 1.6 to ci 2.0 getting error (/showthread.php?tid=41026) |
Update code from ci 1.6 to ci 2.0 getting error - El Forum - 04-26-2011 [eluser]Unknown[/eluser] Code: function _set_fields(){ and give this error: A PHP Error was encountered Severity: Notice Message: Undefined property: Person::$validation Filename: controllers/person.php Line Number: 168 Fatal error: Call to a member function set_fields() on a non-object in C:\wamp\www\bebas\application\controllers\person.php on line 168 what's wrong with that code? Update code from ci 1.6 to ci 2.0 getting error - El Forum - 04-26-2011 [eluser]n0xie[/eluser] The Validation library is depreciated and replaced by the Form_Validation library |