Bug 1222649

Summary: various errors when testing consumer example
Product: [Fedora] Fedora EPEL Reporter: Daniel Pocock <daniel>
Component: php-pear-Auth-OpenIDAssignee: Patrick Uiterwijk <puiterwijk>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
patch none

Description Daniel Pocock 2015-05-18 18:07:31 UTC
Created attachment 1026797 [details]
patch

Description of problem:

Various PHP errors when using the consumer example.


 PHP Fatal error:  Call-time pass-by-reference has been removed in /usr/share/pear/Auth_OpenID/OpenID/Consumer.php on line 1188

 PHP Parse error:  syntax error, unexpected 'global' (T_GLOBAL), expecting function (T_FUNCTION) in /usr/share/pear/Auth_OpenID/Yadis/XML.php on line 308

 PHP Parse error:  syntax error, unexpected '$__Auth_Yadis_defaultParser' (T_VARIABLE), expecting function (T_FUNCTION) in /usr/share/pear/Auth_OpenID/Yadis/XML.php on line 310

 PHP Parse error:  syntax error, unexpected end of file, expecting function (T_FUNCTION) in /usr/share/pear/Auth_OpenID/Yadis/XML.php on line 364

 PHP Fatal error:  Call-time pass-by-reference has been removed in /usr/share/pear/Auth_OpenID/Yadis/Manager.php on line 416

 PHP Fatal error:  Call to undefined function Auth_Yadis_getXMLParser() in /usr/share/pear/Auth_OpenID/Yadis/XRDS.php on line 284, referer: https://fedrtc.org/accounts/index.php

 PHP Fatal error:  Call to undefined function Auth_Yadis_getSupportedExtensions() in /usr/share/pear/Auth_OpenID/Yadis/XML.php on line 350, referer: https://fedrtc.org/accounts/index.php

 PHP Fatal error:  Call to undefined function Auth_Yadis_setDefaultParser() in /usr/share/pear/Auth_OpenID/Yadis/XML.php on line 355, referer: https://fedrtc.org/accounts/index.php




Version-Release number of selected component (if applicable):


php-pear-Auth-OpenID-2.2.2-8.el7.noarch.rpm

How reproducible:


Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

The attached patch tries to correct the issues.