CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • More troubles with my Installation... Call to undefined method domdocument
Pages: [1]

Author Topic: More troubles with my Installation... Call to undefined method domdocument  (Read 1542 times)

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
More troubles with my Installation... Call to undefined method domdocument
July 07, 2009, 07:26:23 am
Fatal error: Call to undefined method domdocument::loadHTML() in C:\xampp\htdocs\vhi\sites\all\modules\civicrm\packages\IDS\vendors\htmlpurifier\HTMLPurifier\Lexer\DOMLex.php on line 59

Is this another module that needs to be installed?

I get this message when trying to save or modify contribution types...

« Last Edit: July 07, 2009, 07:37:51 am by nvisioncurtis »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: More troubles with my Installation... Call to undefined method domdocument
July 07, 2009, 07:54:45 am

1. do a web search on: "Fatal error: Call to undefined method domdocument::loadHTML()" and follow the links

2. do ensure that your php is compiled with the dom extension

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: More troubles with my Installation... Call to undefined method domdocument
July 07, 2009, 08:55:23 am
Ugh!

Didn't realize this was a server config issue. I'm not sure what to do here.  I've been using XAAMP for my local server for sometime now and never came across this before. Dom seems to be enabled and loaded.

Any other suggestions.


extension=php_domxml.dll  is enabled in the php.ini

excerpt from phpinfo()

dom
DOM/XML    enabled
DOM/XML API Version    20031129
libxml Version    2.6.32
HTML Support    enabled
XPath Support    enabled
XPointer Support    enabled
Schema Support    enabled
RelaxNG Support    enabled

domxml
DOM/XML   enabled
DOM/XML API Version    20030407
Extension Version    1.0.0
libxml Version    20632
HTML Support    enabled
XPath Support    enabled
XPointer Support    enabled 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: More troubles with my Installation... Call to undefined method domdocument
July 07, 2009, 09:19:28 am

sorry, no idea here. this is a dom/htmlpurifier error message. you'll need to do a web search and figure out whats happening and why. please do post back your findings and the solution

thanx

lobo
 
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

nvisioncurtis

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 0
Re: More troubles with my Installation... Call to undefined method domdocument
July 07, 2009, 09:51:47 am
I found some web entries when search on the error and XAMMP

I don't know why it works but It seems commenting out these libraries helps.
Could be a windows/xammp issue.

;extension=php_domxml.dll
;extension=php_pdf.dll

Just hope that doesn't cause other issues elsewhere.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • More troubles with my Installation... Call to undefined method domdocument

This forum was archived on 2017-11-26.