FSacars flight time

Try sending me the full log.

The odd thing is, I haven’t touched FSACARS code in phpVMS since 1.1.458 (over 200 code check-ins ago). I manually compared the FSACARS module code and couldn’t find any differences. It’s essentially the same, except for the flight from VA.

There’s a ton of bugs with it, particularly on the reporting side which I’ve compensated for. If it’s just now the latest bid flight that’s the problem, can you send me your FTP and URL, and your pilot id, so I can take a look and see if I can spot anything behind the scenes?

I thought I had it fixed with the latest beta, but it seems as though it’s cropping up again. It’s most likely a dumb mistake on my part.

Thanks

Something that I notice:

View Log

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

What’s the date and time on your server?

Set those fields manually (they are to the left of the “Start Log” button), set the date and time properly, let’s see if that helps

OK I did a couple of flights with the current time set and it was still the same  :cry:

Flight using the Get Flight From VA button

The log time was

[65535/65535/65535 05:47:00]

05:52 Flight Duration: 00:00

05:52 Blockto Block Duration: 00:00

and the real flight time was 26min

But when I did the same flight with manually entered flight details

The log time was

[2009/02/27 07:13:00]

07:41 Flight Duration: 00:27

07:41 Block to Block Duration: 00:27

looks like the date has something to do with it. I set the date and time before the flight but when using the get flight from VA button and look at the flight log it has changed to something different ie [65535/65535/65535 05:47:00]

If you still want my ftp and http details let me know and i will send them in a PM

It looks like it’s not parsing the date I send it, even though it’s in the format it wants.

Try the attached fsacars.php, place it in /core/modules/acars/, overwriting the existing one. Hopefully that’s it

[fsacars.zip](< base_url >/applications/core/interface/file/attachment.php?id=29)

looks like we are getting closer Nabeel. All goes OK and after stop log i dont get an error. The date is correct in the log with the correct date but when i go to send log i get an error “Error Sending Log Data Base Error” and I cant send log to VA  ???

I just checked again and i find that after i press “send log” it shows pilot ID then goes to show flight results with an OK and a Cancel button. There in the flight results the date has gone back to 65535/65535/65535 :frowning: and if i press ok i get the error

Did it show up in the PIREPs? Well, once you click “stop log” and then accept, it should have sent it already, you don’t need to click anything else after that.

I accidentally left debug output, that may be messing it up. Try this fsacars.php

[fsacars.zip](< base_url >/applications/core/interface/file/attachment.php?id=31)

Well done Nabeel, Looks like you have done it :slight_smile: I just did a couple of test flights and everything worked fine. Just one thing I noticed was that the pax number still gets put into the cargo box when I load the flight from VA. It doesn’t bother me but I thought you may want to know. Thanks heaps for the prompt service in the help and bug fixing department. You have outdone yourself. Keep up the good work, I hope this venture turns out to be something even more special than it is now.

Excellent, glad to see it worked. I will double check that pax count.

This will probably be in an official update this weekend, thanks for your patience! This was a weird one.

Hi Nabeel,

Thanks for the fix for FSacars.  I only have one problem left in that when the flight is filed on completion it sends the last flight I did rather than the current one.  I have sent you an email with all the details.  You may still have my ftp and login details to help.

John