Welcome Guest, Not a member yet? Register   Sign In
Pagination error
#3

[eluser]Dready[/eluser]
Are you sure you're using the 'MY_pagination' class ? Because the error message is talking about CI_Pagination::$offset ...

If you're sure, can you create a (temporary) debug function in your "My_Validation", something like :
Code:
function testit() {
echo __CLASS__."test this: ".$this->offset."<BR>";
echo __CLASS__."test parent: ".parent::$offset."<BR>";
}

and tell us what happen when you call the function just before :"$this->db->limit(QTD_REGISTROS, $this->pagination->offset); " ?


Messages In This Thread
Pagination error - by El Forum - 09-25-2008, 02:21 PM
Pagination error - by El Forum - 09-26-2008, 06:32 AM
Pagination error - by El Forum - 09-26-2008, 08:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB