Jump to content

Airport List Not Showing in Multiple Areas for Some Users


Recommended Posts

Hello phpvms community,

We're experiencing an issue where airport lists are not displaying correctly for some of our users across multiple areas of the system. Here are the details:

- The problem affects only a subset of users, not everyone
- For affected users, airports don't show up in:
  1. Jumpseat travel options
  2. Flight selection screen
  3. Airport choice during user registration
- Other parts of the system seem to be working fine
- I've checked the database and all airports are present
- Server logs don't show any obvious errors related to this

I've tried:
- Clearing cache
- Rebuilding the airport list
- Checking permissions

Has anyone encountered a similar issue or have ideas on what could be causing this widespread airport list problem? Any suggestions on troubleshooting steps or potential fixes would be greatly appreciated. It's affecting core functionality for these users, so I'm eager to resolve it.

Thanks in advance for any help or insights!

Link to comment
Share on other sites

  • Administrators

Might be a CORS issue.

Are you using https or http in your .env file?

Best you use https and verify all users are using https in the URL when they access the website.

Link to comment
Share on other sites

In simple terms, those users are not using correct url while visiting your site and using your services.

 

This is a very well known issue and discussed here in this forum and in phpvms discord several times, so yes some others also encountered similar results... Both ended up checking / fixing their settings and advising their pilots to use proper addresses ;)

 

Good luck @CartesianPixels

Link to comment
Share on other sites

My suggestion is to do an url redirect to the correct web address, so if it is https redirect t o the https address, so if a pilot puts http and goes that way, it brings them to the correct address

Link to comment
Share on other sites

Some servers do DROP data (especially http post data) when doing that forced redirection, thus it can cause more/deep problems. Soft redirection still allows http being used.

 

Therefore it is strongly advised to inform people, force them to do their vmsAcars (or any flight tracking software) profile settings right, check their favorites etc. and always use https://.... in their records.

 

Good luck to all ;)

 

  • Thanks 1
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...