problem when registering a new user in 3.10.0

Author Message

Thiago Campos Viana

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

J-A Eberhard

Monday 19 November 2007 8:47:22 am

Fixed bug, please see here
ttp://issues.ez.no/IssueView.php?Id=11598

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Thiago Campos Viana

Monday 19 November 2007 9:28:56 am

thx j-a!!!
I followed the steps and it´s working here

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Pascal France

Monday 31 March 2008 3:37:51 pm

Hi,

I'm really sorry, but when I go to the issue page:

http://issues.ez.no/IssueView.php?Id=11598

I don't understand where to download the patches.

Think's for your light

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.