title: XML error parsing SOAP payload on line 1: Mismatched tag
body: <p>I am getting an error with nusoap and/or SugarCRM. Here is the error:</p>
  
  <p>XML error parsing SOAP payload on line 1: Mismatched tag</p>
  
  <p>I get that in the $soapclient->error_str response. Not exactly sure what this error means or where it is located and I could use some help. So here is the background, I am working in SugarCRM with the included nusoap class and have an external site accessing the soap interface. The weird thing is that I have working copy running locally and this error only occurred when I uploaded it to my linux server.</p>
  
  <p>I now I have a low reputation but if you give a working answer I will accept it. And also, I have researched the error with no luck. Any help would be much appreciated. If you need me to post any code, just let me know.</p>
  
  <p>MORE INFO:</p>
  
  <p>I am using SugarCRM CE 6.2.1. My soap entry point is <a href="http://server/sugar/soap.php" rel="nofollow">http://server/sugar/soap.php</a>. Here is my instation of the nusoap client.</p>
  
  <pre><code>$soapclient = new nusoap_client('http://server/sugar/soap.php');
  </code></pre>
  
  <p>Here is an example of a call made to the soap client</p>
  
  <pre><code>$result = $soapclient-&gt;call('update_existing_contact', array($session_id, $data));
  </code></pre>
  
  <p>However the error is the same for every call. </p>
  
  <p>Also I get the same error when I try to use the sugar/examples/SoapTest.php so I don't think it is the client.</p>
  
  <p>Like I said earlier the thing that is the most weird is that the problem only occurs on my server even when it is the same code.</p>