Total hours is not showing, and I have tried a re-calculation via the maintenance page. Hours show as 0 in VaCentral as well. Any idea how to fix?
What do you mean, where? What version, etc
On the Dashboard in the admin area and in Vacentral. Version 2.0.854
If you goto reports, does it show up there? How many airlines do you have?
Only one Airline, Under Reports > Overview it is blank as well:
VA Stats: At a Glance
Total Pilots: 3
Total Flights: 3
Total Hours Flown:
Stats for Keystone Airlines
Total Pilots: 3
Total Flights: 3
Total Hours Flown:
I noticed the same thing on a fresh development install yesterday. Check your _settings table in your DB. In my install there was a row in the _settings table that was not created during the install. We had the same issue quite some time ago and if you insert the new row it works fine.
in the settings table you want to insert a row using phpmyadmin or similar:
INSERT INTO `phpvms_settings` (`id` ,`friendlyname` ,`name` , `value` ,`descrip` ,`core`)
VALUES (NULL , 'Total VA Hours', 'TOTAL_HOURS', '0', 'Your VA''s Total Hours', '0');
Then use the reset hours in the admin panel, that is how I got it working.
If you have the same issue it probably should be added as a bug, I though it might have just been my install.
Yup! That worked!
Ahh that would be it, thanks Dave. I must have deleted it by accident when cleaning up the settings.
My stats are ok except for the flights today are not showing, any one else got this or is it just me?