Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
I tried using Composer and also by uploading the files I purchased and failed. I sent a video here >>https://drive.google.com/file/d/1nMJTebNBMXe_WAHZLR5J1xTYGn7txV62/view?usp=sharing
Pls clone our dashboard demo from this link:
https://github.com/koolreport/dashboard-demo
Then include path to koolreport/core/autoload.php
in dashboard-demo/index.php
:
require_once "../koolreport/core/autoload.php"; // make sure this path is correct
...
Then open dashboard-demo in your browser to see if there's any error.
[Application] App Message: SQLSTATE[HY000] [2002] Can't connect to MySQL server on 'sampledb.koolreport.com' (115) Line: 121 File: /home/chabadsh/public_html/mmf770app/app/koolreport/dbqstart/vendor/src/datasources/PdoDataSource.php Collapse #0: /home/chabadsh/public_html/mmf770app/app/koolreport/dbqstart/vendor/src/datasources/PdoDataSource.php Line 121 : construct(["mysql:host=sampledb.koolreport.com;dbname=dbautomaker","expusr","koolreport sampledb",null]) #1: /home/chabadsh/public_html/mmf770app/app/koolreport/dbqstart/vendor/src/core/DataSource.php Line 57 : onInit([]) #2: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/sources/PDOSource.php Line 128 : construct([{"connectionString":"mysql:host=sampledb.koolreport.com;dbname=dbautomaker","username":"expusr","password":"koolreport sampledb","charset":"utf8"}]) #3: /home/chabadsh/public_html/mmf770app/app/src/App.php Line 55 : run([]) #4: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/pages/Login.php Line 45 : demo{closure}(["demo","demo"]) #5: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/TAction.php Line 37 : actionLogin([{},{}]) #6: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/Page.php Line 60 : action(["Login",{},{}]) #7: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/Application.php Line 217 : handle([{}]) #8: /home/chabadsh/public_html/mmf770app/app/koolreport/dashboard/Application.php Line 149 : handle([{}]) #9: /home/chabadsh/public_html/mmf770app/app/index.php Line 7 : run([])
It seems Dashboark is working. It's just a database connection issue. You can import the file dashboard-demo/data/automaker.sql
to your local database and add the following "users" table with these information:
+----+----------+----------+-------------+-------+
| id | username | password | displayname | role |
+----+----------+----------+-------------+-------+
| 1 | admin | admin | Admin | admin |
| 2 | demo | demo | Demo | user |
+----+----------+----------+-------------+-------+
Then change login information in file dashboard-demo/src/AutoMaker.php
and dashboard-demo/src/AdminAutoMaker.php
to using your local database.
For creating report with KoolReport Pro pls follow this quick start guide:
https://www.koolreport.com/docs/quick_start/
If you see any problem pls let us know. Tks,
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo