Jump to content

Admin Panel Error


w4yi

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...