View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001776 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2010-04-16 14:44 | 2010-05-21 15:33 |
Reporter | csimon | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.3.0 revision 26948 | ||||
Fixed in Version | 4.3.2 revision 27884 | ||||
Summary | 0001776: OpenID requires "gmp"-extension - not mentioned in system requirements | ||||
Description | see above. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
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. |
|
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 :) |
|
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). |