Jump to content

mischka

Members
  • Posts

    287
  • Joined

  • Last visited

Posts posted by mischka

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

  3. Yes I've installed .net because without it, the 1.0.1.5 client doesn't work :) 

    However, I get the issue on my FSX machine as well, and nothing has changed there. This is not a client side issue but something to do serverside, as this is what changed. 

    I've migrated the module along with everything else without changing it. so even though I'm pretty sure it's not the code itself, I downloaded once again the module from the fs-products website and installed it, but to no avail. 

    What should the permissions be? I've fiddled around with them , giving rather more than less, but to no avail. 

  4. Hello

    I've moved my website www.atlasvirtualairlines.com to a new host because haphost (formerly host1plus) was just a nightmare to deal with.

    Now, everything seems to be working, including xacars. but not kacars! I get a switch=verify error when I try to log in.

    I made sure I have no / at the end of my url and that the version number of the client and the module is the same at 1.0.1.1 (by the way does the latest kacars version work with module 1.0.1.1?)

    I also made sure the permissions on the file is correct and yes, the new host is a regular paid one!

    Unfortunately, I don't get any php errors in my log! 

    I did some extensive searching on the forums but can't find any resolution. How to troubleshoot this? This is pretty grave because right now nobody can log on with kacars to my site. 

  5. On 2/28/2018 at 4:06 PM, spkier said:

    i did use the api but it dint work however it was actully alot easier to just import them via mysql from p3d v4 instead of pulling the airports from real life...

    How did it not work? If you'd PM me some details I can help you solve it.

    As for the schedules I'm sorry I cannot help you

  6. 4 hours ago, spkier said:

    just disregard this thread i actully solved it well kind of i manually added 35k airports via phpmyadmin instead

    35 thousand airports? I didn't know there are that many. 

    its a pity you didn't use web541's suggestion of the virtualairlines.eu api, would have saved you a lot of work..

  7. 22 minutes ago, LakerVirtual said:

    I have installed this as per the readme file, and when I try to add a new aircraft I get no data, just a message: Fetching aircraft data from https://virtualairlines.eu

    No data is received, all boxes still blank.

    Any ideas?

    I see an authentication error in the logs. I added http:// in front of your url. if it still doesn't work shoot me a PM! 

  8.  

    Ok, so in /core/common/scheduledata.class.php you go to around line 787 where you have the function getbids

    change the line where the sql is set to this

    $sql='SELECT dep.lat as deplat, dep.lng as deplng, arr.lat as arrlat, arr.lng as arrlng,, s.*, b.bidid, a.name as aircraft, a.registration
                    FROM '.TABLE_PREFIX.'schedules s, '.TABLE_PREFIX.'bids b,
                        '.TABLE_PREFIX.'aircraft a,
                        '.TABLE_PREFIX.'airports dep, '.TABLE_PREFIX.'airports arr
                    WHERE b.routeid = s.id 
                        AND s.aircraft=a.id 
                        and s.depicao=dep.icao
                        and s.arricao=arr.icao           
        AND b.pilotid='.$pilotid;

    that should give you of the deplat deplng and arrlat and arrlng and then you can add any other fields like name etc as you like. make sure you name them differently otherwise mysql gets confused 

     

    • Thanks 1
  9. Hello all,

    Recently I introduced a replacement for the Airport lookup that helps with adding airports. So far it has been used already more than 2200 times!

    On a similar note I now also have an aircraft info API. Just replace three files and you can lookup all the data of the aircraft just by its icao code. However, as this is a new service it's only open for those with an account at virtualairlines.eu. So if you are registered there, have a look at this blogpost and download the relevant files.It takes just a few minutes but will save you a lot of time. 

    If you are not registered, head over to https://www.virtualairlines.eu and get yourself a free account:)

  10. In my operations.php, around line 338, I have this:

                $tmp = array(
                    'id' => $row->id,
                    'cell' => array(
                            # Each column, in order
                            $row->icao,
                            $row->name,
                            $row->country,
                            $row->fuelprice,
                            $row->lat,
                            $row->lng,
                            $edit,
                            ),
                        );

    Have you added the new fields there?

  11. 5 hours ago, david said:

    Hi there,

    So far I have done this from the first post:

    I am using Chrome and when using "Add new Airport" still only get:

    Have not as yet tried "Import Schedules & Routes.

    When you press F12 in chrome, do you get any error messages?

    4 hours ago, Longhaul444 said:

    I'd really love to get this working correctly, as it makes the airport listings more professional looking. Just can't get the columns in the admin section to populate correctly. Haven't tried the import/export yet either.

    Screenshot_1_zpspaqukwc4.png

    Screenshot_2_zpslxxbprac.png

     

    I just tried to add NTSU and it says added but it's not in db

    Ok, I'm confused.. the airport lookup itself works, but the extra fields don't show up in the columns in the grid? I never thought of extending the grid to be honest, I'd have to look into it.

×
×
  • Create New...