Can't Find class DOMDocument

322 views
Skip to first unread message

Bill Barrington

unread,
Jan 29, 2009, 8:04:42 AM1/29/09
to simple...@googlegroups.com
I'm trying to complete an SSO integration with SugarCRM & SimpleSAMLphp as a service provider.  In fact, I've already done this once but the SP was running on a Windows box. In this setup the SP is on Linux. I don't know why that should be any different (it shouldn't), but I am getting the following (FATAL) entry in the log.  How can it be possible that it cannot find the class DOMDocument? 

Any help is greatly appreciated.

This is the error in the log:
Class 'DOMDocument' not found in /var/www/html/simplesamlphp_1_3/lib/SimpleSAML/XML/AuthnResponse.php on line 67

Andreas Åkre Solberg

unread,
Jan 29, 2009, 8:08:15 AM1/29/09
to simple...@googlegroups.com
What version of PHP are you running?

On the installation page you see a table like this, what does it tell?

Bill Barrington

unread,
Jan 29, 2009, 8:15:33 AM1/29/09
to simple...@googlegroups.com
Aha!  Thank you. Should have thought of this first myself.  Sorry.  Says I am missing XML DOM.

How do I get it?

Thanks so much for the prompt reply.

Regards,

Bill
pastedGraphic.png

Andreas Åkre Solberg

unread,
Jan 29, 2009, 8:41:15 AM1/29/09
to simple...@googlegroups.com

On 29. jan.2009, at 14:15, Bill Barrington wrote:

Aha!  Thank you. Should have thought of this first myself.  Sorry.  Says I am missing XML DOM.

How do I get it?

Thanks so much for the prompt reply.

What linux distro are you using?

I found some info here, if you use centos:

This module is not included by default either in the CentOS 4 "centosplus" repository. For those using PHP5 on CentOS 4, a simple "yum --enablerepo=centosplus install php-xml" will do the trick (this will install both the XML and DOM modules).


Bill Barrington

unread,
Jan 29, 2009, 6:49:41 PM1/29/09
to simple...@googlegroups.com
Andreas,

Thanks for the help.  Got it sorted out and it's working now!

Bill
Reply all
Reply to author
Forward
0 new messages