Feed on
Posts
Comments

WP ShortStat and SlimStat errors

My hosting company offers an “one-click” installation of WordPress. Installation was very fast and there were no problems. But first problems started when I tried to install and conigure statistics plugin for WordPress. I tried with two most popular: ShortStat and SlimStat.

At first ShortStat came with this error: Fatal error: Cannot access empty property in //wp-content/plugins/wp-shortstat.php on line 771. I found very effective solution for this problem.
There are two things to be changed in this file: first change ($wpss->$tz_offset+1):$wpss->$tz_offset)*3600)  to ($wpss->tz_offset+1):$wpss->tz_offset)*3600).Next thing is to swap this line:
if (function_exists(’check_admin_referer’)) { with the new one:
if (function_exists(’user_can_access_admin_page’)) {

That helped but I also wanted to try SlimStat. And I got this error: Fatal error: Class ‘CachedFileReader’ not found in …\wp-l10n.php on line 67. I googled for solution and of course found it in less than minute - take a look at http://wordpress.org/support/topic/72270.

Now I’m using SlimStat because it looks better for me.

Trackback URI | Comments RSS

Leave a Reply