Monday 19 November 2007 8:20:36 am
When I tried to register a new user this error appears:
Fatal error: Call to a member function on a non-object in /home/maiscidades/www/kernel/user/register.php on line 198 Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below. -- the code of the problem is:
197- // Create enable account hash and send it to the newly registered user
198 - $hash = md5( mktime( ) . $user->attribute( 'contentobject_id' ) );
199 - include_once( "kernel/classes/datatypes/ezuser/ezuseraccountkey.php" );
200 - $accountKey = eZUserAccountKey::createNew( $user->attribute( 'contentobject_id' ), $hash, mktime() );
201 - $accountKey->store(); -- Could anyone help me?
eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924
Twitter: http://twitter.com/tcv_br
|