KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Pls resolve this error with include path #2355

Open Som opened this topic on on Sep 24, 2021 - 1 comments

Som commented on Sep 24, 2021

i have created 3 files index.php, run.php,SakilaRental.php, SakilaRental.view.php

in i have code as require_once "../../../../../load.koolreport.php";

but iam getting as follows..

C:\xampp\htdocs\KoolReport\examples\reports\datasources\oracle_report\Finance

Warning: require_once(../../../../../load.koolreport.php): failed to open stream: No such file or directory in C:\xampp\htdocs\KoolReport\examples\reports\datasources\oracle_report\Finance\SakilaRental.php on line 3

Fatal error: require_once(): Failed opening required '../../../../../load.koolreport.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\KoolReport\examples\reports\datasources\oracle_report\Finance\SakilaRental.php on line 3

KoolReport commented on Sep 24, 2021

Please try

require_once dirname(__FILE__)."/../../../../load.koolreport.php";

Let me know if it works

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None