
{"id":52,"date":"2006-08-08T16:04:38","date_gmt":"2006-08-08T15:04:38","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=52"},"modified":"2011-06-02T08:48:54","modified_gmt":"2011-06-02T07:48:54","slug":"wp-slimstat-gives-a-fatal-error","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2006\/08\/08\/wp-slimstat-gives-a-fatal-error\/","title":{"rendered":"Wp-slimstat gives a fatal error"},"content":{"rendered":"<p><strong>Update #1: <\/strong> I forgot to explain what wp-slimstat is. Wp-slimstat is a simple web statistic wordpress plugin, which means you can see how many visits you get and from where\/how many\/etc. But the good part is that you can see it when you login there will be an extra tab on the Dashboard to the statistics &#8220;Slimstat&#8221;.<\/p>\n<p><strong>Update #2: <\/strong> RTFM &#8230;.. in the README.txt (chapter 8. LOCALIZATION) there is an explanation about this &#8220;fatal error&#8221;<\/p>\n<blockquote><p>make sure you have set your blog\u00e2\u20ac\u2122s default language in wp-config.php,<br \/>\ne.g. : \u00e2\u20ac\u0153define (&#8216;WPLANG&#8217;, &#8216;en_US&#8217; );\u00e2\u20ac? and that the corresponding<br \/>\nlocalization file exists in wp\/slimstat\/lang folder.<\/p><\/blockquote>\n<p>I found my error on the <a href=\"http:\/\/wordpress.org\/support\/topic\/59484\">wordpress.org<\/a> support forum&#8230; the solution I describe here still works. <\/p>\n<p><a href=\"http:\/\/www.duechiacchiere.it\/wp-slimstat\/\" title=\"track your blog\" hreflang=\"en\"><\/a> <\/p>\n<p>Today I tried to install <a href=\"http:\/\/www.duechiacchiere.it\/wp-slimstat\/\">wp-slimstat<\/a> and all I got:<br \/>\n<code><br \/>\nFatal error: Cannot instantiate non-existent class: cachedfilereader in <em>[snipped]<\/em>\/wp-includes\/wp-l10n.php on line 67<br \/>\n<\/code><br \/>\nhmmm&#8230;<br \/>\nI could not find the answer to this problem on the site of the creator of this wp-plugin but it seems that all wordpress-2.0.4-users have this problem!<br \/>\nSo I try good old google &#8230;. and found the answer..<br \/>\n<a href=\"http:\/\/mu.wordpress.org\/forums\/topic.php?id=888\">http:\/\/mu.wordpress.org\/forums\/topic.php?id=888<\/a><\/p>\n<pre>\r\ntry open wp-config.php or wp-config-sample.php\r\nedit this lines:\r\ndefine ('WPLANG', '');\r\nto\r\ndefine ('WPLANG', ' ');\r\n<\/pre>\n<p>And now I have <a href=\"http:\/\/www.duechiacchiere.it\/wp-slimstat\/\">wp-slimstat<\/a>, so I know what you did last hour!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update #1: I forgot to explain what wp-slimstat is. Wp-slimstat is a simple web statistic wordpress plugin, which means you can see how many visits you get and from where\/how many\/etc. But the good part is that you can see it when you login there will be an extra tab on the Dashboard to the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,6],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-standard","hentry","category-misc","category-open-source-freeware"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":1,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":1772,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/52\/revisions\/1772"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}