Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

return new nusoap_fault(...) creates error

Help
2009-11-03
2013-06-06
  • Pavel Bazanov
    Pavel Bazanov
    2009-11-03

    Hello, 
    In the method my webservice (on the server) side, I want to report an error to the caller by using nusoap_fault class.
    So I write something like this: 

    … return new nusoap_fault("SERVER", '', "Fault description"); 

    And I get Internal Server Error returned to the client. When I see error log on a hosting I see: 

    " FastCGI: comm with server "/var/www/fcgi/php-cgi" aborted: error parsing headers: duplicate header 'Status' "

    What can be the problem and how can I try to fix it?

    Thank you in advance.