Wayne Posted January 9, 2009 Report Share Posted January 9, 2009 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?? Quote Link to comment Share on other sites More sharing options...
maxwaldorf Posted January 9, 2009 Report Share Posted January 9, 2009 Not shure to understand what you need... ??? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted January 9, 2009 Moderators Report Share Posted January 9, 2009 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 9, 2009 Administrators Report Share Posted January 9, 2009 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 Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 9, 2009 Author Report Share Posted January 9, 2009 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 9, 2009 Administrators Report Share Posted January 9, 2009 Not the name, the aircraft *registration*. It won't recognize the name, especially if there are multiple with same name but different registrations. Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 9, 2009 Author Report Share Posted January 9, 2009 AIREAST VIRTUAL....what if that is my aircraft registration for all of them...? should i change that? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 9, 2009 Administrators Report Share Posted January 9, 2009 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 Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 11, 2009 Author Report Share Posted January 11, 2009 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.... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 11, 2009 Administrators Report Share Posted January 11, 2009 For new flights? You'll be able to fix it in the update. Stupid FSACARS Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 11, 2009 Author Report Share Posted January 11, 2009 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.. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 11, 2009 Administrators Report Share Posted January 11, 2009 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 Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 11, 2009 Author Report Share Posted January 11, 2009 That seems to have done it, i should of thought of that...lol...thanks again nabeel! ;D Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 11, 2009 Administrators Report Share Posted January 11, 2009 Huh, well if you can post the log, I can see what's goin on Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 11, 2009 Author Report Share Posted January 11, 2009 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 12, 2009 Administrators Report Share Posted January 12, 2009 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) Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 12, 2009 Author Report Share Posted January 12, 2009 The log file in my FSACARS folder has nothing in it.... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 12, 2009 Administrators Report Share Posted January 12, 2009 permissions? Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 12, 2009 Author Report Share Posted January 12, 2009 I have xp, or are you talking about for the website?? Cause i cant find anything on the website either... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 12, 2009 Administrators Report Share Posted January 12, 2009 Website, on the log.txt, make sure its writable Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 12, 2009 Author Report Share Posted January 12, 2009 Where exactly does the log.txt need to be cause i dont know where it is, nor cant find it... Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 12, 2009 Administrators Report Share Posted January 12, 2009 /core/modules/acars/log.txt Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 12, 2009 Author Report Share Posted January 12, 2009 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 13, 2009 Administrators Report Share Posted January 13, 2009 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. Quote Link to comment Share on other sites More sharing options...
Wayne Posted January 13, 2009 Author Report Share Posted January 13, 2009 Thats from my other pilot ill tell him to do that and i will as well. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 13, 2009 Administrators Report Share Posted January 13, 2009 Refer him to: http://phpvms.net/docs/using_fsacars Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.