简体   繁体   中英

Warning: require(/wp-includes/load.php) [function.require]: failed to open stream

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:

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

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.

如果你使用wordpress admin卸载了你的wp-cache,你还应该删除服务器中的wp-cache文件夹,位于/wp-content/plugins / ...下面,我忘了插件自动生成的文件夹名称,如果仍然不起作用,请尝试删除.htaccess文件

The first time I upload Wordpress to Server. I have the same issuse. The problem because of I copy .htaccess from local to server

I fixed By change the url in .htaccess

# 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM