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.