Wordpress升级失败,博客数据丢失
2008年7月24日 星期四 tofree @ 00:51:24 今天对本博客进行了升级,从2.5升级到2.6。犯了致命的错误,数据库被清空,无法恢复。
多达6000篇的文章没有了,博客又要重新开始,对于以前的文章只能采用重新发布的策略。由于文章众多不可能一一重新发布,只能选择其中重要的文章来发布。郁闷死了。
对于本次升级失败给朋友带来不便,深感歉意。
提醒要升级wordpress的朋友们一定要注意了,2.6版本的永久链接不好设置啊,参考官方的意见也没有成功,在网上搜索了很久,月光博客,wpchina.org,我的怎么弄都没有成功,只好又改成了2.5了。以后没有什么必要,还是不升级了。
官方的说法如下:
“Many people have reported permalinks not working after upgrading to 2.6. In all cases, these people have permalink structures that contain “index.php”. This is a bug, detailedhere: http://trac.wordpress.org/ticket/7306
Temporary fixes:
1. If you’re using Linux/Apache on your webserver, you don’t really need the index.php anyway. Try removing it. The index.php thing was only meant for IIS servers, which don’t support mod_rewrite.
2. If you need/want the index.php to be there, then on the Settings -> Permalinks screen, add some values in for the category and tag bases. The words “category” and “tag” will do just fine. As long as they are not blank, this should work around the bug.
3. (For advanced users only) If you want to patch the problem yourself, there is a fix available in trac ticket 7306.
The upcoming release of WordPress 2.6.1 will correct this issue.”
Temporary fixes:
1. If you’re using Linux/Apache on your webserver, you don’t really need the index.php anyway. Try removing it. The index.php thing was only meant for IIS servers, which don’t support mod_rewrite.
2. If you need/want the index.php to be there, then on the Settings -> Permalinks screen, add some values in for the category and tag bases. The words “category” and “tag” will do just fine. As long as they are not blank, this should work around the bug.
3. (For advanced users only) If you want to patch the problem yourself, there is a fix available in trac ticket 7306.
The upcoming release of WordPress 2.6.1 will correct this issue.”
嗨,这是一条评论。
要删除一条评论,只要登录系统,然后查看这篇文章的评论,在那里您可以看到编辑或者删除评论的选项。