Jump to content

ProAvia

Administrators
  • Posts

    1646
  • Joined

  • Last visited

  • Days Won

    71

Posts posted by ProAvia

  1. 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?

  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.

    • Like 1
  3. 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.

  4. 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?

  5. 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.

  6. 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).

  7. 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.

    • Like 1
  8. 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!

  9. 27 minutes ago, Rickisani said:

    I still have a small problem with the VAForum2, after the re-setup and alignment are still error messages

     

    Go to each line listed and change "function" to "static function"

  10. 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.

  11. 6 hours ago, CedGauche said:

    After switchting our page to https, the script had stopped working. What do we need to fix to get it working back again?

    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.

    • Like 2
  12. 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?

×
×
  • Create New...