stuartpb Posted June 19, 2011 Author Report Posted June 19, 2011 http://www.flyaka.com/index.php/airports/get_airport?icao=PAJN From your demo and my link I seem to be missing some functions.Charts and weather info are missing. Yeah, I've been working on my version of the addon all day today, to add some more functionality to the airport info pages. If I get time tomorrow, I'll release an updated version of the addon, to include: METARS Airport Chart links Departure Flights Arrival Flights NOTAMS Schedule count on airport table If you want to see it in action, it's all live on my site: http://execair.org/index.php/airports Quote
flyalaska Posted June 19, 2011 Report Posted June 19, 2011 Yeah, I've been working on my version of the addon all day today, to add some more functionality to the airport info pages. If I get time tomorrow, I'll release an updated version of the addon, to include: METARS Airport Chart links Departure Flights Arrival Flights NOTAMS Schedule count on airport table If you want to see it in action, it's all live on my site: http://execair.org/index.php/airports Thank you! Works perfect. Been trying to get to show the number of dep.arr forever. Thanks for doing this. Quote
truemo9 Posted August 7, 2011 Report Posted August 7, 2011 Is there a latest version with the new layout.. it looks good Quote
TAV1702 Posted August 8, 2011 Report Posted August 8, 2011 This is nice guys. Great job putting this together. Quote
MBrown Posted August 23, 2011 Report Posted August 23, 2011 Hi guys, I've found myself in a spot of bother (Got to say the airport function on your site looks amazing B737PILOT!) Now I've uploaded everything as it should be done, but I seem to be getting a similar error to Dimitris on the airport_info.tpl aswell on line 25!! But reuploading doesn't seem to work. I get this on EVERY airport: ICAO: EGHH Country: United KingdomLatitude: 50.78 Longitude: -1.8425 Total Arrivals: Fatal error: Class 'AirportData' not found in /home/chitchat/public_html/palmair/core/templates/airport_info.tpl on line 25 Strange huh! Really weird. The airport lists fine here: http://www.palmairva.com/index.php/airports This is line 25: <td><?php echo AirportData::getarrflights($name->icao); ?></td> SOLVED: Sorry to cause such a panic, seems it was actually my own error. Airportdata.class.php failed on upload!! Oh well, that's a relief. I really reccomend this to any VA CEOs Thanks. Quote
Jeff Posted August 24, 2011 Report Posted August 24, 2011 I finally got to get to this download, as I was busy with other things. Works great right from the start. Now, All I need to do is tablize the .tpl and it will be complete. Thanks Stuart - +1 Quote
druptown Posted January 25, 2012 Report Posted January 25, 2012 I've got an issue too. For starters I must say that it works great, my compliments for that. but here comes the problem. I've got 2 copies of my website; 1 dummy, which is used to test new stuff (so I don't destroy the real website) and then the real website. On the dummy there are only about 30 airports in the database and it works splendid, but you probably hear it coming: on the real website, which has about 42000 airports in the database, it only shows a blank page. No content what so ever. Not even the navigation bar. Both site are 100%¨identical , except for the database contents. Could it be that the script can't handle this amount of airports? Quote
monitral Posted February 9, 2012 Report Posted February 9, 2012 Sorry, but when I get back on the menu airports get this error, how can I solve. Thank you so much Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Airports::airports' was given in /membri/testva/core/classes/MainController.class.php on line 218 Quote
twincessna340a Posted March 10, 2012 Report Posted March 10, 2012 Does anybody have the latest copy they can share? Quote
HighFlyerPL185 Posted January 23, 2013 Report Posted January 23, 2013 Apologies for a bump, but figured I'd post it here, rather than ask a new question. I'm trying to include airport information into schedule briefing, to display Departure and Arrival Airport information, and I'm failing. I want the code to gain the ICAO from the schedule. Any ideas? I was thinking, include a template, but then how do I tell the template to search for information from $schedule->depicao? <?php Template::Show('airport_info.tpl'); ?> <?php echo OperationsData::getAirportInfo($schedule->depicao); ?> Quote
HighFlyerPL185 Posted January 25, 2013 Report Posted January 25, 2013 I got it as far as this, but I still can't include the template into the page I only managed to make it appear as a link. <div id="briefing_idTab2"> <?php $depairport = OperationsData::getAirportInfo($schedule->depicao); ?> <?php echo '<a href=" '.SITE_URL.'/index.php/airports/get_airport?icao='.$depairport->icao.'">'.$depairport->icao.'</a>';?> </div> Quote
Daniboi Posted July 1, 2020 Report Posted July 1, 2020 I didn’t Get the template files in the zip file I downloaded Quote
Administrators ProAvia Posted July 1, 2020 Administrators Report Posted July 1, 2020 Did you download the module from the link in the first post? If not, where did you get it from? The module files in the first post do include the template files. What version of phpVMS are you using? If phpVMS 5.5.2 or 5.5.2.72, you will need to convert the module files from .tpl to .php - this entails reviewing all the module files and changing any reference of .tpl to ,php and then renaming the template files from .tpl to .php Quote
Daniboi Posted July 3, 2020 Report Posted July 3, 2020 I got them, but Thank you for helping 👍🏻 Quote
JAMESATKINSUKGT27 Posted January 11, 2023 Report Posted January 11, 2023 im getting an error on line 28 for the airport.php It will not display the airport arrival or departure total flights <td><?php echo AirportData::getarrflights($name->icao); ?></td> <td><?php echo AirportData::getdeptflights($name->icao); ?></td> anybody have a fix? Quote
Administrators ProAvia Posted January 12, 2023 Administrators Report Posted January 12, 2023 phpVMS version? PHP version? MySQL or MariaDB version? Quote
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.