Awce / lightopenid

Automatically exported from code.google.com/p/lightopenid
0 stars 0 forks source link

Fatal Error in LightOpenID.discover(); #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to use OpenID on my Vanilla Forums based site, but I can't get 
OpenID authentication to work. I'm posting the detailed diagnostic information 
here, and really hope that you can help. I searched your issues list and none 
of the solutions mentioned seemed to solve the problem. You can check the PHP 
Info of my site here: http://pmhangout.com/phpinfo.php

Thanks for your help in advance.

Fatal Error in LightOpenID.discover();

No servers found!
The error occurred on or near: 
/home/pmhang5/public_html/plugins/OpenID/class.lightopenid.php
368:                 $this->server = $server;
369:                 return $server;
370:             }
371: 
372:             throw new ErrorException('No servers found!');
373:         }
374:         throw new ErrorException('Endless redirection!');
375:     }
376: 
Backtrace:
[/home/pmhang5/public_html/plugins/OpenID/class.lightopenid.php:504] 
LightOpenID->discover();
[/home/pmhang5/public_html/plugins/OpenID/class.openid.plugin.php:170] 
LightOpenID->authUrl();
[/home/pmhang5/public_html/library/core/class.pluginmanager.php:713] 
OpenIDPlugin->EntryController_OpenID_Create();
[/home/pmhang5/public_html/library/core/class.dispatcher.php:313] 
Gdn_PluginManager->CallNewMethod();
[/home/pmhang5/public_html/index.php:53] Gdn_Dispatcher->Dispatch();
Need Help?
If you are a user of this website, you can report this message to a website 
administrator.
If you are an administrator of this website, you can get help at the Vanilla 
Community Forums.
Additional information for support personnel:
Application: Vanilla
Application Version: 2.0.18.3
PHP Version: 5.3.10
Operating System: Linux
Server Software: Apache
Referer: 
http://www.pmhangout.com/entry/openid?Target=%2Fdiscussion%2F2%2Fpmp-and-capm-ce
rtification-resources&display=popup
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 
(KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
Request Uri: 
/entry/openid?Target=%2Fdiscussion%2F2%2Fpmp-and-capm-certification-resources&di
splay=popup&url=harwinder_bhatia%40yahoo.com&Go=Go
Controller: LightOpenID
Method: discover

Original issue reported on code.google.com by yourtube...@gmail.com on 13 Mar 2012 at 2:46

GoogleCodeExporter commented 9 years ago
One quick update. I noticed that URL me.yahoo.com works, but yahoo.com fails. 
But when I try yahoo.com on other sites, it works. 

Original comment by yourtube...@gmail.com on 13 Mar 2012 at 3:28

GoogleCodeExporter commented 9 years ago
Found the reason, will fix it.

For future reference: the reason is that `yahoo.com` responds with 
X-XRDS-Location header iff the request containts `application/xrds+xml` in it's 
Accept header.

Original comment by mewp...@gmail.com on 13 Mar 2012 at 4:56