Jump to content

ProAvia

Members
  • Content Count

    371
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ProAvia

  1. ProAvia

    reCAPTCHA Error problem ??

    Glad you got it sorted
  2. ProAvia

    phpVMS 5.5.2 on php7.2

    Our host just informed us that they will be upgrading to php7.2 and removing php 5.6 in the next few months. Does anyone know if phpVMS 5.5.2 will work without issue on php 7.2? If it won't work, any idea of what needs to be changed? Guess I'm going to have to install wamp again and set it up with the hosting companys current version to test things out locally.
  3. ProAvia

    phpVMS 5.5.2 on php7.2

    I'm finding that out. I have made some progress though. I need to have something in place by month end as my host says they are removing 5.6 by then. And according to what they tell me, only 7.2 will be available after that. Moving to a different host at this time is not an option.
  4. ProAvia

    reCAPTCHA Error problem ??

    Please show Simpilot version as 5.5.2 to avoid confusion - in the passed several days there have been a couple of mix-ups between versions 5.5.2 and 5. Listing the entire version number should help to avoid confusion. And you entered a new set of keys for ReCaptcha in the local.config file? If so, double check that your URL is set correctly in the Google ReCaptcha API. Open your browser console and check for errors there too. Are you running this install locally (on your computer) or on your web server?
  5. ProAvia

    reCAPTCHA Error problem ??

    Just to be sure, is this the Simpilot version 5.5.2 or the Nabeel version 5? If Simpilot version 5.5.2, see second post of the thread you linked to above. You will need to add that code to local.config.php and then get the ReCaptcha keys from Google to enter into that code as indicated. Do not edit app.config.php - all config edits should be done in local.config.php. If Nabeel version 5, I believe you have to update to ReCaptcha v2 - see this post: https://forum.phpvms.net/topic/25571-upgrading-recaptcha-to-v2/ .
  6. ProAvia

    help

    Yup - Simpilot exam center working here on 5.6 also.
  7. ProAvia

    help

    Thanks - it looks good.
  8. ProAvia

    help

    Great to hear. Best of luck with re-opening your VA!! If you don't mind me asking, what skin are you using?
  9. ProAvia

    help

    Which version of phpVMS do you have installed - Nabeel's 5 or Simpilot's 5.5.2?? And Simpilot's ExamCenter is working correctly also? Great!!
  10. ProAvia

    help

    So we are all on the same page, which version are you now using? If using Simpilot's version 5.5.2 and you just overwrote the old files (instead of doing a new install), your database is not up to date with version 5.5.2. Version 5.5.2 added at least one new table (maybe more) and added some fields to a few different DB tables. There may be other differences too. There are also differences in many addon modules that work with version 5.5.2. Which exam center are you having issues with? There are a couple of them available.
  11. ProAvia

    phpVMS 5.0 Classic

    Although this is listed as version 5, do not confuse this version with the Simpilot version. This is version 2.x reworked to work with PHP versions up to 7.0. For ReCaptcha version 2 to work, see the Support Forum post titled: Upgrading ReCaptcha to v2 in the forums on this site. The Simpilot version is 5.5.2 - and is already ReCaptcha version 2 compliant. This version requires PHP 5.3 to PHP 5.6.x. It will not work with PHP 7.x. With either version, you will need to get ReCaptcha keys from Google and insert them into local.config.php. The keys listed in app.config.php will NOT work.
  12. ProAvia

    help

    If you want phpVMS 5.5.2 by Simpilot, get it here: https://github.com/DavidJClark/phpvms_5.5.x The version 5 by Nabeel is version 2.x (classic) updated to work with PHP version 7.0 . It doesn't seem to work correctly with PHP version 7.2 though.... ask me how I know.
  13. ProAvia

    help

    For clarification - did you or did you not add Recaptcha v2 keys to local.config.php? No idea why you are getting the Warning at the top of the page. What is the path from the root directory to the phpvms install (where you uploaded the phpVMS files to on your server)? Mine is 'root/public_html/airline_name/phpvms'. I have installed phpVMS 5.5.2 several times in the past few days while working on a project. I added Recaptcha keys to local.config.php after installation and recaptcha works fine - without any need to update to Recaptcha v2. What is the link to the Github repository you used to download phpVMS 5.5.2?
  14. ProAvia

    phpVMS 5.5.2 on php7.2

    5..5.2 default install running locally after installing using php 5.6. Changed php to version 7.2.7 after install. Quite a number of Warning and Deprecated errors to fix. I've made some progress and have PM'd a few people to have a look, help out, etc. This is very much a WIP.
  15. ProAvia

    search flight by distance range

    What version of phpVMS? Does your schedule search already show an option for greater than/less than? If so, look in /core/common/SchedulesData.class.php around line 322 for distanceBetweenPoints function. This will give an idea how that function works and help you write a new function to do exactly what you want. You would also need to add to /core/templates/schedule_searchform.php so the pilot has the option to search by a distance range.
  16. ProAvia

    help

    As a test - do a fresh install of version 5.5.2. Don't do the update to recaptcha v2, just put the recaptcha keys in local.config.php. then test to see if it works.
  17. ProAvia

    help

    I thought Simpilot's phpVMS 5.5.2 already had ReCaptcha v2. All you would need to do then is acquire your own set of ReCaptcha keys from Google and place them in the appropriate places in the local.config file. If that is so, this post - https://forum.phpvms.net/topic/25571-upgrading-recaptcha-to-v2/ - is for upgrading phpVMS 2.x to ReCaptcha v2 Maybe someone else can verify this???
  18. ProAvia

    help

    That is not the entire file contents. If there is a blank line at the end of the file, remove it. As with many errors, Google is your friend. Put this in a Google search and look at a few of the results for a possible solution: Warning: Cannot modify header information - headers already sent by (output started at Are you also getting this error with a default install of 5.5.2 - or with your modded version?
  19. ProAvia

    phpVMS 5.5.2 on php7.2

    I had an issue installing the default 5.5.2 locally, so am presently using my modded files and imported database. I have an idea on how to successfully install a virgin 5.5.2, but haven't had a chance to try it yet. Like you, I do plan to move to phpVMS v7 - but right now need to get 5.5.2 working with php 7.2 as my host is removing php 5.x in the next month or so. With phpVMS v7 still being in beta and the lack of modules, skins, ACARS, etc - I thought this the best course of action for now. Good idea about forking SimPilots Github. I'll be in touch once I get a virgin 5.5.2 installed locally.
  20. ProAvia

    help

    The file causing the error is "app.config.php", the one listed between the ( ). There is a problem in the first file listed that is causing the second file not to function properly. Is there a blank line before the opening "<?php" line? Is there a blank line after the closing "?>" line? Or after the last line of the file? If so, remove the blank line. Also make sure there are no spaces before or after the opening/closing php tags. EDIT: do NOT add a closing php tag if there isn't one present. Having no closing php tag pregents blank lines or whitespace in the output -- at least in this particular file (app.config.php).
  21. ProAvia

    phpVMS 5.5.2 on php7.2

    Still a WIP. Got it running locally in Wamp on 5.6.40. Moved over to 7.2 and s-l-o-w-l-y fixing issues. I'm trying to document everything. Tried installing 2.x and comparing it to 5.5.2 - but it shows a bunch of errors in 7.2, so I abandoned that idea. Will let you know how it turns out.
  22. ProAvia

    Errors

    What version of php? For the kACARSII error, it may be better to ask at forum.fs-products.net - as that module is payware.
  23. ProAvia

    Rewards

    All freeware modules are on github. https://forum.phpvms.net/topic/6962-code-now-hosted-at-github/ As far as I know, the payware ones are no longer available.
  24. ProAvia

    phpVMS 5.5.2 on php7.2

    Thanks gents I tried php7.2 and it showed quite a few errors in phpvms 5.5.2 - I think I'm going to download phpvms 2.x for php7 and compare the file differences with 5.5.2 to see if there is a common theme. If either of you hear/see anything on Discord or elsewhere, please update here. Thanks!
  25. ProAvia

    help

    What are the respective lines?
×