php-openid icon indicating copy to clipboard operation
php-openid copied to clipboard

Log error if php-xml isn't installed and it is needed for xrds

Open docwhat opened this issue 11 years ago • 0 comments

I spent quite a few hours troubleshooting the code by hand because while my code worked great in development it failed on our production server.

It turned out to be due to the lack of php-xml being installed.

It would be really really really helpful if it was logged someplace that XRDS failed because php-xml wasn't installed. Or better yet, a fatal error.

The symptoms were instead of hitting the following URLs on the openid server:

  1. /
  2. /xrds.xml
  3. /users's url

It went:

  1. /
  2. /xrds.xml
  3. /
  4. /
  5. /xrds.xml
  6. /

I hope, at least, this bug report is useful for others.

Ciao!

docwhat avatar May 10 '13 00:05 docwhat