FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » PHP Fatal error: Class 'DOMDocument' not found
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
PHP Fatal error: Class 'DOMDocument' not found [message #166639] Fri, 03 February 2012 19:25 Go to next message
DaveQB is currently offline  DaveQB   Australia
Messages: 109
Registered: January 2006
Location: Sydney
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

As the title states

PHP Fatal error:  Class 'DOMDocument' not found in /home/wspirates/domains/forums.wspirates.com/FUDforumwsp/scripts/xmlagg.php on line 79


This happens when setting up an RSS feed (XML Aggregation)

Happens running from the browser as the apache user and on the cli as another user.

I don't have this class defined anywhere it seems

[DATA_DIR]
grep -ir DOMDocument *
errors/.backup/xmlagg.php_40f48b387cc586d14f67db620c7e4f04_1327730319: $doc = new DOMDocument();
plugins/openid/lib/XML.php: $this->doc = new DOMDocument;
scripts/xmlagg.php: $doc = new DOMDocument();
scripts/xmlagg.php_1.log:PHP Fatal error: Class 'DOMDocument' not found in /home/wspirates/domains/forums.wspirates.com/FUDforumwsp/scripts/xmlagg.php on line 79


FUDforum: 3.0.3
PHP: 5.3.9
Database: mysql 5.5.19 (mysql)
Operating system: Linux 3.1.6-1.fc16.i686

Re: PHP Fatal error: Class 'DOMDocument' not found [message #166644 is a reply to message #166639] Sat, 04 February 2012 03:57 Go to previous messageGo to next message
NeXuS is currently offline  NeXuS
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
add to buddy list
ignore all messages by this user
You need to have the proper PHP extensions installed. The specific package names change from distro to distro.
Re: PHP Fatal error: Class 'DOMDocument' not found [message #166647 is a reply to message #166644] Sat, 04 February 2012 06:01 Go to previous message
DaveQB is currently offline  DaveQB   Australia
Messages: 109
Registered: January 2006
Location: Sydney
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

Ahh thank you. I will ask the admin.

For anyone searching for this and are using a Red Hat system:

http://blog.randell.ph/2010/10/01/php-fatal-error-class-domdocument-not-fou nd/

yum install php-xml

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Disabled forum message saving in GLOBALS.php with \r\n
Next Topic: Non-moderated forums prompting for approval
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 23 04:10:10 EDT 2017

Total time taken to generate the page: 0.00679 seconds