CodeIgniter Forums
failing to open autoload - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- Thread: failing to open autoload (/showthread.php?tid=76878)

failing to open autoload - richb201 - 06-29-2020

I am getting this error when i try running. The file where it occurs, MyReport.php is located in: /app/assets/MyReports.php.
Seems like a weird place to keep code but that is what the koolreport "docs" told me to do. 

A PHP Error was encountered
Severity: Compile Error
Message: require(): Failed opening required '/app/application/libraries/koolreport/core/autoload.php' (include_path='.:/opt/bitnami/php/lib/php')
Filename: assets/MyReport.php
Line Number: 3

Here is the MyReport.php:

require APPPATH."libraries/koolreport/core/autoload.php";
class MyReport extends \koolreport\KoolReport
/*  use \koolreport\clients\Bootstrap;*/
  public function settings()
        return array(


    function setup()
            ->query("SELECT * FROM employees")