Pireps from FSACARS..

Hey i was wondering how i could get the pireps that are sent in from FSACARS to show in the admin pannle to show where it says Latest Stats 0 PIREPs pending, is there a way to get them to show up there and under the PIREPs view pending??

Not shure to understand what you need…

???

I think you may have the same problem as me where a pilot files a pirep via fsacars and it doesn’t show up in the “waiting to be approved” feed, its got something to do with the aircraft registration not being filled in on fsacars.

Yes they have to fill in the registration. I’ve changed it in the next version so it will warn you if there’s no aircraft filled in (it will show up)

I’m not sure if that’s your issue though. Are you sure the reports are reaching the site? Do a quick 5 min flight with everything filled in to see if it works.

If aircraft is your issue, a temp fix for now:

core/common/pirepdata.class.php, line 60ish:

INNER JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft

Change that INNER to LEFT so it reads:

LEFT JOIN '.TABLE_PREFIX.'aircraft a ON a.id = p.aircraft

Thats exactly what i wasw trying to say, haha. So do you have to fill the entire name in like we have on the site for example for us it would be B738 (AIREAST VIRTUAL)

Or can you just fill it in with the B738 short name?

Or do you have to fill it in with the full name…?

This is kinda the part im confused on, haha

Not the name, the aircraft *registration*. It won’t recognize the name, especially if there are multiple with same name but different registrations.

AIREAST VIRTUAL…what if that is my aircraft registration for all of them…? should i change that?

Yes, the registrations have to be unique, along a common scheme:

http://en.wikipedia.org/wiki/Aircraft_registration

Interesting it let you add multiple with the same reg.

/Goes bug hunting

so i have changed the aircraft reg, and im still not getting any thing when i go into the admin pannel to look at the recent pireps, it still shows nothing for the aircraft…

For new flights?

You’ll be able to fix it in the update. Stupid FSACARS

No it seems to be for any flight…I run acars, enter in the Aircraft reg. like you said to and do the flight then i submit it the log sends okay no errors but then i go into the admin panel still dosent show on the left hand side, but it shows when i view all, so i find the flight in there and its got all the info and log, but still no aircraft…lol so i dont know what to do..

In core/local.config.php, set the ACARS_DEBUG to true, if it’s not there, then set it in /app.config.php.

Then, do a flight, and paste here the log that’s in /core/modules/acars/log.txt

That seems to have done it, i should of thought of that…lol…thanks again nabeel! ;D

Huh, well if you can post the log, I can see what’s goin on

Here is the last log i took…i for somereason can get the aircraft to show when i submit the log to the site…seems everyone else can…

Also this is what i put in for the aircraft registration one of my pilots says he does this and it seems to work when he submits, me on the other hand nothing is working so far…

B738 (N8361A)

[KMIA_MMUN_2009-01-11.txt](< base_url >/applications/core/interface/file/attachment.php?id=21)

I need the log.txt file with the ACARS_DEBUG set to ‘true’.

For the registration, enter only “N8361A”, as you can see in your log:

Aircraft Type:B738 (N83

It’s getting cut off (it has limits to field lengths)

The log file in my FSACARS folder has nothing in it…

permissions?

I have xp, or are you talking about for the website??

Cause i cant find anything on the website either…

Website, on the log.txt, make sure its writable