title: Autoload Error: No such file or directory
body: <p>I have included autoload.php in the header of my site</p>
  
  <pre><code>include 'vendor/autoload.php'; 
  </code></pre>
  
  <p>From this i am receiving the following errors on my site:</p>
  
  <blockquote>
    <p>Warning: require_once(<strong>DIR</strong>/composer/autoload_real.php)
    [function.require-once]: failed to open stream: No such file or
    directory in
    /homepages/6/d416629391/htdocs/leftovercheese/vendor/autoload.php on
    line 5</p>
    
    <p>Fatal error: require_once() [function.require]: Failed opening
    required '<strong>DIR</strong>/composer/autoload_real.php'
    (include_path='.:/usr/lib/php5') in
    /homepages/6/d416629391/htdocs/leftovercheese/vendor/autoload.php on
    line 5</p>
  </blockquote>
  
  <p>My code is:</p>
  
  <pre><code>// autoload.php generated by Composer
  
  require_once __DIR__ . '/composer' . '/autoload_real.php';
  
  return ComposerAutoloaderInit8be239f5caef32db03f87bb271ed6012::getLoader();
  </code></pre>
  
  <p>PHP Version: 5.2.17</p>
  
  <p>Any ideas?</p>