Page 1 of 1

Statistics problem

Posted: Thu 24 Jun 2010 6:39 am
by =gRiJ=Petr
Hi,

After analysing I get this error in the statistics page:
Notice: Undefined index: R_242SQN_Prof in C:\wamp\www\SEOW\MP4\Statistics\MP-MissionDetails.php on line 926

Notice: Undefined index: R_=69.GIAP=MOLOT in C:\wamp\www\SEOW\MP4\Statistics\MP-MissionDetails.php on line 923

There are several more lines of these messages. It pertains only to two pilots, the rest seems fine, although some are not mentioned at all.

The individual pilot stats (bullet's, percentages, etc...) are also empty.
DB is the e variant.

Any pointers?
Thanks!
Best,
Petr

Posted: Thu 24 Jun 2010 9:26 am
by IV/JG7_4Shades
Not sure Petr. Check the eventlog to make sure these pilots don't have space characters or tabs etc in their names.

Cheers,
4S

Posted: Thu 24 Jun 2010 9:43 am
by =gRiJ=Petr
IV/JG7_4Shades wrote:Not sure Petr. Check the eventlog to make sure these pilots don't have space characters or tabs etc in their names.

Cheers,
4S
Hi Shades,

Good catch. Molot had a space in front of his name but Prof hasn't. Nor behind and I don't think he has special chars.

What can I do to correct the space for Molot?

thanks!
Cheers,
Petr

Posted: Thu 24 Jun 2010 5:43 pm
by IV/JG7_4Shades
Edit PilotMissionData and PilotMissionDisposition tables to correct the pilot names, then run your stats update again. That should fix it for Molot. Not sure what was wrong with Prof.

Cheers,
4S

Posted: Sat 26 Jun 2010 4:00 am
by =gRiJ=Petr
ok, thanks!