That worked! Now I just have to figure out why the IATA code isn’t going in. Thanks for the missing piece to the puzzle. And I haven’t tried the import function yet either, I’ll get back to ya in a bit.
by import you mean the automatic add of airports when importing schedules? That *should* work, cause afaik it uses the same mechanism. I haven’t tried it myself actually
by import you mean the automatic add of airports when importing schedules? That *should* work, cause afaik it uses the same mechanism. I haven’t tried it myself actually
Yup that was exactly the case. My db had IATA and it was looking for iata. Working beautifully now, thanks for the help. Hopefully the schedules still work. And I changed the template form for the airports admin/lib/airport_template.csv as well to show the extra colums:
Dunno if this will help David or not, but did you also change the VACENTRAL_API_SERVER to https://virtualairlines.eu as well? That might cause an issue if the vacentral url is still there.
Sorry for my lateness, we got hammered by a snow storm nobody was expecting. Almost a foot of snow. Power just came back on. Ah I see mischka beat me to it.
Now today the add airport is no longer a popup window but a fresh page of is own and when you click look up you get a blank page with “Some fields were blank”
I am new to this and am having an issue with the add new Airport and am trying to follow this thread. However in first post it says “1) Go to your local.config.php / app.config.php to change your phpvms_api_server” I have changed the app.config.php but I do not see anything related to phpvms_api_server in the local.config.php. That line is it supposed to be added to the local.config.php and if so where should it be added?
Ok UPDATE:
I have added the code to local.config.php and as OzFlyer said it is still not fetching any data when adding New Airport and ICAO code. Any help would be greatly appreciated.
I am new to this and am having an issue with the add new Airport and am trying to follow this thread. However in first post it says “1) Go to your local.config.php / app.config.php to change your phpvms_api_server” I have changed the app.config.php but I do not see anything related to phpvms_api_server in the local.config.php. That line is it supposed to be added to the local.config.php and if so where should it be added?
Ok UPDATE:
I have added the code to local.config.php and as OzFlyer said it is still not fetching any data when adding New Airport and ICAO code. Any help would be greatly appreciated.
Thank you for your time and understanding
The local.config.php doesn’t need to be changed too much, but rather a few other files.
Ok I have was using phpvms v2 and now I have uploaded v 5.5.2 and it works sort of. Now when I enter an Airport ICAO code and hit lookup the popup goes away and then I get this message
Yeah mine doesn’t fetch anything either. I acts like it but then I get the error message posted above. Does your pop-up box go away after you click on the “Look Up” button?