Installation problem with DOMdocument

Author Message

Petar Lazarevic

Thursday 08 April 2010 5:25:36 am

I cant find a solution (even after hours of searching this forum) for my problem so here it is...

I'm using XAMPP on locale, PHP 5.2.6, Apache 2.2.9, MySQL 5 etc...on Windows

Everything is enabled, everything in XAMPP is installed, everything works fine for every other CMS, permissions are set up...but still after choosing default language I'am getting this >>>

Fatal error: Call to undefined method domdocument::load() in E:\php\ez_publish\kernel\setup\steps\ezstep_site_types.php on line 661

Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/*

I even tried to exclude that part of code but after that (yes, installation continued without any problem) I have problem with ezpackages on the next page (which I've downloaded all from link) and after uploading some - same problem with DOM document in next step...

Thanks in advance...

Gaetano Giunta

Thursday 08 April 2010 6:56:34 am

You searched for hours, but you should hone your skills ;)

Iirc the solution is in a comment in the installation requirements page in the online manual (or the installation guide pages): just disable the domdocument extension in php.ini. It's a legacy (read: php4) extension that has been supercdeded by the dom extension in php5. Funny things is when both are enabled you get no errors, but domdocument takes precedence in defining the domdocument class, giving you a borked version. Even funnier is that xampp guys still insist on enabling it by default...

Principal Consultant International Business
Member of the Community Project Board

Petar Lazarevic

Thursday 08 April 2010 9:17:27 am

That's it...yeah...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 18 2025 04:09:54
Script start
Timing: Jan 18 2025 04:09:54
Module start 'layout'
Timing: Jan 18 2025 04:09:54
Module start 'content'
Timing: Jan 18 2025 04:09:56
Module end 'content'
Timing: Jan 18 2025 04:09:56
Script end

Main resources:

Total runtime1.2676 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.1719152.6406
Module start 'layout' 0.00740.0040 741.812539.4922
Module start 'content' 0.01141.2548 781.3047533.4609
Module end 'content' 1.26620.0013 1,314.765612.1406
Script end 1.2676  1,326.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2910160.0002
Check MTime0.00140.1136160.0001
Mysql Total
Database connection0.00070.056510.0007
Mysqli_queries1.214895.8322570.0213
Looping result0.00080.0621550.0000
Template Total1.223496.520.6117
Template load0.00240.187120.0012
Template processing1.221096.323620.6105
Template load and register function0.00030.019910.0003
states
state_id_array0.00280.222110.0028
state_identifier_array0.00240.189420.0012
Override
Cache load0.00190.1461210.0001
Sytem overhead
Fetch class attribute can translate value0.00090.071220.0005
Fetch class attribute name0.00100.082640.0003
XML
Image XML parsing0.00070.051420.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00080.0621160.0000
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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs