Jump to content
mischka

URGENT: can't login with kacars [SOLVED]

Recommended Posts

hello,

 

Yesterday during a flight I noticed that kacars suddenly showed "connection error".  This sometimes happens but usually goes away after a short while. This time, even after landing, 8 hours later, it was still there. I started a new instance and when I tried to log in I get the switch=verify error. Now, Im absolutely sure the url is correct. After all, I logged in yesterday morning and started a flight, without changing it!

Also, it's not my PC: i switched off the windows firewall and AV, just in case, and also installed it on another machine. It doesn't work on either machines. 

I'm suspecting my service provider tinkered with some settings, as they sometimes do, but I can't figure out what it could be - everything seems ok and the site itself works fine. 

So I just want to re-iterate: the site works fine, and the acars also worked fine until yesterday, without any code changes. Any suggestions?

BTW I did install the crazy creatives acars on my site but that doesn't work either...

Share this post


Link to post
Share on other sites

Is kACARS_Free install in Program Files or Program Files (x86)?

Are you running kACARS_Free as Administrator?

Share this post


Link to post
Share on other sites

OK -that's good. What version of kACARS_Free are you using?

 

If you want, contact me via PM with connection info and I will see if I can access it from here. At least that will confirm if it's something on your end or the program.

Share this post


Link to post
Share on other sites

Hello mischka,

 

Also you can go on your public_html and open the error_log file and check all issues regarding Kacars.I used that log to solve some problems in my custom Kacars regarding some deprecated functions.

 

Regards

 

 

Share this post


Link to post
Share on other sites

Hmmm... when I go to https://www.atlasvirtualairlines.com/core/modules/kACARS_Free/kACARS_Free.php I get the following:

 

Fatal error: Class 'CodonModule' not found in /home/u770820232/domains/atlasvirtualairlines.com/public_html/core/modules/kACARS_Free/kACARS_Free.php on line 2

 

But then again, I get that on every module php file that I try to open. Is this normal?

Share this post


Link to post
Share on other sites

You must have this lines at the beginning of your Kacars_Free.php file :

 

<?php
/**
 * phpVMS - Virtual Airline Administration Software
 * Copyright (c) 2008 Nabeel Shahzad
 * For more information, visit www.phpvms.net
 *    Forums: http://www.phpvms.net/forum
 *    Documentation: http://www.phpvms.net/docs
 *
 * phpVMS is licenced under the following license:
 *   Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
 *   View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/
 *
 * @author Jeffrey Kobus
 * @copyright Copyright (c) 2010, Jeffrey Kobus
 * @link http://www.fs-products.net
 * @license http://creativecommons.org/licenses/by-nc-sa/3.0/
 * @ v1.0.1.1
 */

class kACARS_Free extends CodonModule
{    
    
    public function index()
    {
        if($_SERVER['REQUEST_METHOD'] === 'POST')
        {
            
            // Site Settings

 

The instruction "class kACARS_Free extends CodonModule" in my file is located on line 22.

Edited by lorlandi

Share this post


Link to post
Share on other sites

Yeah, that's what mine looks like, plus a few blank lines before the class defintion. None of this has changed forever

Share this post


Link to post
Share on other sites
4 hours ago, ProAvia said:

OK -that's good. What version of kACARS_Free are you using?

 

If you want, contact me via PM with connection info and I will see if I can access it from here. At least that will confirm if it's something on your end or the program.

 

Share this post


Link to post
Share on other sites

Solved by using http instead of https. OP will be updating his kACARS_Free client to 1.0.1.5 in the coming days and changing site back to https.

Share this post


Link to post
Share on other sites
18 hours ago, ProAvia said:

Solved by using http instead of https. OP will be updating his kACARS_Free client to 1.0.1.5 in the coming days and changing site back to https.

It appeared that my hosting provider added some lines into .htaccess that enforced https on POST. After removing those my original acars worked again, but then @ProAvia provided me with the latest version of kAcars and I'm now able to use it with https, Great job! :) 

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...