View Issue Details

IDProjectCategoryView StatusLast Update
0001776OXID eShop (all versions)6. ------ Setup -------public2010-05-21 15:33
Reportercsimon Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.0 revision 26948 
Fixed in Version4.3.2 revision 27884 
Summary0001776: OpenID requires "gmp"-extension - not mentioned in system requirements
Descriptionsee above.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2010-04-16 17:15

reporter   ~0002561

gmp extension is not mandatory for eShop. In case if this extension does not installed, then eShop uses the bcmath.
Problem is, that bcmath is checked in system requirements only in PE/CE, when OpenID is also in EE.
So please add check for bcmath in EE also.

csimon

2010-04-17 00:14

reporter   ~0002563

hm i understand the problem.

the problem i experienced was that when trying to log in with open id, shop crashed because it tried to load gmp, suhosin registered the blacklisted call of "dl" which was called to load gmp. The library is set in "BigMath.php" as standard math extension.

to circumvent this: could we define bc math als standard math library for openId, so that openId never tries to load an extension & therefore triggering suhosins blacklist? usage of "dl" is prohibted on most hosting servers using suhosin to protect their environments.

The rest of the shop runs very well with suhosin, so i think we shouldn't remove this barrier.

anyway: thanks for the answer dainius :)

sarunas_valaskevicius

2010-05-12 12:21

reporter   ~0002754

BCMath is added to the requirements check in EE.

Also, to skip loading of the gmp extension, add the following line to the config.inc.php:
define('Auth_OpenID_BUGGY_GMP', true);

(it is handled by the openId library).