KoolReport's Forum

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

Unable to run Dashboard demo getting error Class "koolreport\dashboard\Application" not found #3435

Closed John Macleod opened this topic on 4 days ago - 2 comments

John Macleod commented 4 days ago

I have installed the dashboard demo but getting the following error when I try and run: [20-Apr-2025 21:24:19 Europe/Dublin] PHP Fatal error: Uncaught Error: Class "koolreport\dashboard\Application" not found in C:\xampp73\htdocs\dashboard-demo\src\App.php:28 Stack trace: #0 C:\xampp73\htdocs\dashboard-demo\index.php(5): require_once() #1 {main} thrown in C:\xampp73\htdocs\dashboard-demo\src\App.php on line 28

Line 28 refers to class App extends \koolreport\dashboard\Application PHP is not my strong point but there is no Application folder existing in dashboard folder. Can you help me resolve this issue? kind regards John

Sebastian Morales commented 3 days ago

Did you install KoolReport Pro and KoolReport Dashboard before running dashboard demo? If so pls include the path to koolreport/core/autoload.php (if you download KoolReport Pro and Dashboard zip files) or vendor/autoload.php (if you install them with composer command) in the file dashboard-demo/index.php.

Here are some guide docs:

https://www.koolreport.com/docs/dashboard/installation/

https://www.koolreport.com/docs/dashboard/quick_start/#bootstrap

If you have any question let us know. Rgds,

John Macleod commented 3 days ago

Thank you. I re installed and can now run the demo dashboard

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
help needed
solved

Dashboard