spkier Posted February 27, 2018 Report Share Posted February 27, 2018 (edited) Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms'); Tried the above code into app.config and local.config files in core folder but with no luck when i hit Look up airport i'm stuck at getting "Fetching airport info" and nothing happens below is a image of what i tried: https://imgur.com/a/TLAIq Website: http://192.3.141.136/dashboard running: ubuntu 14.04 php 5.2.0 mysql 5.5 apache2 Edited March 1, 2018 by spkier Quote Link to comment Share on other sites More sharing options...
web541 Posted February 27, 2018 Report Share Posted February 27, 2018 1 hour ago, spkier said: Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms'); Tried the above code into app.config and local.config files in core folder but with no luck when i hit Look up airport i'm stuck at getting "Fetching airport info" and nothing happens below is a image of what i tried: https://imgur.com/a/TLAIq Website: http://192.3.141.136/dashboard running: ubuntu 14.04 php 5.2.0 mysql 5.5 apache2 The 'phpvms' API server is currently down (or at least responds differently to phpvms < 7.0), you can either use this or just wait until phpVMS v7.0 is released (I believe you can fiddle with it in alpha at the moment) Another option is to manually add each airport from an online source and it should work as normal if you don't have too many to add. Quote Link to comment Share on other sites More sharing options...
spkier Posted February 27, 2018 Author Report Share Posted February 27, 2018 20 minutes ago, web541 said: The 'phpvms' API server is currently down (or at least responds differently to phpvms < 7.0), you can either use this or just wait until phpVMS v7.0 is released (I believe you can fiddle with it in alpha at the moment) Another option is to manually add each airport from an online source and it should work as normal if you don't have too many to add. Thanks but trying to loook up the airports now just gives me a 404 error not found so that site is also down... and i need to add 37k routes and many thousend airports... Quote Link to comment Share on other sites More sharing options...
flyalaska Posted February 27, 2018 Report Share Posted February 27, 2018 WHat phpvms version are you on? Quote Link to comment Share on other sites More sharing options...
spkier Posted February 27, 2018 Author Report Share Posted February 27, 2018 6 minutes ago, flyalaska said: WHat phpvms version are you on? v2 5.5.x the one i found on github Quote Link to comment Share on other sites More sharing options...
flyalaska Posted February 27, 2018 Report Share Posted February 27, 2018 Here is what I have in mine. define('GEONAME_URL', 'http://ws.geonames.org'); Quote Link to comment Share on other sites More sharing options...
spkier Posted February 28, 2018 Author Report Share Posted February 28, 2018 (edited) 9 hours ago, flyalaska said: Here is what I have in mine. define('GEONAME_URL', 'http://ws.geonames.org'); Dosn't work :/ maybe i should abandone phpvms as there is more errors than users error: Failed to load resource: the server responded with a status of 404 (Not Found) egll&callback=jsonp1519802515108 Failed to load resource: the server responded with a status of 404 (Not Found) edit: now i get jquery.min.js:127 GET http://ws.geonames.org/airport/get/ENGM&callback=jsonp1519802943206 net::ERR_ABORTED this is from google chrome Edited February 28, 2018 by spkier found more errors Quote Link to comment Share on other sites More sharing options...
spkier Posted February 28, 2018 Author Report Share Posted February 28, 2018 just disregard this thread i actully solved it well kind of i manually added 35k airports via phpmyadmin instead Quote Link to comment Share on other sites More sharing options...
mischka Posted February 28, 2018 Report Share Posted February 28, 2018 4 hours ago, spkier said: just disregard this thread i actully solved it well kind of i manually added 35k airports via phpmyadmin instead 35 thousand airports? I didn't know there are that many. its a pity you didn't use web541's suggestion of the virtualairlines.eu api, would have saved you a lot of work.. Quote Link to comment Share on other sites More sharing options...
spkier Posted February 28, 2018 Author Report Share Posted February 28, 2018 39 minutes ago, mischka said: 35 thousand airports? I didn't know there are that many. its a pity you didn't use web541's suggestion of the virtualairlines.eu api, would have saved you a lot of work.. i did use the api but it dint work however it was actully alot easier to just import them via mysql from p3d v4 instead of pulling the airports from real life... btw i need a few schedules do you mind giving me maybe a few? and by few i mean below 1000 routes just for testing pursposes or if you know a way to get a real schedules without having to pay it would be really greatful! 1 Quote Link to comment Share on other sites More sharing options...
mischka Posted March 4, 2018 Report Share Posted March 4, 2018 On 2/28/2018 at 4:06 PM, spkier said: i did use the api but it dint work however it was actully alot easier to just import them via mysql from p3d v4 instead of pulling the airports from real life... How did it not work? If you'd PM me some details I can help you solve it. As for the schedules I'm sorry I cannot help you Quote Link to comment Share on other sites More sharing options...
spkier Posted March 4, 2018 Author Report Share Posted March 4, 2018 11 minutes ago, mischka said: How did it not work? If you'd PM me some details I can help you solve it. As for the schedules I'm sorry I cannot help you I typed the codes into local.config.php as expected and still nothing so I ended up with importing 25k airports (including helipads from p3d v4 worked very well) via mysql 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.