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)) {
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: php/nusoap/ nusoap. php "'.*$domain$ 'i", $this->host)) { "'^$path. *'i", $this->path)) { '/wsdl/ ', $qs) ){ match(' /^(ISO- 8859-1| US-ASCII| UTF-8)$ /i',$enc) ){ '/^(ISO- 8859-1| US-ASCII| UTF-8)$ /i', $enc)) { match(' /^(ISO- 8859-1| US-ASCII| UTF-8)$ /i',$enc) ){ "/encoding= [\"']([ ^\"']*) [\"']/" , $xml_decl, $res)) {
$ grep "preg_match" -n /usr/share/
3387: if (! preg_match(
3394: if (! preg_match(
3657: if (preg_match(
3728: if(preg_
3757: if (preg_match(
4217: if(preg_
6453: if (preg_match(