# i cant choose airports in the PIREPS

**URL:** <https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997>\
**Category:** Help and Support\
**Created:** [April 26, 2024, 1:35pm UTC](https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997 "2024-04-26T13:35:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://forum.phpvms.net/u/Christian)\
**Post date:** [April 26, 2024, 1:35pm UTC](https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997/1 "2024-04-26T13:35:19Z")

</div>

Hello everyone,

I need help and don’t know how to proceed.  
When I try to fill in a manual PIREP, I get the following error in the Aport column (Departure/Arrival)

The results could be loaded

The days it worked and once, I don’t know what I did.

But it does not work.

&nbsp;

I have packed all data from PHPVMS into the main folder.

![grafik.png.d60b570d5714daba0d3325c76a81b67e.png](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/3/3603516b6ef11962cb75a92fce933671d5392f44.png)

I suspect that this is not the fault.

I suspect that it has something to do with these settings, but I don’t know exactly where?

&nbsp;

## DATABASE SETTINGS

DB\_CONNECTION=mysql  
DB\_HOST=‘92.204.222.108’  
DB\_PORT=3306  
DB\_DATABASE=‘phpvms’  
DB\_USERNAME=‘phpvms’  
DB\_PASSWORD=\*\*my correct PW\*\*  
DB\_PREFIX=‘’  
DB\_SOCKET=

Maybe someone has an idea and can help me so that I can finally fly relaxed again

&nbsp;

Thank you for help!!

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![ProAvia](https://forum.phpvms.net/user_avatar/forum.phpvms.net/proavia/32/135_2.png) [@ProAvia](https://forum.phpvms.net/u/ProAvia)\
**Post date:** [April 26, 2024, 4:10pm UTC](https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997/2 "2024-04-26T16:10:19Z")

</div>

Are you using the latest dev version of phpVMS available in the discord v7-releases channel?

&nbsp;

If you can go to your website in a browser, your database settings are correct.

You could possibly be missing the departure and/or arrival airport in your database.

---

<div class="post-metadata">

**Author:** ![DisposableHero](https://forum.phpvms.net/user_avatar/forum.phpvms.net/disposablehero/32/1457_2.png) [@DisposableHero](https://forum.phpvms.net/u/DisposableHero)\
**Post date:** [April 26, 2024, 7:23pm UTC](https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997/3 "2024-04-26T19:23:00Z")

</div>

> 5 hours ago, Christian said:
> 
> Hello everyone,
> 
> I need help and don’t know how to proceed.  
> When I try to fill in a manual PIREP, I get the following error in the Aport column (Departure/Arrival)
> 
> The results could be loaded
> 
> The days it worked and once, I don’t know what I did.
> 
> But it does not work.
> 
> &nbsp;
> 
> I have packed all data from PHPVMS into the main folder.
> 
> ![grafik.png.d60b570d5714daba0d3325c76a81b67e.png](https://phpvms-forum.nyc3.digitaloceanspaces.com/original/2X/3/3603516b6ef11962cb75a92fce933671d5392f44.png)
> 
> I suspect that this is not the fault.
> 
> I suspect that it has something to do with these settings, but I don’t know exactly where?
> 
> &nbsp;
> 
> ## DATABASE SETTINGS
> 
> DB\_CONNECTION=mysql  
> DB\_HOST=‘92.204.222.108’  
> DB\_PORT=3306  
> DB\_DATABASE=‘phpvms’  
> DB\_USERNAME=‘phpvms’  
> DB\_PASSWORD=\*\*my correct PW\*\*  
> DB\_PREFIX=‘’  
> DB\_SOCKET=
> 
> Maybe someone has an idea and can help me so that I can finally fly relaxed again
> 
> &nbsp;
> 
> Thank you for help!!
> 
> &nbsp;
> 
> &nbsp;
> 
> &nbsp;

&nbsp;

Looks like this is a classic **CORS (Cross Origin Scripting)** error to me, check your browser console when the error happens, you will see the error live.

&nbsp;

Also please check the forum for problems regarding airport dropdowns, discord has the same/similar solutions provided.

&nbsp;

\_ **Main reasons: http vs https difference, app\_url definition, ssl redirection, wrong url being used etc.** \_

&nbsp;

Good luck

&nbsp;

---

<div class="post-metadata">

**Author:** ![Christian](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://forum.phpvms.net/u/Christian)\
**Post date:** [April 28, 2024, 3:28pm UTC](https://forum.phpvms.net/t/i-cant-choose-airports-in-the-pireps/13997/4 "2024-04-28T15:28:29Z")

</div>

Hello and good Sunday,

&nbsp;

yesterday and today i try again and the problem is gone.

&nbsp;

I update to the newest dev Version and open the Cosole on my browser and edit my htacces. And now is all okay i guess.

Thank you for help.

&nbsp;

&nbsp;
