Modify

Opened 10 years ago

Closed 6 years ago

Last modified 6 years ago

#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 Volker Strähle, 10 years ago

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.

comment:2 by Gerhard Waldemair, 10 years ago

hast du schon dieses Paket probiert ?

https://github.com/codecasts/nusoap-php7

comment:3 by Torsten Riemer, 8 years ago

Milestone: modified-shop-2.1.0.0

comment:4 by Torsten Riemer, 6 years ago

Milestone: modified-shop-2.0.2.0

comment:5 by Gerhard Waldemair, 6 years ago

Resolution: fixed
Status: newclosed

In 10509:

fix #890 - update nusoap for php7

comment:6 by Torsten Riemer, 6 years ago

In 10531:

Addition on r10509 (fix #890 - update nusoap for php7) - reimplemented r8841 (fix $$ variables for php7)

comment:7 by Torsten Riemer, 6 years ago

In 10532:

Addition on r10509 (fix #890 - update nusoap for php7) - reimplemented r9510 (some small code improvements)

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.