Project

General

Profile

Actions

Bug #20805

closed

OpenID authentication broken when dl() is not available

Added by Andreas Wolf over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-07-31
Due date:
% Done:

0%

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

Description

The PHP OpenID library relies on the function dl() being available at runtime, to load some math extensions. This will break OpenID authentication and thus the whole TYPO3 backend when someone tries to login with an OpenID and dl() is not available.

TYPO3 should issue a warning if dl() is not available. Preferrably in the install tool, but the warning should also be displayed while doing a login. As the OpenID lib developers used @dl(...), there isn't even an error message being displayed when dl() is not available.

The error is in file ext:openid/lib/php-openid/Auth/OpenID/BigMath.php, function Auth_OpenID_detectMathLibrary()

Disable the enable_dl option in your php.ini, then try to login via OpenID. Maybe you also need to disable loading of the gmp and bcmath PHP extensions, as the function in question tries to load these.

(issue imported from #M11613)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #21444: OpenID authentication does not work with PHP 5.3ClosedRupert Germann2009-11-03

Actions
Actions

Also available in: Atom PDF