elekaj34 Posted January 20, 2017 Report Share Posted January 20, 2017 (edited) Hi guys, I've just installed phpVMS 2, added one new airport HUB (in addition of the default KJFK), and 2 scheduled flights (from and to the new airport). The new airport is LFMT, the 2 new schduled flights are LFMT to EIDW and EIDW to LFMT. I've flown these 2 scheduled flights with Xplane and xacars. All was fine. But when the PIREP was validated, the miles flown remains to 0 as my to flights have respectively 782 and 771nm (so a total of 1553nm). So in the maintenance page, I've ran the "Recalculate distances", and now the 2 PIREP's has 2627.91 nm for the distance and the total miles flown to 5256nm ! So I've noticed that the phpvms_navdata table is empty, but was populated with the navdata.sql file in the install folder and doesn't change anything ! In addition, all the cache were cleared ! But the total miles flown remains wrong ! So how to fix this issue ? Thanks a lot, Alain Edited January 21, 2017 by elekaj34 Solved Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 20, 2017 Moderators Report Share Posted January 20, 2017 It does not have to do with the navdata table. Have you added the airports (LFMT, EIDW) into your database? Admin Center -> Airline Operations -> Add & Edit Airports? Quote Link to comment Share on other sites More sharing options...
elekaj34 Posted January 21, 2017 Author Report Share Posted January 21, 2017 Hello, Thanks, I've only added to the airport LFMT, my hub and not EIDW. By adding EIDW, the calculation is now correct Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.