View Issue Details

IDProjectCategoryView StatusLast Update
0005303OXID ERP InterfaceOXID ERP Interface - subpublic2015-07-22 15:48
Reportermartinwegele Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status resolvedResolutionunable to reproduce 
Product Version2.11.1_54476 
Target Version2.14.1 
Summary0005303: Logging destroys XML response
DescriptionIf 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 ReproduceInstall 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 InformationA 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.
TagsNo tags attached.

Activities

florian.auer

2015-06-29 14:30

reporter   ~0011066

Reminder sent to: martinwegele

Still up to date?