title: Magento API Error: XML declaration allowed only at the start
body: <p>I'm trying to access Magento's core API. When I try to access the url <a href="http://magentohost/index.php/api/soap/wsdl=1" rel="nofollow">http://magentohost/index.php/api/soap/wsdl=1</a> I get the error </p>
  
  <pre><code>This page contains the following errors:
  
  error on line 1 at column 6: XML declaration allowed only at the start of the document
  
  Below is a rendering of the page up to the first error.
  </code></pre>
  
  <p>I have installed xmlrpc, soap, and other extensions that is said to be required but still no luck.</p>
  
  <p>Other magento instances in my host shows</p>
  
  <pre><code>This XML file does not appear to have any style information associated with it. The document tree is shown below.
  </code></pre>
  
  <p>plus a block of XML codes below it.</p>
  
  <p>It's said that I may have white spaces on my XML document but I have no idea what XML document I should modify.</p>