Jump to content

Recommended Posts

Posted

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??

  • Moderators
Posted

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.

  • Administrators
Posted

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

Posted

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

  • Administrators
Posted

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

Posted

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....

Posted

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..

  • Administrators
Posted

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

Posted

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

  • Administrators
Posted

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)

Posted

Here is the text file after a couple of flights were uploaded...for some reason we cant get them to show up in the admin panel on the main page on the left hand side, all debugs are set to true..and we are entering in only the Registration, still dont seem to work tho..

log.txt

  • Administrators
Posted

Doesn't seem like there's any data being entered in FSACARS:

PIREP FILE
Array
(
    [pilot] => AEAAEA0002
    [date] => 
    [time] => 
    [callsign] => 
    [reg] => 
    [origin] => 
    [dest] => 
    [alt] => 
    [equipment] => 
    [fuel] => 
    [duration] => 
    [distance] => 
    [version] => 4015
    [more] => 0
    [log] => 
    [module] => ACARS
    

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

Fuel, duration, etc, all those are blank.

Reinstall FSACARS. Use the default config given in the pilot center.

Maybe you customized some of the options? And it's not reporting all those values.

But there is no arrival airport, or departure entered. And not even a pilot ID.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...