【问题标题】:wp-admin: Sorry, you are not allowed to access this page - Wordpresswp-admin:抱歉,您无权访问此页面 - Wordpress
【发布时间】:2017-06-09 09:26:19
【问题描述】:

所以我在从 Windows 主机转移到 Unix 后登录时遇到了一些问题。

当我尝试登录管理面板时,我看到了这个:

Sorry, you are not allowed to access this page

我使用过谷歌、搜索等。帖子中写的所有内容对我没有任何帮助,比如禁用插件、更改主题等,我仍然遇到这个问题。我问过托管公司,他们告诉我:

The problem is caused by the fact that you created multisite and most likely made confusion in the privileges. You'd better turn to the wordpress programmer

但问题是我没有创建多站点,只安装了语言插件(WPML)。

DEBUG 和错误没有显示任何内容。

【问题讨论】:

    标签: php wordpress


    【解决方案1】:

    这基本上是权限问题。

    您需要执行以下操作,

    find foldername -type d -exec chmod 755 {} \;
    find foldername -type f -exec chmod 644 {} \;
    

    将文件权限更改为正确的,文件为 644,文件夹为 755。

    【讨论】:

    • 对于文件夹/文件的用户?
    • 我会要求托管来做到这一点。可能是,但不确定。
    • 他们已经做到了,但我仍然有这个问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-18
    • 2022-11-23
    • 2017-06-12
    • 1970-01-01
    • 2018-09-04
    相关资源
    最近更新 更多