Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. That's really weird. It's working on my test copy. I'll ask someone else to confirm as well. Sorry about that. You filled all the fields in?
  2. What if you add KDEN, click Lookup then Add. Does that work? I think there was another post on this somewhere Is the table there? You said you were having troubles with the install.
  3. I'll check when I get home, I don't have FS/FSACARS here. Can anyone else reading this confirm?
  4. I guess it's "technically" with the K on the front since that's how itll be referred internationally, depends on the source I guess. FS does some weird stuff. What's the error? I tried on my site, I was able to do it, just don't hit Look Up, go directly to add.
  5. No prob, there's an outdated API list here: http://www.phpvms.net/docs/api/ I'll update that on next release as it's been expanded
  6. Nothing in the dropdown? Weird. It shows the VA name for me. Do you have the latest version?
  7. 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.
  8. 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!
  9. 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.
  10. 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
  11. It seems as though the geonames webservice is down right now.
  12. 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
  13. Do you know what the problem was?
  14. 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
  15. 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)
  16. 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);
  17. 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...
  18. I have METARS on schedule pages, also from geonames.org.
  19. 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
  20. 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.
  21. Works just fine here and for the others who have done it. What's going on?
  22. Do you have access to server logs? That's the only way to really tell what the error is.
  23. 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
  24. There's a video tutorial up now, that'll explain stuff pretty well
  25. 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).
×
×
  • Create New...