您没有足够的权限来访问此页面。 WordPress的

时间:2016-02-23 09:56:56

标签: php wordpress file-permissions

我直接在Live服务器上安装了Wordpress。我可以在wordpress中登录。但是当我尝试在已安装的插件中​​的“设置”上单击它时,它会重定向到错误页面,该页面显示“您没有足够的权限来访问此页面”。

我读了更多关于这个问题的文章。全部说,检查数据库名称,wp_capabilities。我检查过。对我来说也很好。

PHP MyAdmin Page

请帮我解决问题。

感谢!

1 个答案:

答案 0 :(得分:1)

检查以下解决方案: -

在您的数据库中,

wp_capabilities should be a:1:{s:13:"administrator";s:1:"1";}

wp_user_level should be 10

如果不工作,请检查,

// ** MySQL settings ** //
define('DB_NAME', 'madeupname');     // The name of the database
define('DB_USER', 'madeupuser');     // Your MySQL username
define('DB_PASSWORD', 'madeuppw'); // ...and password
define('DB_HOST', 'mysql.yoursite.com');     // ...and the server MySQL is running on
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix  = 'wp_';   // example: 'wp_' or 'b2' or 'mylogin_'

同时检查link

希望它会对你有所帮助:)。