I think, libnusoap-php using older ereg/eregi PHP functions and Mantis SOAP API
throw unknown SOAP Fault sth. like "Deprecated ereg function". It is reason,
why SOAP API don't started.
It is problem for PHP version >= 5.3, when I have PHP <= 5.2 problem don;t
exists.
Below I publish lines of libnusoap-php when I changed PHP function ereg/eregi
into preg_match:
$ grep "preg_match" -n /usr/share/php/nusoap/nusoap.php
3387: if (! preg_match("'.*$domain$'i", $this->host)) {
3394: if (! preg_match("'^$path.*'i", $this->path)) {
3657: if (preg_match('/wsdl/', $qs) ){
3728: if(preg_match('/^(ISO-8859-1|US-ASCII|UTF-8)$/i',$enc)){
3757: if (preg_match('/^(ISO-8859-1|US-ASCII|UTF-8)$/i',
$enc)) {
4217: if(preg_match('/^(ISO-8859-1|US-ASCII|UTF-8)$/i',$enc)){
6453: if (preg_match("/encoding=[\"']([^\"']*)[\"']/",
$xml_decl, $res)) {
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/988177
Title:
the Mantis package links to an outdated nusoap lib that breaks the
soap api
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mantis/+bug/988177/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs