-
Posts
287 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by mischka
-
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!
-
I sent you PM
-
Yeah, that's what mine looks like, plus a few blank lines before the class defintion. None of this has changed forever
-
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?
-
I actually have it in c:\kacars_Free and yes, i run it as admin
-
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...
-
Yeah, those permissions are the same as I have. I've got kacars client 1.0.1.1 on my fsx machine and 1.0.1.5 on my dev laptop. The dev laptop doesnt connect to fsx but for connecting to the site that's not necessary
-
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.
-
its http://www,virtualairlines.com I installed the latest client and it tells me that the va is requiring module 1.0.1.1 but that version on my VA. I don't have SSL as of yet.
-
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.
-
Can you please PM me with the name of your VA so I can check in the logs if you are actually reaching the server, and we can take it from there
-
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
-
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..
-
You can also use this: https://www.virtualairlines.eu/index.php/Blog/Post/~airportinfoapi saves you all the typing
-
Bump! Does anyone has a copy of this in their archives?
-
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!
-
[SOLVED] Latitude and longitude on bids ($bids)
mischka replied to CarlosEduardo2409's topic in Support Forum
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 -
[SOLVED] Latitude and longitude on bids ($bids)
mischka replied to CarlosEduardo2409's topic in Support Forum
which page/template is this for? -
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
-
Yes, you need to make the change or add it to your local.config.php otherwise you are just querying the old vacentral server
-
might be a case senstive problem (iata vs IATA) by import you mean the automatic add of airports when importing schedules? That *should* work, cause afaik it uses the same mechanism. I haven't tried it myself actually
-
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?
-
It's strange... the 2nd line below doesn't show the full url you are calling. What is the actual url of your website? Can you send me your phpvms.js by PM?
-
When you press F12 in chrome, do you get any error messages? 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.
-
Cheers Nabeel, I'm gonna look into this!