Report Management -> Hosts and Users broke
-
Cloud 5692 SVN 4517
When I click on Report Management -> Hosts and Users the web interface gives this error:
FOG FATAL ERROR: ReportManagementPage: Report file does not exist! Path: Array
Apache error logs:
[Thu Dec 10 08:23:30.350936 2015] [:error] [pid 7003] [client 10.2.3.16:50938] PHP Warning: array_unique() expects parameter 1 to be array, null given in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 836, referer: http://10.2.1.11/fog/management/index.php?node=report&sub=pend-mac [Thu Dec 10 08:23:30.350965 2015] [:error] [pid 7003] [client 10.2.3.16:50938] PHP Warning: rsort() expects parameter 1 to be array, null given in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 837, referer: http://10.2.1.11/fog/management/index.php?node=report&sub=pend-mac [Thu Dec 10 08:23:32.622903 2015] [:error] [pid 6997] [client 10.2.3.16:50941] PHP Warning: require(/./reports/Hosts and Users.php): failed to open stream: No such file or directory in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 54, referer: http://10.2.1.11/fog/management/index.php?node=report&sub=vir-hist [Thu Dec 10 08:23:32.623054 2015] [:error] [pid 6997] [client 10.2.3.16:50941] PHP Fatal error: require(): Failed opening required '/./reports/Hosts and Users.php' (include_path='/var/www/html/fog/lib/fog/:/var/www/html/fog/lib/db/:/var/www/html/fog/lib/client/:/var/www/html/fog/lib/reg-task/:/var/www/html/fog/lib/service/:/var/www/html/fog/lib/plugins/accesscontrol/class/:/var/www/html/fog/lib/plugins/accesscontrol/client/:/var/www/html/fog/lib/plugins/accesscontrol/reg-task/:/var/www/html/fog/lib/plugins/accesscontrol/service/:/var/www/html/fog/lib/plugins/capone/class/:/var/www/html/fog/lib/plugins/capone/client/:/var/www/html/fog/lib/plugins/capone/reg-task/:/var/www/html/fog/lib/plugins/capone/service/:/var/www/html/fog/lib/plugins/example/class/:/var/www/html/fog/lib/plugins/example/client/:/var/www/html/fog/lib/plugins/example/reg-task/:/var/www/html/fog/lib/plugins/example/service/:/var/www/html/fog/lib/plugins/ldap/class/:/var/www/html/fog/lib/plugins/ldap/client/:/var/www/html/fog/lib/plugins/ldap/reg-task/:/var/www/html/fog/lib/plugins/ldap/service/:/var/www/html/fog/lib/plugins/location/clas in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 54, referer: http://10.2.1.11/fog/management/index.php?node=report&sub=vir-hist [Thu Dec 10 08:23:41.387586 2015] [:error] [pid 6997] [client 10.2.3.16:50963] PHP Warning: require(/./reports/Hosts and Users.php): failed to open stream: No such file or directory in /var/www/html/fog/lib/pages/reportmanagementpage.class.php on line 54, referer: http://10.2.1.11/fog/management/index.php?node=report
-
I’m half tempted to just remove that report.
It did not exist before, and was only created out of a request. You’ll notice it is it’s own file, and it’s not a very nice file.
-
I was actually just looking at it in /var/www/html/fog/managment
I was trying to figure out how you did it lol, was looking to add a custom report.
-
Where is the MySQL queries for this thing hiding?
-
Fixed please update.