(Solved)Cannot import airports

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

 

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

//forum.phpvms.net/applications/core/interface/index.html

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.

20 minutes ago, web541 said:

https://forum.phpvms.net/t/topic/12265

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…

WHat phpvms version are you on?

6 minutes ago, flyalaska said:

WHat phpvms version are you on?

v2 5.5.x the one i found on github

Here is what I have in mine.

define('GEONAME\_URL', 'http://ws.geonames.org');

 

9 hours ago, flyalaska said:

Here is what I have in mine.

define(‘GEONAME_URL’, ‘http://ws.geonames.org’);

 

Dosn’t work :confused:

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 

just disregard this thread i actully solved it well kind of i manually added 35k airports via phpmyadmin instead

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

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!

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

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