【问题标题】:Auto Updating Core Files In Wordpress在 Wordpress 中自动更新核心文件
【发布时间】:2015-03-24 20:02:53
【问题描述】:

需要帮助。 我正在尝试将我的 wordpress 网站自动更新到新版本,但它根本不会。出现以下代码:

Warning: touch() [function.touch]: Unable to create file /home/theround/public_html/wp-content/tmp/wordpress-4.tmp because Permission denied in /home/theround/public_html/wp-admin/includes/file.php on line 155

Warning: unlink(/home/theround/public_html/wp-content/tmp/wordpress-4.tmp) [function.unlink]: No such file or directory in /home/theround/public_html/wp-admin/includes/file.php on line 457

有人有什么想法吗?我一直在谷歌搜索这个问题无济于事。我尝试在配置文件中添加各种代码行,但无济于事,我束手无策。 老实说,我什至不知道这意味着什么。我已经检查了这些文件,它们在那里具有正确的权限等...并针对其他 wordpress 网站检查了它们,它们是相同的...

【问题讨论】:

  • 什么意思,自动更新核心文件

标签: php wordpress include core


【解决方案1】:

文件权限似乎设置错误。更多信息可以在这里找到:https://codex.wordpress.org/Changing_File_Permissions#Permission_Scheme_for_WordPress

此外,如果您使用自己的服务器,请确保 wordpress 用户拥有该目录的所有权。

例如sudo chown -R www-data:www-data /path/to/WordPress/Installation 用于 Linux。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-08-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-04-15
    • 1970-01-01
    相关资源
    最近更新 更多