ratsume / lightopenid

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

Missing argument 2 for Openid::parse_header_array(), called in Openid.php on line 330 #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I downloaded version 8fc8ad7 (at 2011-10-10 21:15:00 UTC) to use in 
Codeigniter 2.0.3.

When I did a quick try on Saturday everything worked fine, today's version 
gives "Missing argument 2 for Openid::parse_header_array(), called in 
Openid.php on line 330" error.

This is my code:

if ($identity) {
            $config['host'] = base_url();
            $this->load->library('openid', $config);
            if (!$this->openid->mode) {
                $this->openid->identity = $identity;
                header('Location: ' . $this->openid->authUrl());
            }
        }

I think the problems resides in commit 7d0c3eb ( 
http://gitorious.org/lightopenid/lightopenid/commit/7d0c3eb30f13196233e540556444
c99896d14f48 ) which added the parse_header_array function.

Original issue reported on code.google.com by andrea.b...@gmail.com on 10 Oct 2011 at 9:30

GoogleCodeExporter commented 8 years ago
I can confirm that commit 0fa024a (2011-10-08 18:09) works fine.

Tell me if you need more informations.

Original comment by andrea.b...@gmail.com on 10 Oct 2011 at 9:34

GoogleCodeExporter commented 8 years ago
Should be fixed now, thanks for reporting.

Original comment by mewp...@gmail.com on 11 Oct 2011 at 6:36