php-reports
php-reports copied to clipboard
I don't know WHY
When I change the folder name from php-reports to reports, there is an error in loading reports, but it is ok on the index or report list. It returns a 404 error 'Object not Found'; I DON'T KNOW WHY
I think you are having the same issue of these two:
https://github.com/jdorn/php-reports/issues/191
https://github.com/jdorn/php-reports/issues/188
Please review #191 its possible if your using apache that mode rewrite is not enabled and your directory directive is not configured for it. If your using IIS unfortunately I have not gotten this framework to work on it correctly due to the way url rewrite works in IIS. No one has seemed to figure out which rules will work with it.
The issue is a bit old, but anyway just some notes on all those 404 errors one might get, so it is documented here on Github...
When one decides to change the names of the sample_dashboards and the sample_reports folders one should:
- Change the respective reportDir and dashboardDir in the config/config.php?
- Never rename the Dashboards or Reports folders mentioned above to dashboards or report, because Flight uses this in its routes, but when physical folders have that name too, Apache kicks first with its rewrite rules and the DirectoryIndex index.php, so giving the above errors....
Maybe this should go somewhere in the install instructions?