title: warning: simplexml_load_file(): I/O warning : failed to load external entity drupal
body: <p>I am getting the following errors.</p>
  
  <blockquote>
    <p>warning: simplexml_load_file(): I/O warning : failed to load external entity </p>
  </blockquote>
  
  <p>in this code </p>
  
  <pre><code>$a = base_path()."sites/default/files/q.xml";
  $xml = simplexml_load_file($a);
  </code></pre>
  
  <p>I do this in drupal 6.</p>