You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Report and XML error

Received Response
26
Views
3
Comments
edited Aug 15, 2019 12:48PM in Reporting & Analytics for B2C Service 3 comments

Summary

Report and Custom Script

Content

Hi community,

 I am trying to add the following under Custom Scripts - Initialisation tab

putenv('TEMPORARY_RNW_CONF_DIRECTORY');
require_once(get_cfg_var('doc_root').'/custom/test.php');

However, I am getting the below error

"Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 12, position 3."

I did create a new report and remove all code from my php file, but still the issue persists

Any suggestion to solve this issue would be much appreciated

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!