Jump to content

Nabeel

Administrators
  • Posts

    8141
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Nabeel

  1. Interesting, that's weird, that other site says: ICAO K13S IATA 13S Either way, geonames always wants the ICAO, or 4 letters so you have to enter the K either way to ID the country. As for an email, try info@geonames.org, I'm not sure if you'll get an answer though. Unfortunately, they're the only ones I have been able to find that has an XML/JSON service I can "talk" to.
  2. I found this here: https://www.globalair.com/airport/lake_louise/13S.aspx You can look the others up there to add them in manually, I hope that helps!
  3. Then you have to enter "K13S", since that's the proper ICAO name. Geonames needs the 4 character ICAO code. But you can add the airport with 3 letters without using the "Find" to get the information. I would enter the proper ICAO code. Also, geonames doesn't have that airport in its database (as K13S), so you will have to manually enter the latitude/longitude. I would also send an email to geonames with the airports which are missing so they can add them into their database.
  4. It should show the pilot ID in place. Redownload the config from your site. and see if that's okay. I'm reformatting the ID stuff
  5. It seems as though the geonames webservice is down right now.
  6. If it keeps saying 'fetching data', close the box and try again. Sometimes the web-service locks up. I get data from www.geonames.org, what are some of the airports you're adding? Enter them in the search box on geonames to see if they come up. I don't think I restrict it to three in the code (though I need the ICAO). I can check it. If they don't, then I guess you'll have to do it manually
  7. Do you know what the problem was?
  8. So far, I'm about 75% through the coding for financials. While this next update won't include the monthly reports (yet, I think, depends, definitely the update afterwards), I've written out (from my docs) some of the innards of how it will go. Open to comments and suggestions: http://www.phpvms.net/docs/financial
  9. When you download it, there is a phpvms directory in the zip file, that's just how it's packaged. Exact everything inside that directory, to where your files are going to be (ie, into public_html)
  10. What's your PHP version, MySQL version. There may be an error log, check with your host. That usually means some error is coming up. Change the debug to true, and the next line, change to: Config::Set('ERROR_LEVEL', E_ALL);
  11. As I'm sure many of you have noticed, phpVMS has been without a logo, due to my lack of artistic skills. I know many of you are creatively skilled... so I though it'd be nice to have a competition going... Requirements? None really. Just a super high res copy with layers in either Photoshop or Fireworks. It can include the phpVMS text (shown in the header). A modern look, "Web 2.0"-ey (I'm sure you know where to get inspiration). Then we can vote (or I'll decide, depends ). Something orangy/blue, that goes with the theme of the site. I figure about two weeks is a decent time to run the competition. Winning gets your name in the about for credit, and a free copy of............. phpVMS ;D Let 'em come...
  12. I have METARS on schedule pages, also from geonames.org.
  13. Hey Adam, Welcome! The function you're looking for is: Auth::LoggedIn(), returns true/false. If you're adding pages, there is an option in the admin panel to make them public/private Hope that helps
  14. Yup, need some more information, in core/local.config.php, there are these lines: Config::Set('DEBUG_MODE', false); Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); Change DEBUG_MODE to true, and see if any errors show.
  15. Works just fine here and for the others who have done it. What's going on?
  16. Do you have access to server logs? That's the only way to really tell what the error is.
  17. Well, redownload the ini file from your site and compare, the CompanyICAO will be blanked out, don't remove it but set it blank so the line reads: CompanyICAO= And for your pilot ID, include the airline numbers
  18. There's a video tutorial up now, that'll explain stuff pretty well
  19. Doh! writedebug($data); print_r($data); Didn't remove the print_r()... heh. I changed that on my side so it'll be corrected... Thanks! I end up leaving something, funny thing is, the writedebug() was so I didn't have to do print_r(). Sorry about that... Also, don't remove the XLR before the numbers in the pilot ID, just remove it from the CompanyICAO. It's the way I need the complete ID and code of the pilot, while I can change that going forward, it'll take a few places to change it so it accepts both (I've changed other code so now I can take only the ID number).
  20. Good you caught it now before an update
  21. Your PilotID is doubling - in youre config file, set CompanyICAO to blank (CompanyICAO=) As for debug mode, I haven't found a way. I use that log to debug as well. What you can do is, the top line: pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=&reg=F-TACB&origin=LFLL... Put it in your URL as: yoursite.com/action.php/acars/fsacars/pirep/?pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=&reg=F-TACB&origin=LFLL... And you can see the system response (should be "OK")
  22. I wouldn't use SVN, while it is fixed there, many other things are broken. I took the SVN link down.
  23. You can post your log file from the engine, just in app.config.php, set ACARS_DEBUG to true (if the entry is in your local.config, set it there), then just attach the /core/modules/acars/log.txt file in a post here, and I'll take a look
  24. Whatever you're going to edit, put in your skin folder, and then edit. Otherwise, yes, it will get overwritten on an update. The engine looks for the template in the skin folder before it looks in core/template. http://phpvms.net/docs/skinning At the very bottom, "Editing templates".
  25. I've been looking for this, I haven't found anything to use as a web-service API. geonames.org has some information (which is what I use in the backend to get lat/long/name). What are you looking for?
×
×
  • Create New...