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!

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

eZ debug

Timing: Jan 19 2025 11:48:44
Script start
Timing: Jan 19 2025 11:48:44
Module start 'layout'
Timing: Jan 19 2025 11:48:44
Module start 'content'
Timing: Jan 19 2025 11:48:45
Module end 'content'
Timing: Jan 19 2025 11:48:45
Script end

Main resources:

Total runtime1.4919 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.3984152.6563
Module start 'layout' 0.00610.0037 742.054739.5078
Module start 'content' 0.00981.4806 781.5625438.2500
Module end 'content' 1.49040.0015 1,219.81258.0938
Script end 1.4919  1,227.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2335160.0002
Check MTime0.00130.0891160.0001
Mysql Total
Database connection0.00060.037710.0006
Mysqli_queries1.450197.1989460.0315
Looping result0.00060.0373440.0000
Template Total1.454197.520.7270
Template load0.00210.143220.0011
Template processing1.451997.316820.7260
Template load and register function0.00010.007610.0001
states
state_id_array0.00140.091410.0014
state_identifier_array0.00350.232520.0017
Override
Cache load0.00170.1151100.0002
Sytem overhead
Fetch class attribute can translate value0.00130.086110.0013
Fetch class attribute name0.00090.058520.0004
XML
Image XML parsing0.00070.049910.0007
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00110.0710160.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs