php-openid
php-openid copied to clipboard
Log error if php-xml isn't installed and it is needed for xrds
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:
- /
- /xrds.xml
- /users's url
It went:
- /
- /xrds.xml
- /
- /
- /xrds.xml
- /
I hope, at least, this bug report is useful for others.
Ciao!