Forum: Some blank screens on svn version

 

« Back To Thread List

angband
1991 days ago
Hello and thanks for so nice scripts.

After trying versions 0.7 and 0.6 and find out they did not work I decided to get the svn version, well, I supose it is the latest beta and can have errors but can have fixes too ;)

It worked as soon as configured but it is not showing some pages, All Months, Browsers, Operating Systems, Referrers and Searches. All I get is blank screens, remaining pages works very well, nice statistics, all data present.

Comenting errorreporting and set_error_handler inside index.php I get on all blank pages:

Notice: Undefined offset: 9 in /var/www/html/stats/clsAWStats.php on line 238

I hope this helps to find what is wrong, if it is only me or it is something missing in scripts. I am running it on CentOS 6, apache 2.2.15, PHP 5.3.3, awstats 7.1.1 and awstats reports shows all data missing in jawstats then I supose I have no problems on all other installed software.

Thank you for your attention.
angband
1991 days ago
Well, I download again the last svn version today, I think my old version was downloaded some days ago. Some of the pages started to work as soon as I updated the files. Two pages still did not load, even after long time and reloads, it was Browsers and Operating Systems.

I decided to take a look at the code and found inside clsAWStats.php a "populate label array", lines 79 to 93. I really don´t know if it was the right fix but I changed the array elements on both BROWSER and OS lines, including another element "pages" after "id" and "hits" and the pages started to work just after the reload of the page. As I don´t have time to look into the source with more care I found this enough solution to my case, maybe not the right one. Forgive me if I am wrong.

Thank you for your attention.

« 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!