PHP5 eZP 3.9.2 Edit group "Editors" Problem (Fatal Error)

Author Message

Piotr S.

Thursday 20 September 2007 6:54:56 am

Hallo,

I have eZ Publish 3.9.2php5 (3.9.2php5) PHP 5.2.3
When I go to "User accounts" menu in Administration site and click on group "Editors" I got this error:
"Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below."

and in php_error.log I found this:

" PHP Fatal error: Call to a member function attribute() on a non-object in /u01/www/eZ/kernel/classes/ezpolicylimitation.php on line 244"

in that line is:

"$functions =& $mod->attribute( 'available_functions' );"

Any help will be appreciated.

Regards

André R.

Friday 21 September 2007 12:38:23 am

"$functions = $mod->attribute( 'available_functions' );"

mostly removing '&' will solve the problem.

EDIT: and please don't double post! You where correct in posting it on the 'eZ publish 3.x on PHP 5' thread the first time, thats where all discussions on the unofficial php5 version of 3.x is.

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

Piotr S.

Friday 21 September 2007 12:40:13 pm

Thnx Andre,

unfortunately removing '&' didn't help.

Regards

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 31 2025 03:22:43
Script start
Timing: Jan 31 2025 03:22:43
Module start 'layout'
Timing: Jan 31 2025 03:22:43
Module start 'content'
Timing: Jan 31 2025 03:22:44
Module end 'content'
Timing: Jan 31 2025 03:22:44
Script end

Main resources:

Total runtime1.1943 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.3750151.2422
Module start 'layout' 0.00630.0044 739.6172220.7500
Module start 'content' 0.01071.1826 960.36724,441.1797
Module end 'content' 1.19330.0009 5,401.546911.7813
Script end 1.1943  5,413.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3054160.0002
Check MTime0.00140.1144160.0001
Mysql Total
Database connection0.00070.059810.0007
Mysqli_queries1.112793.1720570.0195
Looping result0.00050.0397550.0000
Template Total1.143195.720.5715
Template load0.00190.157920.0009
Template processing1.141295.552520.5706
Template load and register function0.00170.139410.0017
states
state_id_array0.00190.162410.0019
state_identifier_array0.00170.145020.0009
Override
Cache load0.00160.1353230.0001
Sytem overhead
Fetch class attribute can translate value0.00180.151420.0009
Fetch class attribute name0.00210.178040.0005
XML
Image XML parsing0.00060.049920.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00220.1859170.0001
String conversion0.00000.000840.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs