w4yi Posted April 1, 2011 Report Share Posted April 1, 2011 In the admin panel I can click on view all pilots, then click on the one I wish to edit and I get the following error. Warning: Invalid argument supplied for foreach() in C:\wamp\www\admin\templates\pilots_details.tpl on line 92 I have run the checkinstall.php and it returns the following. phpVMS Virtual Airline Administration Software Install Check phpVMS Build Number: 934 Checking PHP version [OK] PHP version is 5.3.5.x ASP Tags [OK] ASP-style tags are disabled Checking connectivity... [OK] Can contact outside servers Checking for SimpleXML module... [OK] SimpleXML module exists! Checking file hashes for corrupt or mismatched files [OK] No errors found! -- Checked 183 files, found 0 errors I am at a loss on this one. Any help? Thanks, Steaven Quote Link to comment Share on other sites More sharing options...
Nuclear Posted April 1, 2011 Report Share Posted April 1, 2011 Looking at line 92 of pilots_details.tpl it appears that OperationsData::GetAllHubs() is returning an empty array. Do you have any airports set up as hubs? If not, this is most likely the problem. Quote Link to comment Share on other sites More sharing options...
w4yi Posted April 1, 2011 Author Report Share Posted April 1, 2011 Looking at line 92 of pilots_details.tpl it appears that OperationsData::GetAllHubs() is returning an empty array. Do you have any airports set up as hubs? If not, this is most likely the problem. That did it. That is what I get for running to long with no sleep. Thanks Steaven 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.