自己机子上装WP遇到的问题

全新的安装,又遇到这个问题了:
Fatal error: Class ‘CachedFileReader’ not found in …\wp-l10n.php on line 67
Google了下,找到解决方法:

在wp-config下找到这行

define (’WPLANG’, ”);
改为

define (’WPLANG’, ‘en_US’);

这个问题是跟wp-slimstats这个插件有关,原文链接

在 plugins\wp-slimstat\lang下有个文件wp-slimstat-en_US.mo,将其改名为

en_US.mo,wp-slimstat就可以正常使用了,不会再出现类似这样的错误:

Warning: unpack(): Type V: not enough input, need 4, have 0 in /home/l7stctns/public_html/blog/wp-includes/gettext.php on line 85

装了这个插件:WordPress Related Entries 2.0

现在每篇post下,都显示随机文章和相关文章。

Popularity: 8% [?]

No tag for this post.

Related posts

Make Money

2 Comments on “自己机子上装WP遇到的问题”

  • Zhang wrote on 20 August, 2006, 18:51

    请问一下,那个WordPress Related Entries 2.0插件对于中文有效吗?

  • topcool wrote on 20 August, 2006, 19:05

    应该有效的吧。

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2009 时光漫步. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.