Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.0.0trunk
-
None
-
Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5') 5.2.2
Database and version:
Browser (and version):
Description
There is a known bug in php version 522 that does not populate the global variable HTTP_RAW_POST_DATA.
Not strictly an ezP error per se, but nice to have fixed nonetheless
file: \lib\ezsoap\classes\ezsoapserver.php
FIX:
function eZSOAPServer()
becomes:
function eZSOAPServer()
{
$ver = phpversion();
if ($ver[0] >= 5)
else
{ $this->RawPostData = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : ''; }}
Steps to reproduce
try to access any soap service defined on eZP
Attachments
Issue Links
- relates to
-
EZP-11648 PHP requirements for eZ Publish 4.0: which is the minimum version needed?
- Closed