Bug 1222649 - various errors when testing consumer example
Summary: various errors when testing consumer example
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: php-pear-Auth-OpenID (Show other bugs)
(Show other bugs)
Version: epel7
Hardware: Unspecified Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-18 18:07 UTC by Daniel Pocock
Modified: 2015-05-18 18:07 UTC (History)
1 user (show)

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 (Terms of Use)
patch (3.12 KB, patch)
2015-05-18 18:07 UTC, Daniel Pocock
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.