警告:require(/wp-includes/load.php) [function.require]:无法打开流
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20877942/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Warning: require(/wp-includes/load.php) [function.require]: failed to open stream
提问by Chaitanya
I uninstalled the W3 Total Cache plugin and added the WP Super Cache; however, the second plugin didn't get activated. I believe it was due to some W3 Total Cache files still showing on my blog and I went into FTP to remove them. Now I'm getting the below error message:
我卸载了W3 Total Cache插件并添加了WP Super Cache;然而,第二个插件没有被激活。我相信这是由于一些 W3 Total Cache 文件仍然显示在我的博客上,我进入 FTP 删除它们。现在我收到以下错误消息:
Warning: require(/wp-includes/load.php) [function.require]: failed to open
stream: No such file or directory in /wp-settings.php on line 21
Fatal error: require() [function.require]: Failed opening required
'/wp-includes/load.php' in /wp-settings.php on line 21
回答by 4D Media
This may be a permission issue with those particular files. You may want to try resetting the permissions, or overwriting the files in wp-includes with those from a fresh install of the same WP version.
这可能是这些特定文件的权限问题。您可能想尝试重置权限,或使用相同 WP 版本的全新安装中的文件覆盖 wp-includes 中的文件。
回答by Vincent
If you have uninstalled your wp-cache using the wordpress admin, you should also delete the wp-cache folders in your server under /wp-content/plugins/...[i forgot the folder name] that was auto generated by the plugin, and if still doesn't work, try to delete your .htaccess file
如果您使用 wordpress admin 卸载了 wp-cache,您还应该删除服务器中 /wp-content/plugins/...[我忘记了文件夹名称] 由插件自动生成的文件夹,如果仍然不起作用,请尝试删除您的 .htaccess 文件
回答by vanduc1102
The first time I upload Wordpressto Server. I have the same issuse. The problem because of I copy .htaccessfrom local to server
我第一次将Wordpress上传到服务器。我有同样的问题。由于我将.htaccess从本地复制到服务器的问题
I fixed By change the url in .htaccess
我通过更改 .htaccess 中的 url 修复
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

