Jump to content

URGENT: can't login with kacars [SOLVED]


Recommended Posts

Posted

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

  • Administrators
Posted

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.

Posted

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

 

 

Posted (edited)

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
  • Administrators
Posted
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.

 

  • Administrators
Posted

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.

Posted
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
  • 3 months later...
Posted
On 5/21/2020 at 2:06 PM, mischka said:

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! :) 

Hello, the kACARS that was made available to you, did you pay or was it available for free? If it was made available to you for free, wouldn't you be able to make it available to us? Although I am still not using any kACARS, as I am looking for what to use, as my company is new and I am learning to deal with it all, but for me it is worth the test if you can make it available.

On 5/21/2020 at 2:06 PM, mischka said:

Parece que meu provedor de hospedagem adicionou algumas linhas em .htaccess que impôs https no POST. Depois de remover aqueles meus carros originais funcionou novamente, mas então @ProAvia me forneceu a versão mais recente do kAcars e agora eu sou capaz de usá-lo com https, Ótimo trabalho! :) 

Olá, o kACARS que foi disponibilizado para você, você pagou por isso ou é grátis? Se for de graça, não seria possível disponibilizá-lo para nós?

 

On 5/21/2020 at 2:06 PM, mischka said:

Parece que meu provedor de hospedagem adicionou algumas linhas em .htaccess que impôs https no POST. Depois de remover aqueles meus carros originais funcionou novamente, mas então @ProAvia me forneceu a versão mais recente do kAcars e agora eu sou capaz de usá-lo com https, Ótimo trabalho! :) 

Olá, o kACARS que fo

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