Modify ↓
#890 closed Aufgabe (fixed)
PHP7 - includes/external/nusoap
| Reported by: | Volker Strähle | Owned by: | somebody |
|---|---|---|---|
| Priority: | niedrig | Milestone: | modified-shop-2.0.2.0 |
| Component: | Shop | Version: | 2.0.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
http://php.net/manual/de/migration70.deprecated.php
trifft auf nusoap zu.
Entweder muss nusoap agepasst werden oder eine Alternative genutzt werden.
Attachments (0)
Change History (7)
comment:1 by , 10 years ago
comment:3 by , 8 years ago
| Milestone: | modified-shop-2.1.0.0 |
|---|
comment:4 by , 6 years ago
| Milestone: | → modified-shop-2.0.2.0 |
|---|
Note:
See TracTickets
for help on using tickets.

Noch etwas:
Wird mit mitNuSOAP ein Webservice bereitgestellt, geschieht dies häufig u. a. mit folgendem Code:
require_once('../services/nusoap/lib/nusoap.php'); $soap = new soap_server(); // Some more Code here ... $HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''; $soap->service($HTTP_RAW_POST_DATA);Unter PHP 7 wurde $HTTP_RAW_POST_DATA entfernt. Somit funktioniert o. g. Code nicht mehr.
Eine Lösung:
require_once('../services/nusoap/lib/nusoap.php'); $soap = new soap_server(); // Some more Code here ... $soap->service(file_get_contents('php://input'));Das sollte auch bereits ab PHP 5.2 funktionieren.