No service endpoints found on 2 different openid php servers

Nocturn nocturn00 at gmail.com
Tue Jul 31 14:10:44 PDT 2007


2007/7/31, Jonathan Daugherty <cygnus at janrain.com>:
>
> # PHP is run via the cgi interface.  The problem is that this is a
> # webhost ( dreamhost.com) and I cannot change such settings (I can do
> # a custom php.inifile, choose between PHP4 and 5 but no more).
>
> In src/render.php, replace
>
>     $headers = apache_request_headers();
>     foreach ($headers as $header => $value) {
>         if (($header == 'Accept') &&
>             preg_match("/application\/xrds\+xml/", $value)) {
>             $serve_xrds_now = true;
>         }
>     }
>
> with
>
>     if (array_key_exists('HTTP_ACCEPT', $_SERVER)) {
>         $value = $_SERVER['HTTP_ACCEPT'];
>         if (preg_match("/application\/xrds\+xml/", $value)) {
>             $serve_xrds_now = true;
>         }
>     }



Ok, thanks.
It works for phpbb-openid, though I cannot use it on the openidenabled site
yet, it gives:
Error Type AssertionError Error Value
Request made at 2007/07/31 14:09:34.897 GMT-7

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070731/6b7ff64a/attachment.html 


More information about the Dev mailing list