peterc Posted January 7, 2017 Report Share Posted January 7, 2017 (edited) After a lot of problems, and with the help of Nabeel at Fivedev, I've finally manged to install phpVMS. Now I've come across another problem. Whenever I try to add airports manually I get an error "There was an error adding the airport". If I try to "look up" an airport, the system just hangs and doesn't do anything. I've now tried this using two different installs and with two different paid hosts. I've looked through this forum and can see that others have had the same problem in the past, but can't see any solutions to the problem. I've been trying to get my VA set up for nearly a week now, using different platforms and hosts, so I'm getting a bit 'peeved' with all the problems, phpVMS looks like the best platform (once you can get it working properly), so any advice on an easy 'fix' would be appreciated Edited January 7, 2017 by peterc Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 7, 2017 Moderators Report Share Posted January 7, 2017 Where did you download your phpVMS from? The most stable version for PHP 5.6 is this: https://github.com/DavidJClark/phpvms_5.5.x As for the airport issue, do you have any Config::Set('PHPVMS_API_SERVER' set in your local.config.php file? If yes, what is its value? If not, add this: Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net'); Quote Link to comment Share on other sites More sharing options...
peterc Posted January 7, 2017 Author Report Share Posted January 7, 2017 (edited) Thanks for the reply. I haven't got a clue what version of phpVMS I have, but I downloaded it via the phpVMS link, which is from Github I think, so I assume it's the latest version. I'm no expert at the php language, although over this last week I've improved :-), but I had a go at your suggestion. I had a look to see if the entry was already there, but it wasn't, so I added what you said I should (copied and pasted). I wasn't sure where to add it, so placed it at the very bottom of the page. Unfortunately, it hasn't made any difference, I'm still getting the same error, Once again, thanks for the help. I'd be lost without it. Any further suggestions/advice would be appreciated. Edited January 7, 2017 by peterc Quote Link to comment Share on other sites More sharing options...
peterc Posted January 7, 2017 Author Report Share Posted January 7, 2017 (edited) OK Done, it Yeh !!!!!!! For anybody else who has the same problem in the future this is how I did it: 1) Go to uploaded phpVMS files on your host server 2) Find public_html/Core/local.config.php 3) Back up the local.config.php (just in case) 4) Under the 'Page encoding' entry insert: #PHPVMS Server Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net'); 5) Save Thanks to Servetas for pointing me in the right direction and for passing on the info. Another little bit of php mystery revealed :-) Edited January 7, 2017 by peterc Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted January 15, 2017 Report Share Posted January 15, 2017 Good day, I have the same issue, i have cross check local config #Airport lookup Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms'); Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net'); PhpVms 5.5.2 Any idea ? Yours, Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted January 18, 2017 Report Share Posted January 18, 2017 Up, need this asap please. Thanks, Quote Link to comment Share on other sites More sharing options...
web541 Posted January 18, 2017 Report Share Posted January 18, 2017 Make sure you have this version of phpvms (it's not required, but it will help for it being the most stable version). Then check that your local.config.php file has this in it (as I see you do), the lookup line isn't required by phpvms 5.5.x because it no longer uses geonames to pull data officially. Try removing the lookup server line as well and see if that makes a difference. Config::Set('PHPVMS_API_SERVER', 'http://api.vacentral.net'); Then test to see if the airport isn't making any trouble by going to here http://api.vacentral.net/index.php/airport/get/ and after the get/ put the icao and see if it returns data at the end of the page. Like this http://api.vacentral.net/index.php/airport/get/KLAX returns this ({"totalResultsCount":1,"airports":[{"icao":"KLAX","name":"Los Angeles International Airport","countryName":"United States","lat":"33.9425","lng":"-118.408","lowlead":"0","jeta":"0"}]}) After that, reload the add airport page and open up the browser console and see if any errors appear after you click the fetch airport data button (then it will be a javascript error). See if any of this works. Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted January 18, 2017 Report Share Posted January 18, 2017 Hi web541, Thank for your suggestions for the number 1 i got already that version, the 2nd while trying to visiting api.vacentral.net/index.php/airport/get/icao i have many errors on the page. No errors shown while adding airports! Yours, Quote Link to comment Share on other sites More sharing options...
elcapitan Posted January 23, 2017 Report Share Posted January 23, 2017 Same problem here, Airport Data will not load, it just hangs... tried the suggested above... no prevail also I get the same errors as the post above. Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted February 19, 2017 Report Share Posted February 19, 2017 Yes, ofc it will not, because the source website is down, check that link page with errors http://api.vacentral.net/index.php/airport/get/OERK Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 19, 2017 Administrators Report Share Posted February 19, 2017 2 hours ago, elmoussati said: Yes, ofc it will not, because the source website is down, check that link page with errors http://api.vacentral.net/index.php/airport/get/OERK If you scroll to the bottom of the page, after the error boxes, you should see: ({"totalResultsCount":1,"airports":[{"icao":"OERK","name":"King Khaled International Airport","countryName":"Saudi Arabia","lat":"24.9576","lng":"46.6988","lowlead":"0","jeta":"0"}]}) Quote Link to comment Share on other sites More sharing options...
FlyingMachine Posted February 26, 2017 Report Share Posted February 26, 2017 On 2/19/2017 at 3:18 AM, ProAvia said: If you scroll to the bottom of the page, after the error boxes, you should see: ({"totalResultsCount":1,"airports":[{"icao":"OERK","name":"King Khaled International Airport","countryName":"Saudi Arabia","lat":"24.9576","lng":"46.6988","lowlead":"0","jeta":"0"}]}) Hi sir, I saw it before, but doesn't matter for me, since the feature isn't workable from my website, i can gather like those info from other resources. Yours, Quote Link to comment Share on other sites More sharing options...
nicky9499 Posted January 1, 2020 Report Share Posted January 1, 2020 Bump. This is still broken as of 1/1/2020. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 1, 2020 Administrators Report Share Posted January 1, 2020 14 minutes ago, nicky9499 said: Bump. This is still broken as of 1/1/2020. And it will remain so until after vaCentral is back on line. Additionally, it will require several coding changes as the API and provided info will change. There are several online resources to look the required data up manually. Quote Link to comment Share on other sites More sharing options...
nicky9499 Posted January 1, 2020 Report Share Posted January 1, 2020 (edited) I see. Sorry about that, I thought it was supposed to work as the last posts were peeps still trying to make it work. What sites are best for quick lookup of decimal co-ords? Right now I have to run them all through a converter. Edited January 1, 2020 by nicky9499 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 1, 2020 Administrators Report Share Posted January 1, 2020 Google is your friend Type the ICAO in and see what you get 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.