Hi i am using a script that is giving me XML Error: empty document at line 1 whenever i run a certain function to pull info from another site. The problem is not the script as i know many many others that have it and it works for them. The problem seems to be server configuration. Anyone have any idea what could cause this type of a problem? I cant show you the code for the function as the script is encyrpted and therefore i cant even see it. But I do know what it does is access the DirectTrack system and pull leads from it into my script. The problem is when i initiate that which in the script is called Run Direct Track Crediting Thanks
Here is the output it is giving me when ran ( [client] => aquasismedia [add_code] => ****** [password] => ****** [start_date] => 2008-12-30 [end_date] => 2009-01-09 ) ?xml version=1.0 encoding=utf-8? item optstats Date12/31/2008/Date Campaign Amazing Web Store/Campaign ProgramID510/ProgramID Infoone-7068/Info AmountLEAD N/A/Amount TransactionIDLEAD N/A/TransactionID Commission$37.00/Commission/optstats optstats Date12/31/2008/Date Campaign Amazing Web Store/Campaign ProgramID510/ProgramID Infoone-7063/Info AmountLEAD N/A/Amount TransactionIDLEAD N/A/TransactionID Commission$37.00/Commission/optstats optstats Date01/05/2009/Date Campaign Amazing Web Store/Campaign ProgramID510/ProgramID Infoxbo-7112/Info AmountLEAD N/A/Amount TransactionIDLEAD N/A/TransactionID Commission$37.00/Commission/optstats optstats Date01/06/2009/Date Campaign Amazing Web Store/Campaign ProgramID510/ProgramID Infoesc-7142/Info AmountLEAD N/A/Amount TransactionIDLEAD N/A/TransactionID Commission$37.00/Commission/optstats optstats Date01/05/2009/Date Campaign eSuccess2u.com/Campaign ProgramID518/ProgramID Infoxbo-7108/Info AmountLEAD N/A/Amount TransactionIDLEAD N/A/TransactionID Commission$36.00/Commission/optstats /item XML error: Empty document at line 1 this is what the script creator is telling me: The system is able to log-in to Aquasis just fine and pull the XML for the credits that have yet to be processed. However, the XML isn't formed correctly. What I believe is happening is your server is actually stripping out all of the <>'s (most likely being represented in ASCII form: <. From checking your configuration, I'm not exactly sure what setting needs to change Anyone can please help. That would be great. you can look at my server test and phpinfo here http://www.asafreebie.com/server-test.php