FSacars flight time

G’day,

Since the update version of PHPVMS in FSacars the “flight from VA” button works but when I Stop Log and then except the flight I get a conversion error. Then when I look at the log I have a zero hour flight. The flight uploads to the VA ok but with zero hours. I have tried using FSacars to record the flight entering all the flight/plane data manually and everything works fine so there seems to be a problem still with getting flight from VA. I have tried reinstalling FSacars and I have used the latest .ini but still have the same problem.

Hey,

I’m trying to narrow this problem down

Yeah when i try to save I get a “data type conversion error” here too…also for me its not recording flight time.

Try the latest beta that’s up, I haven’t had time to narrow this down. Busy week at work, few deadlines

Thanks Nabeel.. I tried the Beta and still the same problem.. One thing I did notice was that getting flight from VA put the passenger number into the cargo section  ???

Thanks for your efforts

I already had the beta…

I can’t find anything on this error on their site even.. hmm

Did you totally delete fsacars and your config file and go from scratch?

No but I will do and try again this afternoon after work.

Are you guys using the PILOTID_OFFSET setting in the local.config.php?

I have reinstalled many times, wiped out the whole thing…I will look at the local.cofig.

The default value is zero, I fixed a few bugs with that, but if you’re not using it then that’s obv not it..

no I’m not using the PILOTID_OFFSET either. When I get flight from VA, and then start log, the screen goes black for a second or two. I noticed it doesnt do that when I load a flight manually. ???

I’m looking on the FSACARS forum, can’t find anything there either.

So it does pull a flight from VA? But the time is nulled.

In the FSACARS log, what’s the time it shows, and what’s the time shown when you look at a PIREP?

I know the time after a flight is 00:00 but when I start I’m not sure. I can let you know later when I get home.

Thanks, I just did a test flight and it went ok. Trying to debug but coming up short =

I just did a full reinstall of FSacars and still have the same fault. Here is the log for a short flight

Log File:

    View Log

    [65535/65535/65535 05:39:00]

    Flight IATA:FRA204

    Pilot Number:FRA0001

    Company ICAO:FRA

    Aircraft Type:C182

    Aircraft Registration:C182

    Departing Airport: YKAT

    Destination Airport: YSCN

    Online: No

    Route:YKAT - YSCN

    05:39 Zero fuel Weight: 1994 Lbs, Fuel Weight: 141 Lbs

    05:40 Parking Brakes off

    05:40 Com1 Freq=129.30

    05:40 VR= 062 Knots

    05:40 V2= 061 Knots

    05:40 Take-off

    05:40 Take off Weight: 2134 Lbs

    05:40 Wind: 000? @ 000 Knots Heading: 065?

    05:40 POS S34? 02? 12?? E150? 41? 24??

    05:40 N11 85 N12 00

    05:40 TOC

    05:40 Fuel Weight: 142 Lb

    05:40 Flaps:2 at 61 Knots

    05:41 Flaps:1 at 66 Knots

    05:41 Flaps:0 at 75 Knots

    05:43 Flaps:1 at 96 Knots

    05:45 Land

    05:45 Wind:000?@000 Knots

    05:45 Heading: 065?

    05:45 Flight Duration: 00:00

    05:45 Landing Weight: 2132 Lbs

    05:45 POS S34? 02? 20?? E150? 41? 04??

    05:45 Parking brakes on

    05:45 Block to Block Duration: 00:00

    05:45 Final Fuel: 138 Lbls

    05:45 Spent Fuel: 02 Lbls

    05:45 Flight Length: 06 NM

    05:45 TOD Land Length: 06 NM

Thanks, I see this:

    05:45 Flight Duration: 00:00

    05:45 Block to Block Duration: 00:00

Means FSACARS isn’t reporting the time correctly, so it’s not a phpVMS bug.

Check that you have the latest version of FSUIPC, reinstall it and FSACARS.

The only thing I could find on their forums was, but no solution, and seems a bit “out there”

http://www.satavirtual.org/forum3/viewtopic.php?f=16&t=555&p=2123

The data conversion error most likely has something to do with it.

Update your .NET framework (not sure if it uses .NET, but worth a shot), there’s gotta be some common denominator.  It’s most likely written in Visual Basic, maybe updating the VB6 Runtime Library. What OS are you guys using?

Try posting something on their forums too, maybe you’ll get lucky

I am using xp pro.  i am using the latest fsuipc…Your last few builds weren’t doing this, very strange…

If you can post that raw log then I can confirm that it’s FSACARS, but that log that’s posted on the PIREP page is just the raw log passed through from FSACARS anyway.

I am using Vista 64bit and everything is up to date. The strange thing is that when I use fsacars manually everything is fine. When I used the previous version of phpvms where the get flight from VA button was only getting the first flight from the schedule everything was fine. It’s only been since we had the current version of phpvms that thinks have stopped working. It’s not just me either, I have another pilot on my VA that uses FSacars and he has the same problem. I find it hard to believe that it’s a FSacars bug as it would have been picked up by now as it hasn’t needed an update since 09/09/2004. It is such a shame as FSacars flight loading and logging is one of the best features of using phpvms making it so easy to lodge a pirep.

Thanks for all your help so far Nabeel. This is a great project your working on.