Call-time pass-by-reference problem in OpenID

Call-time pass-by-reference problem in OpenID

Issue ID:3595
Issue Category:compatibility
Component:openid
Priority:major
Status:active
Assigned:Unassigned
Version:1.0

I get the following stack trace when trying to enable my OpenID on Debian wheezy (PHP 5.4):


[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/statusnet-1.0.1/extlib/Auth/OpenID/Consumer.php on line 1184, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP Stack trace:, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 1. {main}() /var/www/statusnet-1.0.1/index.php:0, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 2. main() /var/www/statusnet-1.0.1/index.php:380, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 3. class_exists() /var/www/statusnet-1.0.1/index.php:354, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 4. __autoload() /var/www/statusnet-1.0.1/index.php:354, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 5. Event::handle() /var/www/statusnet-1.0.1/lib/framework.php:110, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 6. call_user_func_array() /var/www/statusnet-1.0.1/lib/event.php:105, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 7. OpenIDPlugin->onAutoload() /var/www/statusnet-1.0.1/lib/event.php:105, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 8. require_once() /var/www/statusnet-1.0.1/plugins/OpenID/OpenIDPlugin.php:362, referer: http://status.orangeseeds.org/settings/openid
[Wed Apr 11 23:34:58 2012] [error] [client 2001:1928:1:9::1] PHP 9. require_once() /var/www/statusnet-1.0.1/plugins/OpenID/openidsettings.php:34, referer: http://status.orangeseeds.org/settings/openid

Updates

#1

here's a patch i am using in production.

there are lots of warnings all over the place, but at least with this i can enable openid.

AttachmentSize
sn-php54.patch_.txt 1.5 KB

#2

#3

Can confirm issue exists on Debian Wheezy, also encountered it on http://micro.fragdev.com/.

I can also confirm the patch worked - thanks anarcat! I'm not sure if removing the call-by-reference entirely affects other areas of the functionality, though...

Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.