Closed nyunyu95 closed 11 years ago
Hello guys,
Once more, thank you for your amazing job here !
I just figured out, I guess anyway, an error inside the Authentication system.
Here is my code :
if ($post->check()) { [...] Auth_Leap::instance()->login($uname, $pwd, $remember); }
and then i got the following error :
ErrorException [ Strict ]: Declaration of Base_Model_Leap_User_Token::save() should be compatible with that of Base_DB_ORM_Model::save()
I've fixed that problem by changing the prototyping of the save() method in "/leap/classes/Base/Model/Leap/User/Token.php" from :
public function save($reload = FALSE) {
to
public function save($reload = FALSE, $mode = NULL) {
I hope this is a good fix and I hope it will help other people.
Best Regards,
Ok, I am fixing it right now.
Sweet! I'd forgot to change the parent's call also ;) Thanks !
Hello guys,
Once more, thank you for your amazing job here !
I just figured out, I guess anyway, an error inside the Authentication system.
Here is my code :
and then i got the following error :
I've fixed that problem by changing the prototyping of the save() method in "/leap/classes/Base/Model/Leap/User/Token.php" from :
to
I hope this is a good fix and I hope it will help other people.
Best Regards,