Wordpress 2.5 插件升级错误

by paikia on Friday, Apr 11, 2008


wordpress


终于将paikia.com升级为wordpress 2.5了。虽然中间不算是完全舒畅,但升级过程花的时间不到10分钟左右。尤其使用Wordpress Automatic Upgrade (WPAU)插件,这个插件能自动从Wordpress.org上下载最新软件,然后自行安装。顺利的话,整个更新过程不到两分钟。

在 升级到2.5的版本中,用户最常遇到的问题就是PHP上某某行数错误而造成不能显示主页。最可能的问题主要也是因为插件的版本还停留在旧的版本与新版不能匹配。而目前Wordpress能自动检查最新插件的版本来提示用户有新的下载,但下载过程还是属于半自动的。所以用户只需再点击升级更新所有旧插件后就没有问题。

本身遇到的其中一个问题是升级插件时出现以下这段错误:

Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared in /home/xxxx/public_html/tins/wp-content/plugins/wordpress-automatic-upgrade/lib/pclzip.lib.php:5421) in /home/xxxx/public_html/tins/wp-admin/includes/class-pclzip.php on line 5489

这个问题是一个在旧的WPAU插件的bug,解决方法是只要暂时解除(deactivate)这个插件后再升级就没问题了。而若是升级插件时遇到Could not create directory的错误话,就是目录下的权限没设定成777。使用FTP或者Cpanel的文件工具就能搞定。


Related Post 相关文章:


Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.





Counter: 590 hits




  • Archives: