Monday 19 January 2009 10:28:56 am
Hi, I want to login using textfile handler, but I have some problems. At first, I put the next lines inside the override/site.ini.append.php in to the [UserSettings] section.
LoginHandler[]=standard
LoginHandler[]=textfile
Next I generate a new override for config file override/textfile.ini.append.php with this values:
[TextFileSettings]
TextFileEnabled=true
FileName=users.txt
FilePath=root
FileFieldSeparator=;
DefaultUserGroupType=id
DefaultUserGroup=12
LoginAttribute=1
PasswordAttribute=3
FirstNameAttribute=4
LastNameAttribute=5
EmailAttribute=2
My /users.txt contains this line:
test;email@mydomain.com;test;Test;Test
And finally, I clean the caches and refresh the page. Now, If I login with user from eZ, all goes ok. Then, if I login with an user that doesn't exist, eZ says me that, but if I login with the textfile user, eZ returns me this error:
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.
In debug there are not any error... Anyone knows what happens? Thank you! :)
|