Jump to content

Adding airports


shiljo

Recommended Posts

Hi to all!

Well as i started to adding airports, no possible. I added Config::Set('AIRPORT_LOOKUP_SERVER','geonames'); in local.config and after then it was, but just for LDZA it cant...i first have problem with this airport on adding... Can u help me ;)

I just realise...on geonames, ldza is declared as airfield not an airport...how can i change to different search engine...maybe...or to change some settings to add airfield also...this is the problem im sure...

Now i add from app.config to local this

/* Can be 'geonames' or 'phpvms'.

Geonames will use the geonames.org server to look up the airport info

phpvms will use the phpVMS API server

*/

Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms');

Config::Set('PHPVMS_API_SERVER', 'http://api.phpvms.net');

Config::Set('PHPVMS_NEWS_FEED', 'http://feeds.feedburner.com/phpvms');

Config::Set('VACENTRAL_NEWS_FEED', 'http://feeds.feedburner.com/vacentral');

Config::Set('GEONAME_API_SERVER', 'http://ws.geonames.org');

And all airports have lost from admin page...but table in db is still there...any help? I did clearing cache and stuff, optimize tables and so...any suggestion?

Link to comment
Share on other sites

You can run this inside phpmyAdmin.

INSERT INTO `phpvms_airports` (`id`, `icao`, `name`, `country`, `lat`, `lng`, `hub`, `fuelprice`, `chartlink`) VALUES
(80, 'LDZA', 'Zagreb', 'Croatia', 45.7429, 16.0688, 0, 1, 'http://www.crovacc.org/dwl/charts/LDZAav.pdf');

Or just take the coordinates : LAT : 45.7429 LONG: 16.0688

Pozdrav kolega. :)

Link to comment
Share on other sites

Well, now i cant login myself and i cant get password reminder...i did nothing wrong with files. And after adding airports, there are 2 airports in mysql with ids 1 and 12 and there are no airports on list in admin section...blank table...even pages shows 0 and nothing more...when i try to add again same airport from before and wich is not in mysql it also said allready added...something did mixed up..i will try reinstallation again...nothing i can do there i think...any suggestions<?

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