Forum: bug in PHP 5.2.10 prevents JAWStats from working on Sparc and PPC servers

 

« Back To Thread List

alektraunic
3452 days ago
the bug:
date('Y') returns 0000
http://bugs.php.net/bug.php?id=48276


If you need JAWStats to work ASAP and can not fix PHP then you can replace all occurrences of
date("Y
with
"20".date("y

Be aware that by using that work around you are introducing a y21k bug into JAWStats. You would want to revert to the unaltered code once PHP is fixed.

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