You are not logged in.
Pages: 1
I installed the report plugin and attempted to create a new report, but I continue to get an "Access Denied" error every time I attempt to run the report. I performed the following steps to generate the report.
1. Copied $glpi_home/plugins/reports/report/plugin_reports.licenses.php to $glpi_home/plugins/reports/report/plugin_reports.myreport.php, and modified to include my query.
2. Copied $glpi_home/plugins/reports/locales/report/plugin_reports.licenses.en_GB.php to $glpi_home/plugins/reports/locales/report/plugin_reports.myreport.en_GB.php, and modified the $GEDIFFREPORTLANG line.
3. I was then able to log out of GLPI and log back in, go to Setup > Plugins > Reports > Rights management by report and see my new report listed. I allowed all profiles to have read access to this new report.
4. I went to Tools > Reports and saw my new report listed. I click on the link and get Access Denied.
The permissions on the files are correct and there are no errors in the log, or generated in debug mode. I'm sure there are some permissions that I'm missing somewhere, but I can't find them. Any help is appreciated. Thanks.
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
After another logout/login ?
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
I still get access denied. Is there any way I can see more detail around this error? I'm sure it's a simple permission setting, but I can't seem to find it in the application or in the file system.
I just got an error in debug mode now, but I can only see it on the screen and not in the log files and the first part of it is covered up by the GLPI Mode Debug link.
... tohard in /var/www/html/glpi/plugins/reports/setup.php at line 54
Any ideas?
Thanks.
Last edited by Bug Reporter (2009-03-02 15:14:06)
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
It appears that the issue was within the code of the report. I cleared out everything but the simpleReport function call and it is now working. I will go back through the code and try and determine what part of it was causing the error. Thanks.
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
Pages: 1