[SOLVED] Fatal Error on User Registration

Author Message

Michael Fürst

Tuesday 05 May 2009 1:48:29 am

Hi Guys,

After I've upgraded from 4.0 to 4.1 I've the following problem:
After I've filled out the user registration form and submitted the data to "/user/register", I receive the following fatal error:

Fatal error: Call to a member function attribute() on a non-object in /var/www/ez410/kernel/classes/datatypes/eztext/eztexttype.php on line 99
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

Has anyone a hint for me!?

Thanks in advance,
regards,
Mike

André R.

Tuesday 05 May 2009 1:59:11 am

From svn history on the file it seems to be fixed and is related to this issue:
http://issues.ez.no/14741

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Michael Fürst

Tuesday 05 May 2009 2:08:58 am

Hi Andre,

Yeah, thanks! Looks like that's the same issue..
Is there a way to checkout the correct file revision from an SVN? (cause i can't wait for 4.1.1 at the moment).

Regards,
Mike

André R.

Tuesday 05 May 2009 2:20:20 am

Yes, just browse stable/4.1 as always and grab the file (well you should normally look at the issue for rev number and check svn history for that number to see if any other files where changed besides the changelog).

But this time it is:
http://pubsvn.ez.no/nextgen/stable/4.1/kernel/classes/datatypes/eztext/eztexttype.php

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Michael Fürst

Tuesday 05 May 2009 2:25:46 am

Sorry, my fault.. Didn't know that there is an updated / fixed version 4.1.0 for download cause in the issue is written: fixed in 4.1.1 (wich isn't released yet).

André R.

Tuesday 05 May 2009 3:00:31 am

stable/4.1 is the branch for svn fixes / changes for eZ Publish 4.1.x including 4.1.0, 4.1.1, 4.1.2 and so on, just like stable/4.0 is for 4.0.x and stable/3.10 was for 3.10.x

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 00:30:27
Script start
Timing: Jan 19 2025 00:30:27
Module start 'layout'
Timing: Jan 19 2025 00:30:27
Module start 'content'
Timing: Jan 19 2025 00:30:29
Module end 'content'
Timing: Jan 19 2025 00:30:29
Script end

Main resources:

Total runtime1.3380 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0313152.6406
Module start 'layout' 0.00640.0027 740.671939.4766
Module start 'content' 0.00901.3273 780.1484585.1250
Module end 'content' 1.33630.0016 1,365.273416.7500
Script end 1.3379  1,382.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2359160.0002
Check MTime0.00130.0955160.0001
Mysql Total
Database connection0.00060.048110.0006
Mysqli_queries1.270094.9177660.0192
Looping result0.00090.0691640.0000
Template Total1.298897.120.6494
Template load0.00210.158820.0011
Template processing1.296796.915720.6483
Template load and register function0.00020.017610.0002
states
state_id_array0.00170.124110.0017
state_identifier_array0.00200.153120.0010
Override
Cache load0.00180.1334340.0001
Sytem overhead
Fetch class attribute can translate value0.00070.051920.0003
Fetch class attribute name0.00120.091680.0002
XML
Image XML parsing0.00290.217020.0015
class_abstraction
Instantiating content class attribute0.00000.0019120.0000
General
dbfile0.00280.2098230.0001
String conversion0.00000.001440.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs