Nigge Posted September 30, 2011 Report Share Posted September 30, 2011 Hi! I have now a working phpVms thanks to your help:-) Can anyone help me setting up xAcars? i have installed xAcars but i am wondering what settings i need to do in xAcars to connect it to phpVMS... A quick guide anyone?;-) Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 30, 2011 Moderators Report Share Posted September 30, 2011 Hi! I have now a working phpVms thanks to your help:-) Can anyone help me setting up xAcars? i have installed xAcars but i am wondering what settings i need to do in xAcars to connect it to phpVMS... A quick guide anyone?;-) Thanks a lot! do you have a link to the site then i can point you to the correct url you need. regards Quote Link to comment Share on other sites More sharing options...
Strider Posted September 30, 2011 Report Share Posted September 30, 2011 In the pilot center, you can download a config file for xacars. It has it all written out for you. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 30, 2011 Moderators Report Share Posted September 30, 2011 ahh yeah thats correct forgot about that one Quote Link to comment Share on other sites More sharing options...
Nigge Posted September 30, 2011 Author Report Share Posted September 30, 2011 Thanks, now the settings seems a bit more accurate but when i enter the flight number that i entered when i created the schedule (the flight number is: DY2111. but when i enter DY2111 in xAcars and press get Acars flight data it says that it cant find the flight. What am i doing wrong? Quote Link to comment Share on other sites More sharing options...
Nigge Posted September 30, 2011 Author Report Share Posted September 30, 2011 The settings that phpVMS has entered for me is: Acars server: http://localhost/virtual/action.php/acars/xacars/acars Pirep server: http://localhost/virtual/action.php/acars/xacars/pirep Flight info server: http://localhost/virtual/action.php/acars/xacars/data This seems strange... the paths points to the action.php file and then subfolders to that file?! this cant be right or can it? I am using xampp on my local network so noone outside my local network can access it so i cant paste the url, sorry... but phpVMS is installed in the virtual folder. And it works to add airplanes, pilots and so on... Thanks for your help /Niklas Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 30, 2011 Moderators Report Share Posted September 30, 2011 i think its becouse yo uare on a local server that xacars cant find anny schedulles or even make contact tot the server. have you tried entering the ip insted of locallhost Quote Link to comment Share on other sites More sharing options...
Nigge Posted September 30, 2011 Author Report Share Posted September 30, 2011 i think its becouse yo uare on a local server that xacars cant find anny schedulles or even make contact tot the server. have you tried entering the ip insted of locallhost I have tried both this: http://192.168.0.13/virtual/action.php/acars/xacars/acars and http://localhost/virtual/action.php/acars/xacars/acars and still no luck... Quote Link to comment Share on other sites More sharing options...
Nigge Posted September 30, 2011 Author Report Share Posted September 30, 2011 when i check my xacars.txt it updates after each try to connect. I cleared it and tried to connect and here´s the content if it helps anyone to help me:-) Fri Sep 30 18:34:49 2011: Message: [starting loadOptions.] Fri Sep 30 18:34:49 2011: Message: [iniparser for [xacars.ini] opened.] Fri Sep 30 18:34:49 2011: Message: [Reading options.] Fri Sep 30 18:34:49 2011: Message: [Options read successfully. Setting to Flightstate.] Fri Sep 30 18:34:49 2011: Message: [cycleOnce called.] Fri Sep 30 18:34:49 2011: FlightState: [OPTIONS] Fri Sep 30 18:34:49 2011: Message: [FlightState::Check called.] Fri Sep 30 18:34:49 2011: Message: [Checking for paused state.] Fri Sep 30 18:34:49 2011: Message: [switching state.] Fri Sep 30 18:34:49 2011: Message: [state OPTIONS now. Deleting old ACARS object.] Fri Sep 30 18:34:49 2011: Message: [Creating new ACARS object.] Fri Sep 30 18:34:49 2011: Message: [starting send thread.] Fri Sep 30 18:34:49 2011: ACARS: [Now starting send thread.] Fri Sep 30 18:34:49 2011: ACARS: [sendthread started.] Fri Sep 30 18:34:49 2011: ACARS: [Connecting to ACARS Server at [http://192.168.0.13/virtual/action.php/acars/xacars/acars] ...] Fri Sep 30 18:34:49 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:34:49 2011: ACARS: [Connected to ACARS server.] Fri Sep 30 18:34:50 2011: Message: [cycleOnce called.] Fri Sep 30 18:34:50 2011: FlightState: [TESTING] Fri Sep 30 18:34:50 2011: Message: [FlightState::Check called.] Fri Sep 30 18:34:50 2011: Message: [Checking for paused state.] Fri Sep 30 18:34:50 2011: Message: [switching state.] Fri Sep 30 18:34:50 2011: Message: [switching to init state.] Fri Sep 30 18:34:50 2011: Message: [in ReportPosition.] Fri Sep 30 18:34:50 2011: Message: [shall not report position.] Fri Sep 30 18:34:50 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:34:50 2011: Creating Thread. Fri Sep 30 18:34:50 2011: Thread created. Fri Sep 30 18:34:50 2011: Message: [cycleOnce called.] Fri Sep 30 18:34:50 2011: FlightState: [iNIT] Fri Sep 30 18:34:50 2011: Message: [FlightState::Check called.] Fri Sep 30 18:34:50 2011: Message: [Checking for paused state.] Fri Sep 30 18:34:50 2011: Finished Init stage. Fri Sep 30 18:34:50 2011: Message: [switching state.] Fri Sep 30 18:34:50 2011: Message: [in INIT checking ACARS ready.] Fri Sep 30 18:34:50 2011: Message: [After check for ACARS ready.] Fri Sep 30 18:34:50 2011: Message: [in ReportPosition.] Fri Sep 30 18:34:50 2011: Message: [shall not report position.] Fri Sep 30 18:34:50 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:34:50 2011: Message: [PrevActCount: [-11485]] Fri Sep 30 18:34:50 2011: Message: [ActivityCount: [-11464]] Fri Sep 30 18:34:50 2011: Returning ACARS Message. Fri Sep 30 18:34:55 2011: Message: [cycleOnce called.] Fri Sep 30 18:34:55 2011: FlightState: [iNIT] Fri Sep 30 18:34:55 2011: Message: [FlightState::Check called.] Fri Sep 30 18:34:55 2011: Message: [Checking for paused state.] Fri Sep 30 18:34:55 2011: Message: [switching state.] Fri Sep 30 18:34:55 2011: Message: [in INIT checking ACARS ready.] Fri Sep 30 18:34:55 2011: Message: [After check for ACARS ready.] Fri Sep 30 18:34:55 2011: Message: [in ReportPosition.] Fri Sep 30 18:34:55 2011: Message: [shall not report position.] Fri Sep 30 18:34:55 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:34:55 2011: Message: [PrevActCount: [-11464]] Fri Sep 30 18:34:55 2011: Message: [ActivityCount: [-11363]] Fri Sep 30 18:34:55 2011: Returning ACARS Message. Fri Sep 30 18:35:00 2011: Message: [cycleOnce called.] Fri Sep 30 18:35:00 2011: FlightState: [iNIT] Fri Sep 30 18:35:00 2011: Message: [FlightState::Check called.] Fri Sep 30 18:35:00 2011: Message: [Checking for paused state.] Fri Sep 30 18:35:00 2011: Message: [switching state.] Fri Sep 30 18:35:00 2011: Message: [in INIT checking ACARS ready.] Fri Sep 30 18:35:00 2011: Message: [After check for ACARS ready.] Fri Sep 30 18:35:00 2011: Message: [in ReportPosition.] Fri Sep 30 18:35:00 2011: Message: [shall not report position.] Fri Sep 30 18:35:00 2011: Message: [Finalizing XACARS ...] Fri Sep 30 18:35:00 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:35:00 2011: Message: [Removing FlightState object.] Fri Sep 30 18:35:04 2011: ACARS: [ENDFLIGHT successfull.] Fri Sep 30 18:35:04 2011: ACARS: [stopping ACARS.] Fri Sep 30 18:35:04 2011: ACARS: [Cancelling PIREP.] Fri Sep 30 18:35:04 2011: ACARS: [Joining Send Thread.] Fri Sep 30 18:35:04 2011: ACARS: [ACARS stopped.] Fri Sep 30 18:35:04 2011: Message: [cycleOnce called.] Fri Sep 30 18:35:04 2011: FlightState: [OPTIONS] Fri Sep 30 18:35:04 2011: Message: [FlightState::Check called.] Fri Sep 30 18:35:04 2011: Message: [Checking for paused state.] Fri Sep 30 18:35:04 2011: Message: [switching state.] Fri Sep 30 18:35:04 2011: Message: [state OPTIONS now. Deleting old ACARS object.] Fri Sep 30 18:35:04 2011: Message: [Creating new ACARS object.] Fri Sep 30 18:35:04 2011: Message: [starting send thread.] Fri Sep 30 18:35:04 2011: ACARS: [Now starting send thread.] Fri Sep 30 18:35:04 2011: ACARS: [sendthread started.] Fri Sep 30 18:35:04 2011: ACARS: [Connecting to ACARS Server at [http://192.168.0.13/virtual/action.php/acars/xacars/acars] ...] Fri Sep 30 18:35:04 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:35:04 2011: ACARS: [Connected to ACARS server.] Fri Sep 30 18:35:05 2011: Message: [cycleOnce called.] Fri Sep 30 18:35:05 2011: FlightState: [TESTING] Fri Sep 30 18:35:05 2011: Message: [FlightState::Check called.] Fri Sep 30 18:35:05 2011: Message: [Checking for paused state.] Fri Sep 30 18:35:05 2011: Message: [switching state.] Fri Sep 30 18:35:05 2011: Message: [switching to init state.] Fri Sep 30 18:35:05 2011: Message: [in ReportPosition.] Fri Sep 30 18:35:05 2011: Message: [shall not report position.] Fri Sep 30 18:35:05 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:35:05 2011: ACARS: [FlightInfo thread started.] Fri Sep 30 18:35:05 2011: ACARS: [Connecting to FlightInfo Server at [http://192.168.0.13/virtual/action.php/acars/xacars/data] ...] Fri Sep 30 18:35:05 2011: ACARS: [Connected to ACARS server.] Fri Sep 30 18:35:05 2011: Message: [Got FlightInfo from server: [ERROR: Flight not found, make sure you include the flight code!]] Fri Sep 30 18:35:05 2011: ACARS: [FlightInfo thread finished.] Fri Sep 30 18:35:07 2011: Message: [PrevActCount: [-11363]] Fri Sep 30 18:35:07 2011: Message: [ActivityCount: [-11117]] Fri Sep 30 18:35:07 2011: Returning ACARS Message. Fri Sep 30 18:35:12 2011: Message: [Noticed Real Time change of [12] s.] Fri Sep 30 18:35:12 2011: Message: [cycleOnce called.] Fri Sep 30 18:35:12 2011: FlightState: [iNIT] Fri Sep 30 18:35:12 2011: Message: [FlightState::Check called.] Fri Sep 30 18:35:12 2011: Message: [Checking for paused state.] Fri Sep 30 18:35:12 2011: Message: [switching state.] Fri Sep 30 18:35:12 2011: Message: [in INIT checking ACARS ready.] Fri Sep 30 18:35:12 2011: Message: [After check for ACARS ready.] Fri Sep 30 18:35:12 2011: Message: [in ReportPosition.] Fri Sep 30 18:35:12 2011: Message: [shall not report position.] Fri Sep 30 18:35:12 2011: Message: [Currently: IAS:[0] GS: [0] VSpeed: [0] VSpeed_land:[0].] Fri Sep 30 18:35:12 2011: Message: [PrevActCount: [-11117]] Fri Sep 30 18:35:12 2011: Message: [ActivityCount: [-11017]] Fri Sep 30 18:35:12 2011: Returning ACARS Message. Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 30, 2011 Moderators Report Share Posted September 30, 2011 its realy difficould as you are not on a (live)server but running it localy i think xacars can handel the fact that its not going to a live url. run this http://forum.phpvms.net/page/index.html?record=31 and see what is enterd in the xacars log fill Quote Link to comment Share on other sites More sharing options...
Nigge Posted September 30, 2011 Author Report Share Posted September 30, 2011 its realy difficould as you are not on a (live)server but running it localy i think xacars can handel the fact that its not going to a live url. run this http://forum.phpvms.net/page/index.html?record=31 and see what is enterd in the xacars log fill This is a bit embarresing;-) i found the problem... i read that "dont forget to add the airline code" when adding a scheduled flight... So each route i named for example ABC124 And tried to enter that into xAcars... the problem was that i was supposed to ADD the company letters in front when writing in xAcars;-) when i did that it worked. at least it tracked my plane during takeoff... i had to shut down fs so i couldnt test untill i landed... SO the last question remains... When i have landet, do i just press "stop Acars" and then the information is provided to phpVMS automatically? or do i have to do something else?:-) Thanks for your help this far! Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted September 30, 2011 Moderators Report Share Posted September 30, 2011 lol i belive after stop acars you get a popup to send or save the flight. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.