Author Topic: [SOLVED] SIM ACARS v1.4 can't connect to the website  (Read 7186 times)

X-Line VA

  • Newbie
  • *
  • Posts: 17
    • View Profile
[SOLVED] SIM ACARS v1.4 can't connect to the website
« on: October 14, 2015, 08:56:35 PM »
I can't get my SIM ACARS v1.4 connecting to my website. v1.3 works fine.

Error I am getting:
- Error trying to get aircrafts from VAM system
- Error trying to get aircrafts from VA web.
- Error trying to connect to the VA web.

I am using the same configuration as in v1.3
« Last Edit: August 30, 2016, 06:03:29 PM by VAM »

mkdir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #1 on: October 14, 2015, 09:06:21 PM »
I remember having a similar issue when testing 1.4
The aircraft errors as far as I remember are related to the redesign of the aircraft area. Go to the admin page and make sure both "Fleet type" and "Fleet manager" pages have the proper values in them.
The last one was a bit different. I'll try to look into my shell history to see where the problem was.

Update: got it. Try setting "always_populate_raw_post_data = -1" in php.ini
It's a quick fix but it worked for me. Maybe the dev could look into this at some point.
Might be related to the PHP version. I'm using 5.6
« Last Edit: October 14, 2015, 09:20:59 PM by mkdir »

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #2 on: October 14, 2015, 09:24:37 PM »
Do you confirm you put the new php files in the server? The main php involved are

vam_acars_pilot_connection.php
vam_acars_book_aircraft.php
vam_acars_get_aircraft.php

also can you send me the log?  admin@virtualairlinesmanager.net

VAM Creator and programmer.

mkdir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #3 on: October 14, 2015, 09:30:57 PM »
Here's the part of the log where I had this issue

2015/10/11 13:04:02 [error] 2251#0: *622 FastCGI sent in stderr: "PHP message: PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0" while reading upstream, client: x.x.x.x, server: www.domain.com, request: "POST /vam/vam_acars_get_aircraft.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.domain.com"
2015/10/11 13:04:05 [error] 2251#0: *569 FastCGI sent in stderr: "PHP message: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0" while reading response header from upstream, client: x.x.x.x, server: www.domain.com, request: "POST /vam/vam_acars_pilot_connection.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.domain.com"

xlnflo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #4 on: October 15, 2015, 01:45:39 PM »
We have the same problem here.
sim_acars 1.3.0 is working fine. After the update to 1.4.0 I can not connect to the airline page.

X-Line VA

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #5 on: October 15, 2015, 08:19:10 PM »
Here is my log file.

I didn't put the new files on the server. Where can I find these?
I have VAM version 2.5 Downloaded and installed it on 10-10-2015

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #6 on: October 17, 2015, 01:31:25 PM »
We have the same problem here.
sim_acars 1.3.0 is working fine. After the update to 1.4.0 I can not connect to the airline page.

Please create a test pilot for me in your Va and send me via private message callsign and password. I will debug with my SIM aCARS and will porvide the solution
VAM Creator and programmer.

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #7 on: October 17, 2015, 01:31:56 PM »
Here is my log file.

I didn't put the new files on the server. Where can I find these?
I have VAM version 2.5 Downloaded and installed it on 10-10-2015

Please create a test pilot for me in your Va and send me via private message callsign and password. I will debug with my SIM aCARS and will porvide the solution
VAM Creator and programmer.

X-Line VA

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #8 on: October 17, 2015, 03:53:15 PM »
Test account created. Account send via PM

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #9 on: October 18, 2015, 01:14:49 PM »
Test account created. Account send via PM

I checked and I am 100% sure you have not applied the new files from VAM 2.5, SIM ACARS 1.4 need those new files from VAM 2.5.
VAM Creator and programmer.

X-Line VA

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #10 on: October 18, 2015, 10:47:09 PM »
Updated the website. Everything is working now. Too bad I lost my costum scripting for some pages, but thanks for helping me.

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #11 on: October 19, 2015, 12:06:55 AM »
Updated the website. Everything is working now. Too bad I lost my costum scripting for some pages, but thanks for helping me.

in the documentation I mention to merge your custom php ;-)
VAM Creator and programmer.

nicon4454

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #12 on: March 01, 2016, 03:59:08 PM »
Do you confirm you put the new php files in the server? The main php involved are

vam_acars_pilot_connection.php
vam_acars_book_aircraft.php
vam_acars_get_aircraft.php

also can you send me the log?  admin@virtualairlinesmanager.net

Where are the files that need to be uploaded to the website and where should they be uploaded to?

VAM

  • Administrator
  • Hero Member
  • *****
  • Posts: 1328
    • View Profile
    • virtual Airlines Manager
Re: SIM ACARS v1.4 can't connect to the website
« Reply #13 on: March 09, 2016, 07:51:08 AM »
Do you confirm you put the new php files in the server? The main php involved are

vam_acars_pilot_connection.php
vam_acars_book_aircraft.php
vam_acars_get_aircraft.php

also can you send me the log?  admin@virtualairlinesmanager.net


Where are the files that need to be uploaded to the website and where should they be uploaded to?

Please dowload the latest installer and get the files from there, put those files in the folder called "vam"
VAM Creator and programmer.

nicon4454

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: SIM ACARS v1.4 can't connect to the website
« Reply #14 on: March 12, 2016, 12:31:58 AM »
thank you