View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005303 | OXID ERP Interface | OXID ERP Interface - sub | public | 2013-07-17 17:57 | 2015-07-22 15:48 |
Reporter | martinwegele | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 2.11.1_54476 | ||||
Target Version | 2.14.1 | ||||
Summary | 0005303: Logging destroys XML response | ||||
Description | If I switch on the SOAP logging ($this->blErpLogging = true;) and display_errors for PHP is on, the XML response of the ERP interface will contain this warning: Warning: Cannot modify header information - headers already sent by (output started at /shop/modules/erp/oxerpsoapserverlogger.php:32) in /shop/modules/erp/oxerpsoapserverlogger.php on line 37 | ||||
Steps To Reproduce | Install ERP module in your shop Switch on logging in config.inc.php of the shop: $this->blErpLogging = true; $this->sErpLogFile = $this->sShopDir."/log/erp.log"; Perform a login via SOAP and have a look at the XML response of the shop/ERP interface. | ||||
Additional Information | A possible workaround is to switch off display_errors for the shop but this is not nice on dev-servers. Would be cool if it were possible to have a high error_reporting level and display_errors on at the same time. | ||||
Tags | No tags attached. | ||||