After installing WordPress, prompt the source error
Just put wordpress4.01 upload to the host, open the domain name, appear this sentence:
Fatal error:call to undefined function request_filesystem_credentials () in/data/home/htdocs/wp-admin/includes/ class-wp-upgrader-skins.php on line 47
Find the source code as follows
Public Function request_filesystem_credentials ($error = False) {
$url = $this->options[' url '];
$context = $this->options[' context '];
if (!empty ($this->options[' nonce '))
$url = Wp_nonce_url ($url, $this->options[' nonce ');
Return Request_filesystem_credentials ($url, ", $error, $context); Possible to bring inline, leaving as was for now.
}
The hint is that return this line of Request_filesystem_credentials ($url, ", $error, $context) function is undefined, the function is not found in the file, but with its name parameter different functions have several, Baidu a bit, not that PHP does not support overloading it? Do not understand PHP, do not know how to deal with, which big God understand?
------to solve the idea----------------------
Look, wp-admin/includes/file.php, this file is not here.