[TYPO3-core] RFC #12455: OpenID authentication does not work with PHP 5.3

Rupert Germann rupi at gmx.li
Fri Nov 6 22:21:56 CET 2009


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12455

Branches: Trunk

Problem:
OpenID authentication does not work with PHP 5.3
- OpenID uses dl() function, which is disabled by default in PHP 5.3.
- on Windows the .htaccess file is not written because of wrong path 
delimiter
- something like "$var =& new class();" produces a warning
- several error messages like: result expected to be a reference, value 
given



Solution:
attached patch makes openID login work for me under PHP 5.3 (win)
- check if dl() is available
- fix the path by using DIRECTORY_SEPARATOR
- remove the unneeded references
- add the missing references



greets
rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12455_openID_php5.3.diff
Type: text/x-diff
Size: 5642 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091106/9be8012e/attachment-0001.diff>


More information about the TYPO3-team-core mailing list