Project

General

Profile

Actions

Bug #21444

closed

OpenID authentication does not work with PHP 5.3

Added by Dmitry Dulepov over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-11-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

OpenID uses dl() function, which is disabled by default in PHP 5.3.

(issue imported from #M12455)


Files

openid_php53.diff (912 Bytes) openid_php53.diff Administrator Admin, 2009-11-04 10:29
12455_openID_php5.3.diff (5.51 KB) 12455_openID_php5.3.diff Administrator Admin, 2009-11-06 22:16
12455_v2.diff (15.9 KB) 12455_v2.diff Administrator Admin, 2009-11-07 18:09
openid-php53.diff (5.64 KB) openid-php53.diff Administrator Admin, 2009-11-16 13:05

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #21647: OpenID redirects to wrong page and does not create a BE sessionClosedRupert Germann2009-11-23

Actions
Has duplicate TYPO3 Core - Bug #20805: OpenID authentication broken when dl() is not availableClosedOliver Hader2009-07-31

Actions
Has duplicate TYPO3 Core - Bug #21464: PHP warnings can prevent OpenID loginsClosedDmitry Dulepov2009-11-05

Actions
Actions #1

Updated by Oliver Hader over 14 years ago

That is a real ugly one...
I wonder whether these math libs are required at all and whether it could be solved just with native PHP stuff...

Actions #2

Updated by Rupert Germann over 14 years ago

Besides the dl() issue there are several other problems which fit under this bugreport:
- on Window the .htaccess file is not written because of wrong path delimiter
- something like "$var =& new class();" produces a warning
- several messages like: result expected to be a reference, value given

attached patch makes openID login work for me under PHP 5.3 (win)

Actions #3

Updated by Dmitry Dulepov over 14 years ago

openid-php53.diff is my final result.

I did not look to Rupi's patch.

Actions #4

Updated by Steffen Kamper over 14 years ago

you'd better look to Rupi's patch - yours doesn't work for me:
Fatal error: Class 't3lib_error_Exception' not found in C:\xampp2\htdocs\trunk\typo3\sysext\openid\lib\php-openid\Auth\OpenID\Consumer.php on line 271

This was all solved in Rupi's patch.

Actions #5

Updated by Rupert Germann over 14 years ago

doesn't work for me too. (PHP 5.3 xammp win)
Dmitry, on what system did you test your patch?

Actions #6

Updated by Oliver Hader over 14 years ago

openid-php53.diff also does not work on my system (Mac OS X, Apache2, PHP 5.3):
"Fatal error: Class 't3lib_error_Exception' not found in /Users/olly/Sites/TYPO3/trunk/typo3/sysext/openid/lib/php-openid/Auth/OpenID/Consumer.php on line 271"

Actions #7

Updated by Rupert Germann over 14 years ago

committed v2 to trunk rev 6451

Actions

Also available in: Atom PDF