Hope this is the correct place for this question.
Developed a system on my Laptop (Win10 WAMP server connecting to SQL Server etc) working fine for all the XMLHTTPRequests', but when I put the same code on the main server (Linux, Using LAMP and connecting to SQL Server ) I get the following error from the XMLHTTPRequests
"VM49:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0".
Clicking on the VM49:1 I can see the returned value from the JSON.parse and it has the correct values, but also contains <!-- --> at the beginning just as though there should be a comment in there.
Any ideas on how to get rid of this error ???