WordPress require_once () Failed opening required solution

Source: Internet
Author: User
Tags require

The error "require_once () Failed opening required wp-load.php in wp-admin/admin. php" is reported in the background,

Open the wp-admin directory and start the admin. Php file.

The code is as follows: Copy code

Require_once (dirname (_ FILE _). '/wp-load.php ');

Change

The code is as follows: Copy code
Require_once ('../wp-load.php ');

Re-upload to solve the problem (wp will prompt to update the database)


The modified path is the same as the one not changed. Then, the default path is changed again, so no error is reported on the page! If you suspect that the wp program is updated, you should first enter
/Wp-admin/upgrade. php updates and then enters the background to avoid the wp program error!

The following error occurs when installing wordpress:

Warning: require_once (D: wwwroot/wp-load.php) [function. require-once]: failed to open stream: No such file or directory in D: wwwrootsinogou plugin �� wp-blog-header.php on line 12

Fatal error: require_once () [function. require]: Failed opening required 'd: wwwroot/wp-load.php '(include_path = '.; c: php5pear ') in D: wwwrootsinogou �� wp-blog-header.php on line 12

The above error occurs because the path contains Chinese characters.

Change the path to English.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.