Monday 19 January 2009 12:51:08 pm
Hi. I've just tried to reproduce your situation, because in a few days we'll need to work with text files for login :) I've done what Andre said and got this error.
Fatal error: Using $this when not in object context in /var/www/ez1/kernel/classes/datatypes/ezuser/eztextfileuser.php on line 252
After you fix this, you'lll get same error at line 291. What have worked for me is to change line 252 from
$existUser = $this->fetchByName( $login );
to
$existUser = ezUser::fetchByName( $login );
and line 291 from
$user = $this->create( $userID );
to
$user = eZUser::create( $userID );
I'm working with the trunk version of this file, so, is this maybe a bug? Hope it helps.
|