mattsmith Posted February 13, 2017 Report Share Posted February 13, 2017 (edited) My VA has 7 pilots but in the stats it says there are 8 I have checked admin panel and the phpmyadmin database but can't find where it's getting the other pilot from http://shoreair.co.uk Edited February 14, 2017 by mattsmith Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 13, 2017 Moderators Report Share Posted February 13, 2017 In the statistics part, what is the script that is calculating your total pilots? What does your admin center indicate? 7 or 8? Quote Link to comment Share on other sites More sharing options...
mattsmith Posted February 13, 2017 Author Report Share Posted February 13, 2017 <td><span class="counter"><?php echo count(PilotGroups::getUsersInGroup('2')); ?></span> The Admin centre shows 7 pilots Quote Link to comment Share on other sites More sharing options...
flyalaska Posted February 13, 2017 Report Share Posted February 13, 2017 9 hours ago, mattsmith said: <td><span class="counter"><?php echo count(PilotGroups::getUsersInGroup('2')); ?></span> The Admin centre shows 7 pilots User group 2 is active pilots. You have one pilot who is not active. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 13, 2017 Moderators Report Share Posted February 13, 2017 I do not think that this is the issue. His main page shows 8 while in reality his virtual airline has 7 pilots. I would suggest checking the phpvms_groupmembers database table because it seems that you deleted a pilot but the pilot's entry in the phpvms_groupmembers table was not removed. 1 Quote Link to comment Share on other sites More sharing options...
mattsmith Posted February 14, 2017 Author Report Share Posted February 14, 2017 Fixed it. For some reason one of the pilots was showing in the active pilots group twice. 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.