Forum: Fixed: JAWStats on PHP 5.3 (White pages)


« Back To Thread List

2811 days ago
Hi guys,

This might be obvious to some of you, but I myself am not a web developer so I had a hard time trying to find the answer. This is mainly going to be for reference in case anyone else encounters the same problem.

The problem: 'This Month' view will not show tables/data for incomplete months, those without full data. There were some problems with other pages too. What I got instead was a white page with the load icon going around and around.

The Solution: In the end I found the cause of the issue was the PHP 'split' function (located on line 208 of the clsAWStats.php file) had become deprecated as of PHP 5.3 and been substituted for the 'explode' function. Both functions work in the same way.

So after changing:
$arrData[] = split(' ', $arrStat[$iIndex]);

$arrData[] = explode(' ', $arrStat[$iIndex]);

My problem was now fixed and was able to see all my data :)

« Back To Thread List

Participate in this discussion


You must be logged in to post in this thread.


Version 0.7 beta available now

Released 25th Janury 2009

Try the online demo or download now.

Latest JAWStats News:

Version 0.7 Beta Released

Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.

posted 25th Jan '09. read more »

Help JAWStats

Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.


Get $50 off your webhosting

You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!