Forum: fix for blank page / loop
| Xairoo 172 days ago | if you got a blank page or a loop, you could have a problem with a special character. let's remove them!
open clsAWStats.php find @ line ~195 htmlspecialchars(urldecode(trim($arrData[$iIndexItem][$iIndexAttr]))) and add remove_sc ... like this remove_sc(htmlspecialchars(urldecode(trim($arrData[$iIndexItem][$iIndexAttr])))) now go to the end of the file an add this function (before the ?> tag :)) function remove_sc($data) { return preg_replace("/[^a-zA-Z0-9\:\/.-_:;]/",'',$data); } have fun! |
| ikxdf 162 days ago | i've resolve my problem with memory_limit = 1024M in my php.ini :)
bye! |
Participate in this discussion
You must be logged in to post in this thread.
Version 0.7 beta available now
Released 25th Janury 2009Try 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!