Forums / Setup & design / LoginHandlers: Textfile, Custom, and eZPublish2 user data

LoginHandlers: Textfile, Custom, and eZPublish2 user data

Author Message

Hardy Pottinger

Monday 12 July 2004 1:01:56 pm

Hi, I'm starting out small by trying out the text file loginhandler, but eventually I want to write my own.

(Incidentally, this custom loginhandler is for authenticating users from an older eZPublish 2 site... mind you, were' not merely migrating users at this point--that would be too easy--we're letting *some* users work with our newer ezpublish 3 stuff. If anyone's already written that kind of LoginHandler, can we talk?)

Here's my problem with the textfile loginhandler--I'm getting this error when I try any login from the text file:

Fatal error: Call to a member function on a non-object in /path/to/ezroot/kernel/content/ezcontentoperationcollection.php on line 221

Looking at line 221, it seems like the script is dying because it doesn't have a nodeid for the partent... but I've defined the DefaultUserGroup in settings/textfile.ini (tried both by name and nodeid, no luck either way).

I'm going to keep plugging away, but if anyone has seen something like this, please let me know. Thanks!