Jump to content

ProAvia

Administrators
  • Posts

    1695
  • Joined

  • Last visited

  • Days Won

    75

Everything posted by ProAvia

  1. 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.
  2. 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.
  3. 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.
  4. 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???
  5. 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?
  6. 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.
  7. 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).
  8. 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.
  9. 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.
  10. 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.
  11. 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!
  12. ProAvia

    help

    What are the respective lines?
  13. ProAvia

    help

    Go to each line listed and change "function" to "static function"
  14. 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.
  15. For Central.Data.class.php - mine is exactly the same.... except line 197. take out the 198 on that line. Should read 197 foreach($children as $key => $value) { As for kACARSII.... if you are still having issues, you may want to post on the FS-Products forums (as that program is payware).
  16. What version of phpVMS are you using? What are the contents of line 198 in CentralData.class.php? What are the contents of line 644 in kACARSII.php?
  17. It appears you are using an invalid site key. Go to Google and get a Public and Private key - here's a guide: Google ReCaptcha Keys
  18. Have they all updated their xacars.ini file? Have them re-download from your site. If that doesn't fix it, check all files in the Xacars module and change any references there from http to https.
  19. Post the contents of your IVAO.php file here - and also post line 21 separately below that.
  20. Look in all files associated with this module and change all http to https. I believe yours isn't working correctly because your site is https and the sites you are attempting to access from your site are still shown as http in the files. simBrief supports https.
  21. It seems that sometimes it takes a few days for someone to clean things up. Do moderators have the ability to delete posts and ban members, or are these functions for admins only? I wonder if there is any way to easily change the challenge question or recaptcha to make registering a bit more difficult? Anyone know if the IP address is recorded each time someone registers? Can users be banned by IP?
  22. Are you using the default admin panel skin? Possibly something is amiss with the schedule import option. Have you tried adding a few schedules directly to the DB schedules table?
  23. What version of phpVMS? What skin are you using? Does it work if you revert to the default (crystal) skin? Have you checked the database to see if the data was actually saved?
  24. I haven't seen that before. No idea what's happening. Hopefully someone more experienced than me will be able to further assist you.
  25. Are there any errors in the admin log relating to this?
×
×
  • Create New...