Jump to content

maxwaldorf

Members
  • Posts

    94
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by maxwaldorf

  1. One stupid question,

    Is there a timeout for the live map and flights online ?

    Because I tested fsacars yesterday with fsx and it crashed...

    My flight is still shown even if the status is "FSCARS closed".

    Imagine 50 flights a days, the map would light up like Xmas tree  ;D

    Cheers !

  2. Also, don't remove the XLR before the numbers in the pilot ID, just remove it from the CompanyICAO. It's the way I need the complete ID and code of the pilot, while I can change that going forward, it'll take a few places to change it so it accepts both (I've changed other code so now I can take only the ID number).

    Glad to have helped !

    But concerning the CompanyICAO, are saying I should remove it from the INI ?

    In that case, the INI would become invalid !

    (To be honest, I didn't catch that point... You can still PM or email me if you want to push things forward)

    Cheers !

  3. OK,

    I found out what was messing with FSACARS !!!

    It seems that you added an output in your log with the result ARRAY... (apache server seems to output this as a single line which might contribute to the error also)

    Here is the server result on submit : (one long single line)

    Array ( [pilotid] => 0003 [code] => XLR [flightnum] => 1 [leg] => [depicao] => LFLL [arricao] => LFLY [aircraft] => 1 [flighttime] => 00.01 [submitdate] => NOW() [comment] => [log] => [2009/01/04 23:22:00]*Flight IATA:XLR1*Pilot Number:XLR0003*Company ICAO:XLR*Aircraft Type:A321*Aircraft Registration:F-TACB*Departing Airport: LFLL*Destination Airport: LFLY*Online: No*Route:DCT*Flight Level:050*23:22 Zero fuel Weight: 542 Lbs, Fuel Weight: 57 Lbs*23:22 Parking Brakes off*23:22 Com1 Freq=128.30*23:22 VR= 047 Knots*23:22 V2= 045 Knots*23:22 Take-off*23:22 Take off Weight: 599 Lbs*23:22 Wind: 000? @ 000 Knots Heading: 026?*23:22 POS N45? 43? 12?? E005? 04? 45?? *23:22 N11 73 N12 00*23:22 TOC*23:22 Fuel Weight: 59 Lb*23:23 Land*23:23 Wind:000?@000 Knots*23:23 Heading: 357?*23:23 Flight Duration: 00:01 *23:23 Landing Weight: 599 Lbs*23:23 POS N45? 43? 50?? E005? 04? 55?? *23:23 Parking brakes on*23:23 Block to Block Duration: 00:01 *23:23 Final Fuel: 57 Lbls*23:23 Spent Fuel: 00 Lbls*23:23 Flight Length: 00 NM*23:23 TOD Land Length: 00 NM* ) OK
    

    fsacars software seems to be reluctant to that piece of information by simply removing (or commenting) the following line, the issue wanished !

    Here the "work around" in fscars.php in /core/modules/ACARS/ :

    Just search and comment it out or remove it :

    print_r($data);

    (you can find it at the end of the file)

    I've been working hours to understand why this was not working and finally !

    I will continue testing it and give you feedback...

    Cheers !

    :D[/code]

  4. The fsacars INI template build the pilot name like that and if I remove the XLR before the numbers, the google maps does not recognize the pilot !

    Ok I checked, As you said, response is OK with all the array stuff...

    Anyway, I looked into the original send_pirep.php provided by fsacars team...

    As I am a total dumb at coding, is there a difference between :

    RETURN "OK"

    (in Original fsacars file)

    and

    echo "OK"

    (in phpvms files)

    Cheers !


  5. Well the log shows up that :

    pilot=XLRXLR0003&date=2009/01/04&time=23:22:00&callsign=®=F-TACB&origin=LFLL&dest=LFLY&alt=&equipment=A321&fuel=00&duration=00:01&distance=00&version=4015&more=0&log=[2009/01/04%2023:22:00]*Flight%20IATA:XLR1*Pilot%20Number:XLR0003*Company%20ICAO:XLR*Aircraft%20Type:A321*Aircraft%20Registration:F-TACB*Departing%20Airport:%20LFLL*Destination%20Airport:%20LFLY*Online:%20No*Route:DCT*Flight%20Level:050*23:22%20%20Zero%20fuel%20Weight:%20542%20Lbs,%20Fuel%20Weight:%2057%20Lbs*23:22%20%20Parking%20Brakes%20off*23:22%20%20Com1%20Freq=128.30*23:22%20%20VR=%20047%20Knots*23:22%20%20V2=%20045%20Knots*23:22%20%20Take-off*23:22%20%20Take%20off%20Weight:%20599%20Lbs*23:22%20%20Wind:%20000?%20@%20000%20Knots%20Heading:%20026?*23:22%20%20POS%20N45?%2043?%2012??%20E005?%2004?%2045??%20*23:22%20%20N11%2073%20N12%2000*23:22%20%20TOC*23:22%20%20Fuel%20Weight:%2059%20Lb*23:23%20%20Land*23:23%20%20Wind:000?@000%20Knots*23:23%20%20Heading:%20357?*23:23%20%20Flight%20Duration:%2000:01%20*23:23%20%20Landing%20Weight:%20599%20Lbs*23:23%20%20POS%20N45?%2043?%2050??%20E005?%2004?%2055??%20*23:23%20%20Parking%20brakes%20on*23:23%20%20Block%20to%20Block%20Duration:%2000:01%20*23:23%20%20Final%20Fuel:%2057%20Lbls*23:23%20%20Spent%20Fuel:%2000%20Lbls*23:23%20%20Flight%20Length:%2000%20NM*23:23%20%20TOD%20Land%20Length:%2000%20NM*
    
    PIREP FILE
    Array
    (
        [pilot] => XLRXLR0003
        [date] => 2009/01/04
        [time] => 23:22:00
        [callsign] => 
        [reg] => F-TACB
        [origin] => LFLL
        [dest] => LFLY
        [alt] => 
        [equipment] => A321
        [fuel] => 00
        [duration] => 00:01
        [distance] => 00
        [version] => 4015
        [more] => 0
        [log] => [2009/01/04 23:22:00]*Flight IATA:XLR1*Pilot Number:XLR0003*Company ICAO:XLR*Aircraft Type:A321*Aircraft Registration:F-TACB*Departing Airport: LFLL*Destination Airport: LFLY*Online: No*Route:DCT*Flight Level:050*23:22  Zero fuel Weight: 542 Lbs, Fuel Weight: 57 Lbs*23:22  Parking Brakes off*23:22  Com1 Freq=128.30*23:22  VR= 047 Knots*23:22  V2= 045 Knots*23:22  Take-off*23:22  Take off Weight: 599 Lbs*23:22  Wind: 000? @ 000 Knots Heading: 026?*23:22  POS N45? 43? 12?? E005? 04? 45?? *23:22  N11 73 N12 00*23:22  TOC*23:22  Fuel Weight: 59 Lb*23:23  Land*23:23  Wind:000?@000 Knots*23:23  Heading: 357?*23:23  Flight Duration: 00:01 *23:23  Landing Weight: 599 Lbs*23:23  POS N45? 43? 50?? E005? 04? 55?? *23:23  Parking brakes on*23:23  Block to Block Duration: 00:01 *23:23  Final Fuel: 57 Lbls*23:23  Spent Fuel: 00 Lbls*23:23  Flight Length: 00 NM*23:23  TOD Land Length: 00 NM*
        [module] => ACARS
        

     => fsacars
        [id] => pirep
        [redir] => pirep
        [icao] => 
        [pilotid] => pirep
        [action] => pirep
        [request] => fsacars
    )
    
    Array
    

    The problem seems to be coming from fsacars soft itself as the log received something...

    But is there a way to enable a debug mode for this software (the fact that I am under vista will not help either...)

    Cheers !

  6. Hi again,

    As written in the fsacars notice, the error message might show up (which did in my case) but PIREP is sent to system...

    The only issue with that is :

    Fsacars thinks the flight log is still not sent and so, at next flight it will send again and again the previous flight...

    Is this because fsacars does not receive a "OK" from the website ?

    I am willing to help you on that subject to identify the bug...

    Thanks for the help !

    ;D

  7. Hi !

    Thank you for this system and good work by the way,

    I have an issue :

    When creating fields in the administration interface for the PIREP, and when trying to fill in the PIREP from the pilot interface, the new fields do appear but when validating the form they are not saved and do not appear in the admin validation interface...

    Thanks for the help !

×
×
  • Create New...