title: Failed to open stream: No such file or directory & Failed opening required
body: <p><strong>Disclaimer:</strong> <em>There are similar kind of issues posted in stack overflow but those questions are their respective answers, neither suited this issue nor their answers helped to fix. Those problems are different and answers suited only those specific questions and not generic. They are no way helpful after a long struggle thinking twice I am posting this question to get a help. If someone don't like this question or don't understand, please communicate and get clarified instead of barely setting flag to close this question; better you can ignore and pass on...Thank you!</em></p>
  
  <p><strong>Requirement :</strong> I am using Zend framework for google calendar API with a core PHP website. It's an online taxi booking. If someone wants to book a taxi, the form should use the booking details to mark on the google calendar then database and finally paypal. If the payment is made in paypal then again it should update by a re-phrasing the calendar data to something like "Paid" else "Payment - Pending".</p>
  
  <p><strong>Problem :</strong> If I try to add the below code in the file the program throws the error message which is from the below line of codes.</p>
  
  <hr>
  
  <ul>
  <li><strong>The below are mandatory to read where as the above are optional</strong></li>
  </ul>
  
  <p>.</p>
  
  <p>This code is used to add an event to the google calendar.</p>
  
  <p><strong>How I should fix this issue?</strong></p>
  
  <p><strong>Source Code:</strong></p>
  
  <blockquote>
    <p>error_reporting(E_ALL);</p>
    
    <p>define('ROOT_DIR', dirname(dirname(<strong>FILE</strong>)));</p>
  </blockquote>
  
  <p>// Setup path to the Zend Framework files</p>
  
  <blockquote>
    <p>set_include_path('.' . PATH_SEPARATOR . ROOT_DIR.'/app/' .
    PATH_SEPARATOR . ROOT_DIR.'/lib/' . PATH_SEPARATOR .
    ROOT_DIR.'/lib/incubator' . PATH_SEPARATOR . get_include_path() );</p>
    
    <p>echo 'Setup path to the Zend Framework files - completed'.'<br />';</p>
    
    <p>error_reporting(E_ALL);</p>
  </blockquote>
  
  <p>// Register the autoloader</p>
  
  <blockquote>
    <p>require_once 'Zend/Loader.php';</p>
    
    <p>echo 'loader.php - require() completed'.'<br />';</p>
    
    <p>Zend_Loader::loadClass('Zend_Gdata');
    Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
    Zend_Loader::loadClass('Zend_Gdata_Calendar');
    Zend_Loader::loadClass('Zend_Http_Client');</p>
    
    <p>echo 'Register the autoloader - Completed';</p>
  </blockquote>
  
  <p>// connect to service</p>
  
  <blockquote>
    <p>$gcal = Zend_Gdata_Calendar::AUTH_SERVICE_NAME; $user =
    "email@gmail.com"; $pass = "<strong><em>*</em></strong>"; $client =
    Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $gcal);</p>
    
    <p>echo 'connect to service - Completed';</p>
  </blockquote>
  
  <p><strong>ERRORS:</strong></p>
  
  <p>// I have printed this statement - refer above code.</p>
  
  <p>Setup path to the Zend Framework files - completed </p>
  
  <blockquote>
    <ol>
    <li><p>Warning: require_once(Zend/Loader.php): failed to open stream: No such file or directory in
    /home/website/public_html/add-session-dev.php on line 20</p></li>
    <li><p>Fatal error: require_once(): Failed opening required 'Zend/Loader.php'
    (include_path='.:/home/website/app/:/home/website/lib/:/home/website/lib/incubator:.:/usr/share/pear:/usr/share/php')
    in /home/website/public_html/add-session-dev.php on line 20</p></li>
    </ol>
  </blockquote>
  
  <p>There are nothing executed after the above errors.</p>