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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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 Exponential 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!