shiljo Posted March 10, 2013 Report Share Posted March 10, 2013 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? Quote Link to comment Share on other sites More sharing options...
Strider Posted March 10, 2013 Report Share Posted March 10, 2013 If you do a google search for the airport, you can get the details and add it manually Quote Link to comment Share on other sites More sharing options...
Sava Posted March 10, 2013 Report Share Posted March 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted March 10, 2013 Moderators Report Share Posted March 10, 2013 As stated above, adding it manually is a lot easier. Quote Link to comment Share on other sites More sharing options...
Strider Posted March 10, 2013 Report Share Posted March 10, 2013 You do not need to run any sql in phpmyadmin, when you go to add an airport in phpvms, you can put the details of the airport in the relevant boxes yourself, the auto fill is just there to help, but is not needed. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted March 10, 2013 Moderators Report Share Posted March 10, 2013 Yes, that's what i meant Daniel Just didn't write it right. Quote Link to comment Share on other sites More sharing options...
mseiwald Posted March 10, 2013 Report Share Posted March 10, 2013 I think the original Poster just asked for LDZA and not for adding airports in general so if thats the case in my eyes Sava's Solution is the fastest as all the Info is already there and he doesn't have to search for the stuff himself 1 Quote Link to comment Share on other sites More sharing options...
Sava Posted March 10, 2013 Report Share Posted March 10, 2013 @Strider That is why I included two solutions. Quote Link to comment Share on other sites More sharing options...
shiljo Posted March 11, 2013 Author Report Share Posted March 11, 2013 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<? 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.