Closed kenchou closed 12 years ago
Same problem here! The code has changed in the meantime but I get the same error when I try to register.
This should be resolved now -- the IP and datetime fields have been removed, in favor of extra data like that being added by separate modules which extend ZfcUser. The idea is to keep ZfcUser lightweight, yet highly extensible.
register user and zfcUser throw an exception 'Zend\Db\Adapter\Exception\InvalidQueryException' Message: Data truncated for column 'last_ip' at row 1
Reason: in UserMapper Class persists method called $user->toArray()
and in ModelAbstract toArray() invoke getter method to return data but those method return a string instean of long int with default param: