Jump to content

ProAvia

Administrators
  • Posts

    1753
  • Joined

  • Last visited

  • Days Won

    78

Posts posted by ProAvia

  1. I believe the chart is from .../core/common/GoogleChart.class.php and/or .../core/lib/gChart/gChart.php. Not sure if it requires Flash to be installed or not. There must be data (PIREPS) available in the last 30 days. If "Loading" and just keeps spinning, maybe Flash needs to be installed/enabled for that browser????

    Number of Guests is from .../admin/templates/dashboard.php - line 7. This is the number of connections that are not logged in (at the particular moment you load the admin page). The function is in StatsData.class.php around line 328.

    EDIT: IE11 displays the chart. Chrome and iOS did not - at least on my devices. I then added "Plugins" to Chrome and enabled Flash for my site. Chart now shows in Chrome on PC. Google - enable flash player chrome - for details.

  2. You will see these kinds of errors - usually when using modules that were written before phpVMS 5.5 was released. Lots of posts in the forums about this.

    In ".../core/common/" open TopPilotData.class.php (use something like Notepad++ to open the file).

    Change all "public function ...." to "public static function ..." . Save, re-upload to your server and see if that fixes it.

  3. Is the phpVMS version 5.5.2? IIRC - It should show the version number in the bottom right corner of the main admin panel page.

    Don't know if this is a factor - but have you entered both the private and public reCAPTCHA keys you got from Google into the local.config.php file?

  4. Here's the log file contents mentioned above - 

    [29-Oct-2018 10:50:26 UTC] PHP Warning:  Use of undefined constant OBJECT - assumed 'OBJECT' (this will throw an Error in a future version of PHP) in /home/flyinter/pilots.flyinternationaluk.com/core/codon.config.php on line 80
    [29-Oct-2018 10:50:26 UTC] PHP Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in /home/flyinter/pilots.flyinternationaluk.com/core/classes/Config.class.php on line 117
    [29-Oct-2018 10:50:26 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/flyinter/pilots.flyinternationaluk.com/core/classes/ezdb/ezdb_base.class.php on line 661
    [29-Oct-2018 10:51:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/flyinter/pilots.flyinternationaluk.com/core/templates/registration_mainform.tpl on line 45
    [29-Oct-2018 10:52:34 UTC] PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'No secret provided' in /home/flyinter/pilots.flyinternationaluk.com/core/lib/recaptcha/ReCaptcha/ReCaptcha.php:62
    Stack trace:
    #0 /home/flyinter/pilots.flyinternationaluk.com/core/modules/Registration/Registration.php(168): ReCaptcha\ReCaptcha->__construct('')
    #1 /home/flyinter/pilots.flyinternationaluk.com/core/modules/Registration/Registration.php(66): Registration->VerifyData()
    #2 /home/flyinter/pilots.flyinternationaluk.com/core/modules/Registration/Registration.php(43): Registration->ProcessRegistration()
    #3 [internal function]: Registration->index()
    #4 /home/flyinter/pilots.flyinternationaluk.com/core/classes/MainController.class.php(218): call_user_func_array(Array, Array)
    #5 /home/flyinter/pilots.flyinternationaluk.com/index.php(60): MainController::RunAllActions()
    #6 {main}
      thrown in /home/flyinter/pilots.flyinternationaluk.com/core/lib/recaptcha/ReCaptcha/ReCaptcha.php on line 62

     

  5. Without listing the exact errors you are seeing, it is nearly impossible to assist you.

    I would suggest picking one skin you intend to use. Check which version of phpVMS it will work in - for example, I believe BlueIce only will work in v5.5.2 . Install the skin to the listed phpVMS version. Then, post the exact errors you are getting.

    Trying to make multiple skins work all at the same time will only lead to frustration and confusion. Get one skin working and then move on to the next if you still want to try another skin.

  6. Not sure where it is in the code.....

    Inactive is the same as retired.

    On an individual basis the pilot can be returned to active status by going to Admin panel, Pilots & Groups, View all Pilots. Then edit that specific pilot and change their status from inactive.

    If you don't want all pilots to auto-retire after a certain number of days being inactive - in local.config.php, change PILOT_AITO_RETIRE to false. Another option would be to change the PILOT_INACTIVE_TIME to a higher number of days.

    # After how long to mark a pilot inactive, in days
    Config::Set('PILOT_AUTO_RETIRE', true);
    Config::Set('PILOT_INACTIVE_TIME', 90);

     

  7. I don't think the port matters. If it did, it would have been mentioned in the documentation or on the developers site. 

    As far as I know, kACARS uses the site URL to connect. And since you have issues getting all ACARS clients (kACARS and several other reporting systems) to connect, the issue is with your site.

  8. What version of phpVMS?

    What version of PHP?

    Have you turned on error reporting?

    Any errors in the error log?

    Using Google Maps or another map provider?

    Have you attempted to connect with one of the free PIREP programs to rule out an issue with SmartCARS?

    Have you reverted back to HTTP to see if HTTPS might be the issue?

  9. kACARS Free module appears to be installed (I checked via the pilot account you PM'd me). I will try connecting my kACARS Free client tomorrow when I have access to my FS computer.

    I believe the error for kACARS you posted above referencing denied access to the send.xml file means that Windows isn't allowing access to that file. Ensure the exe file is set to Run as Administrator.

    Actually, I would totally uninstall kacars free one more time. Then install to your Documents folder and set the exe to Run as Administrator.

    If that doesn't work, I suggest you post the issue in the kACARS forum here on site and the developer should be able to further assist you. Let us know the outcome.

  10. On 11/17/2018 at 4:37 AM, sayedzaafir said:

    hello 

    okay now  i changed the location of kacar and tried and it says in right side connection error 

    so this is same for all acar so what can  we do for this 

    is this issue first time ?

     

    thank you

    Did you just move the files to a new location, or did you uninstall from Program Files (x86) and then reinstall to the new location? And what is this new location?

    phpVMS version?

    PM me user access - just a regular pilot ID and password - and I'll have a look.

  11. 34 minutes ago, CPC900 said:

    Added the text below to my .htaccess file, to resolve my map/ssl issues.  All my SSL seems to be fine now:

    Header always set Content-Security-Policy: upgrade-insecure-requests

     

    Bruce

    Or you could just go through your files and change any "http://..." lines to "https://". Pretty easy when using the find/replace in Notepad++.

  12. We would need to see the actual error to assist you further. Start with kACARS_Free and post the actual error or take a screenshot and post it.

    Probably best to pick one ACARS and stick with it. We have used kACARS_Free for several years (and now the payware kACARSII) as it provides what we need. We do have XACARS available - but only for pilots using X-Plane on a MAC computer.

×
×
  • Create New...