User Sign Up ends up with "Fatal Error"..

Author Message

Florian Feigenbutz

Saturday 21 February 2004 6:25:04 am

Hi guys,
I'm currently working with eZ publish 3.3-2 (SVN 4764) and realized a few days ago that user sign up fails with a "fatal error"!
By sending out my user information I get the following output:
"Fatal error: Call to a member function on a non-object in [mysite]/kernel/content/ezcontentoperationcollection.php on line 221
Fatal error: eZ publish did not finish it's request
The execution of eZ publish was abruptly ended, the debug output is present below."

First I thought it was my error but a diff between my ezcontentoperationcollection.php and the original one in the release didn't find any difference!

Line 220-222 in the file are:
"$parentNode =& eZContentObjectTreeNode::fetch( $nodeID );
$parentNodeID = $parentNode->attribute( 'node_id' );
$existingNode =& eZContentObjectTreeNode::findNode( $nodeAssignment->attribute( 'parent_node' ) , $object->attribute( 'id' ), true );"

I can't find an error.. as I tried to define $parentNode as a global variable at function start registration didn't fail but the user wasn't created :(
Can somebody help me? I suppose my php skills are not enough for this problem..

M M

Tuesday 05 October 2004 3:38:35 pm

I have exactly this problem too!

The problem is in this line:
$parentNodeID = $parentNode->attribute( 'node_id' );

parentNode seems to be void....!!

ezpublish 3.4.1
php 4.3.9
linux 2.4.27 (slackware 9)

Frederik Holljen

Wednesday 06 October 2004 1:46:30 am

This does not seem to happen with the default installation, so there must be something triggering this bug. Can you try upgrading to 3.4.2 and see if the problem persists? (Otherwise, say a bit more about your configuration and file a bug report)

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 18 2025 22:39:21
Script start
Timing: Jan 18 2025 22:39:21
Module start 'layout'
Timing: Jan 18 2025 22:39:21
Module start 'content'
Timing: Jan 18 2025 22:39:23
Module end 'content'
Timing: Jan 18 2025 22:39:23
Script end

Main resources:

Total runtime1.0731 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.0625152.6250
Module start 'layout' 0.00660.0029 741.687539.4453
Module start 'content' 0.00951.0623 781.1328542.8750
Module end 'content' 1.07180.0013 1,324.007812.1406
Script end 1.0731  1,336.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3111160.0002
Check MTime0.00140.1299160.0001
Mysql Total
Database connection0.00110.103710.0011
Mysqli_queries1.022595.2815590.0173
Looping result0.00060.0555570.0000
Template Total1.035996.520.5179
Template load0.00200.190720.0010
Template processing1.033896.339220.5169
Template load and register function0.00020.023310.0002
states
state_id_array0.00170.158610.0017
state_identifier_array0.00160.149720.0008
Override
Cache load0.00170.1622270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.060030.0002
Fetch class attribute name0.00100.092540.0002
XML
Image XML parsing0.00080.071330.0003
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00090.0848160.0001
String conversion0.00000.001040.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs