Welcome Guest, Not a member yet? Register   Sign In
a problem after upgrade from 1.7.2 to 2.0
#2

[eluser]cahva[/eluser]
Validation class has been deprecated since 1.7.0 and you should not have used it anymore in 1.7.2. Validation class was replaced with form_validation class. The old validation class is now removed from CI 2.0.

This is mentioned also in 1.7.2 docs. Read the first note in the userguide for form_validation class.

I dont remember how different the 2 classes were. It could be just a rename of the class for something more suitable. If it was just that, you could get away with by just renaming every instance of $this->validation to $this->form_validation and library load to $this->load->library('form_validation');


Messages In This Thread
a problem after upgrade from 1.7.2 to 2.0 - by El Forum - 10-09-2010, 10:32 AM
a problem after upgrade from 1.7.2 to 2.0 - by El Forum - 10-09-2010, 11:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB