My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 50: Missing argument 2 for Openid::parse_header_array(), called in Openid.php on line 330
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Oct 2011


 
Reported by andrea.b...@gmail.com, Oct 10, 2011
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/7d0c3eb30f13196233e540556444c99896d14f48 ) which added the parse_header_array function.
Oct 10, 2011
#1 andrea.b...@gmail.com
I can confirm that commit 0fa024a (2011-10-08 18:09) works fine.

Tell me if you need more informations.
Oct 10, 2011
Project Member #2 mewp...@gmail.com
Should be fixed now, thanks for reporting.
Status: Fixed

Powered by Google Project Hosting