Jump to content

(Solved)Cannot import airports


spkier

Recommended Posts

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 by spkier
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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 by spkier
found more errors
Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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!

  • Confused 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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...