gpt4 book ai didi

php - require(public_html/mywebsite/wp-includes/post.php) 第 142 行的 :failed to open stream: permission denied in public_html/mywebsite/wp-settings. php

转载 作者:可可西里 更新时间:2023-10-31 23:45:28 26 4
gpt4 key购买 nike

我在 wordpress 中开发了一个网站。但现在我面临一个错误:

require(public_html/mywebsite/wp-includes/post.php):failed to open stream: permission denied in public_html/mywebsite/wp-settings.php on line 142

============================================= =====================

Fatal error: require(): Failed opening required '/public_html/mywebsite/wp-includes/post.php'(include_path='.:/opt/apt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /public_html/indus/wp-settings.php on line 142

为了解决这个问题,我更改了 post.php 文件的权限。它奏效了。但是第二天当我试图打开它时,我又遇到了同样的问题。

如何解决?

最佳答案

您使用哪个主题开发网站??我认为您的主题有问题。更改 wordpress 的任何其他默认主题,例如 2016 并检查问题。如果有效,则您的主题有问题。

关于php - require(public_html/mywebsite/wp-includes/post.php) 第 142 行的 :failed to open stream: permission denied in public_html/mywebsite/wp-settings. php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41255487/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com