Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Bug #6744 Invalid Header
Submitted: 2006-02-10 12:58 UTC
From: mvonarx at tiscali dot ch Assigned: yunosh
Status: Closed Package: SOAP (version 0.9.3)
PHP Version: 4.4.2 OS: winxpsp2
Roadmaps: (Not assigned)    
Subscription  


 [2006-02-10 12:58 UTC] mvonarx at tiscali dot ch
Description: ------------ I always get 'malformed header from script' in my apache2 error.log no service can receive soap answers do to this bug. Test script: --------------- solution: change lines 259 and 262 in file SOAP/Server.php (inside function _sendResponse) to the following: ----- $hdrs = $hdrs_type . ' ' . $this->__options['http_status_fault'] . "\r\n"; $response = $this->fault->message(); and: ----- $hdrs = $hdrs_type . ' ' . $this->__options['http_status_success'] . "\r\n"; }

Comments

 [2006-02-10 13:10 UTC] yunosh
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2006-03-10 08:15 UTC] ixti at pitfall dot ru (ixti)
You can also just replace ' with " on lines 259 and 262 $hdrs = "$hdrs_type " . $this->__options['http_status_fault'] . "\r\n"; $response = $this->fault->message(); ----- and: ----- $hdrs = "$hdrs_type " . $this->__options['http_status_success'] . "\r\n"; }