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 »
  • Standalone Installations (Moderator: cap10morgan) »
  • [Resolved] Authorization error - XML parser not found
Pages: [1]

Author Topic: [Resolved] Authorization error - XML parser not found  (Read 6385 times)

awarnock

  • Guest
[Resolved] Authorization error - XML parser not found
December 20, 2008, 03:31:26 pm
 I'm testing CiviCRM 2.1.4 in standalone on a Linux box running Fedora Core 9.  The installation looks like its done but when I try to get it to verify my OpenID, I get a blank page back.  My Apache server log shows the following:

Code: [Select]
[error] [client 127.0.0.1] Successfully fetched 'http://awthird.myopenid.com/': GET response code 200, referer: http://localhost/yhsalums/standalone/index.php
[error] [client 127.0.0.1] PHP Fatal error:  No XML parser was found in /var/www/yhsalums/civicrm/packages/Auth/Yadis/XML.php on line 366, referer: http://localhost/yhsalums/standalone/index.php

Note that I've got the XML parser installed (maybe not the one CiviCRM is looking for?):

Code: [Select]
# pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt   1.2.3   stable
PEAR             1.7.2   stable
Structures_Graph 1.0.2   stable
XML_Parser       1.3.1   stable
XML_RPC          1.5.1   stable

Any hints about what gives?

TIA
« Last Edit: December 20, 2008, 09:32:24 pm by awarnock »

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: Authorization error - XML parser not found
December 20, 2008, 05:18:03 pm

The Auth library is looking for the builtin PHP XML library (DOM/XML). CiviCRM also requires SimpleXML. So i'd ensure that my compiled php has support for both these XML libraries. You can use phpinfo() to check what options your version of php was compiled with

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

awarnock

  • Guest
Re: Authorization error - XML parser not found
December 20, 2008, 09:08:00 pm
Ugh.. OK - I'll check.  Any reason to believe the default installation in Fedora Core 9 would not be compiled with those in?

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: Authorization error - XML parser not found
December 20, 2008, 09:19:47 pm

sorry no idea. I dont think any of us run FC9 (we are on a combination of macosx and ubuntu)

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

awarnock

  • Guest
Re: Authorization error - XML parser not found
December 20, 2008, 09:21:36 pm
Hmm...  well, that's a bummer.  It's got SimpleXML but phpinfo says it's compiled with the flag --disable-dom.  I assume this means that this version of CiviCRM won't work with Fedora Core 9 out of the box?  Man... I hate compiling PHP.

Thanks for the tip.

awarnock

  • Guest
Re: Authorization error - XML parser not found
December 20, 2008, 09:30:59 pm
Ah - success.  It loaded as a dynamic lib, so I didn't have to recompile PHP after all.  For Fedora, you have to install the php-xml package using yum or yumex.

cap10morgan

  • Moderator
  • I post occasionally
  • *****
  • Posts: 56
  • Karma: 9
Re: Authorization error - XML parser not found
January 21, 2009, 08:20:12 am
Quote from: awarnock on December 20, 2008, 09:30:59 pm
Ah - success.  It loaded as a dynamic lib, so I didn't have to recompile PHP after all.  For Fedora, you have to install the php-xml package using yum or yumex.

Thanks for figuring this out, I'll add it to the standalone installation docs.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • [Resolved] Authorization error - XML parser not found

This forum was archived on 2017-11-26.