Jump to content

Recommended Posts

  • Moderators
Posted

Hi guys, im having trouble displaying todays flights or flights today this is the code that im using am i missing something somewhere? All the other stats populate except for Total Flights Today.

Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />

  • Administrators
Posted

If you do:

Total Flights Today: <?php echo StatsData::totalflightstoday(); DB::debug(); ?><br />

Does it show any errors when you view the page?

  • Moderators
Posted

I have just added some extra stuff like aircraft in fleet and total pax, all that is working OK, one thing i did notice was the uppercase letters,I have this,

Total Flights Today: <?php echo StatsData::totalflightstoday(); ?><br />

but in the stats data class its defines as StatsData::TotalFlightsToday();

So i have changed it to that but still no error or output, maybe it will update when another pirep is accepted.....

  • Administrators
Posted

I have same problem with Total Hours Flown and Total Flights Today.

Do a search on the TOTAL_HOURS bug, you have to add an entry into the settings table. It's missing for some odd reason

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