【问题标题】:Wordpress permission issueWordpress 权限问题
【发布时间】:2019-11-13 20:49:23
【问题描述】:

我遇到了一个奇怪的问题,它阻止我从管理面板自动更新 wordpress 和安装新插件。

例如,我在顶部收到一条通知:

Sorry, but you do not have the correct permissions to update the Contact Form 7 plugin. Contact the administrator of this site for help on getting the plugin updated.
Please contact the administrator of this site for help.

我已将wp-content 的权限设置为755 及其所有文件夹。我以前从来没有遇到过这个问题。有人知道该怎么做吗?

【问题讨论】:

    标签: php wordpress


    【解决方案1】:

    嗯,我以前从未遇到过这个问题。但在深入了解wp-config.php 之后,我发现了两者:

    define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS',true);

    我所做的只是将 true 更改为 false,一切正常。

    【讨论】:

      猜你喜欢
      • 2011-07-31
      • 2015-10-14
      • 2014-04-02
      • 1970-01-01
      • 2021-09-20
      • 2020-12-14
      • 2017-08-22
      • 2015-12-18
      • 2020-11-27
      相关资源
      最近更新 更多