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.
Description
OpenID uses dl() function, which is disabled by default in PHP 5.3.
(issue imported from #M12455)
Files
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...
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)
openid-php53.diff is my final result.
I did not look to Rupi's patch.
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.
doesn't work for me too. (PHP 5.3 xammp win)
Dmitry, on what system did you test your patch?
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"
committed v2 to trunk rev 6451
Also available in: Atom
PDF