Reply To: FireStats – Top 40 php script (now with added charts)

#14802
Iris
Participant

Steve,

I get this error on the Summary Page.

Fatal error: Class 'DateTimeZone' not found in /shares/mss-hdd/Public/Our Sites/stats/functions.php on line 653

I tried with my timezone (“America/Regina”) and also one of the defaults you had listed. I only edited the one line in Functions.php – was there another place I was supposed to change?

Glad to see you incorporated the time out setting – saves me having to add it in future releases.

I would of preferred setting the value in php.ini but the MSS seems to be more finnicky then the slug your using. It’s not supported as much as the slug and that sometimes causes more debugging. I did set the value in php.ini but that didn’t work so your solution of setting the timezone within the php code is my only option for now.

Iris