title: Error no such file or directory in server with Codeigniter
body: <p>I have a project bulit on framework <strong>Codeigniter</strong> which when uploading it to the server and the attempt to download an <em>Excel</em> file with the help of the <em>PHPExcel</em> library is signaling me the following error:</p>
  
  <blockquote>
    <p>require_once(application/third_party/PHPExcel/PHPExcel.php): failed to open stream: No such file or directory</p>
  </blockquote>
  
  <p>In local it works to me of the following way, in the folder <em>libraries</em>:</p>
  
  <pre><code>&lt;?php 
  if (!defined('BASEPATH')) exit('No direct script access allowed');  
  
  require_once APPPATH."/third_party/PHPExcel/PHPExcel.php";
  require_once APPPATH."/third_party/PHPExcel/PHPExcel/IOFactory.php";
  class Excel extends PHPExcel {
      public function __construct() {
          parent::__construct();
      }
  }
  </code></pre>
  
  <p>Already tried in the following ways:</p>
  
  <pre><code>Way 1:
      require_once "../third_party/PHPExcel/PHPExcel.php";
      require_once "../third_party/PHPExcel/PHPExcel/IOFactory.php";
  Way 2:
      require_once BASEPATH."third_party/PHPExcel/PHPExcel.php";
      require_once BASEPATH."third_party/PHPExcel/PHPExcel/IOFactory.php";
  </code></pre>
  
  <p>But nevertheless I still mark error, like I already gave 777 permissions to all folders thinking that it is error per permissions, but I mark the same error.
  <br>The structure of my folders is as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/Y5gMp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y5gMp.png" alt="enter image description here"></a></p>
  
  <p>I would appreciate any comments to solve a problem.</p>