我无法升级WordPress

时间:2014-04-14 23:45:49

标签: php wordpress

我将10个网站从一个服务器转移到另一个服务器。所有网站都使用WordPress。 当我尝试使用仪表板上的立即更新链接升级到WordPress 3.8.3时,我收到此错误消息。

Downloading update from https://downloads.wordpress.org/release/sr_RS/wordpress-3.8.3.zip…

Download failed.: Operation timed out after 300000 milliseconds with 523957 out of 6327138 bytes received

Installation Failed

插件更新工作正常。 WordPress只是不会更新。 在所有网站都出现同样的错误。

在旧服务器上它运行正常。在新服务器上,一切都有效,除了更新WordPress。

1 个答案:

答案 0 :(得分:4)

如果连接速度很慢,可以暂时编辑文件/wp-admin/includes/file.php。搜索函数function download_url( $url, $timeout = 300 )并用更大的数字替换300,例如3000.在WordPress更新后,文件将被替换。