Fatal error when adding extensions

Author Message

Arno Bouwens

Tuesday 15 July 2008 7:36:18 am

Hello,

When I try to add an extension to ezPublish 4.0.0, I encounter the following problem:
after clicking the "Apply changes" button, this error appears:

"Fatal error: eZ Publish did not finish its request

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

However, there's no debug output shown (even when the "Debug output" is enabled through "Quick settings").

The error also appears when I click the "regenerate autoload arrays" button.
I have installed the ez Components using PEAR, and they appear to be working (I used a test script).
The error occurs even when using a pristine ezPublish installation (without adding custom extensions).

I'm using PHP 5.2.6 and Apache 2.2.9.

André R.

Tuesday 15 July 2008 8:06:29 am

Take a look at this thread:
http://ez.no/developer/forum/install_configuration/ez_find_ez_components_php5_2/re_ez_find_ez_components_php5_2__5

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

Arno Bouwens

Wednesday 16 July 2008 2:02:03 am

Thanks for the fast reply.

We installed the ezComponents version 2007 v2.1, but the error remains. Have you got any other suggestions?

I noticed the same error on two completely different systems, one Gentoo and one system running MacOS X. So I guess it has nothing to do with PHP or Apache configurations (since they're different). The error appears when pressing either of the "Apply changes" or the "Regenerate autoload arrays for extensions" buttons.

Arno Bouwens

Saturday 19 July 2008 3:19:44 am

I still have the "Fatal error". After checking the php error logfile, I noticed the following:
- before installing ezComponents, an error is logged (ezcFile cannot be found), which seems perfectly logical
- after installation, the above error isn't logged anymore (still logical…), but when clicking the "Apply changes" button, I still get a "Fatal error" shown on the page.

I checked the memory limit: it is at 200M, this should be high enough I think. Are there any other settings I should check?

Kristof Coomans

Wednesday 30 July 2008 8:14:15 am

Hi Arno

Please ensure all necessary debug options are enabled. See "PHP" and "Debug Output" on http://ezpedia.org/wiki/en/ez/debugging. Then try again in the web interface.

If your installation can't find eZ Components, then add them to the PHP include path.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 19:04:02
Script start
Timing: Jan 18 2025 19:04:02
Module start 'layout'
Timing: Jan 18 2025 19:04:02
Module start 'content'
Timing: Jan 18 2025 19:04:03
Module end 'content'
Timing: Jan 18 2025 19:04:03
Script end

Main resources:

Total runtime0.6536 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0099 589.4688152.6406
Module start 'layout' 0.00990.0035 742.109439.4766
Module start 'content' 0.01340.6387 781.5859603.3438
Module end 'content' 0.65210.0016 1,384.929712.1406
Script end 0.6536  1,397.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4644160.0002
Check MTime0.00130.1989160.0001
Mysql Total
Database connection0.00160.242810.0016
Mysqli_queries0.590690.3595650.0091
Looping result0.00080.1210630.0000
Template Total0.611793.620.3058
Template load0.00190.287520.0009
Template processing0.609893.288920.3049
Template load and register function0.00020.037210.0002
states
state_id_array0.00170.258210.0017
state_identifier_array0.00180.277520.0009
Override
Cache load0.00150.2338310.0000
Sytem overhead
Fetch class attribute can translate value0.00060.096830.0002
Fetch class attribute name0.00120.191170.0002
XML
Image XML parsing0.00130.193530.0004
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00110.1755230.0000
String conversion0.00000.001740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs