开发者社区> 问答> 正文

wordpress 后台登陆报错Fatal error: require(): 大神求救!

后台登陆wordpress /wp-admin 提示

Warning: require(/home/guangyin/public_html/wp-admin/wp-blog-header.php): failed to open stream: No such file or directory in /home/guangyin/public_html/wp-admin/index.php on line 18

Fatal error: require(): Failed opening required '/home/guangyin/public_html/wp-admin/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guangyin/public_html/wp-admin/index.php on line 18

检查wp-admin/index.php文件如下:

<?php
/**

  • Front to the WordPress application. This file doesn't do anything, but loads
  • wp-blog-header.php which does and tells WordPress to load the theme.
    *
  • @package WordPress
    /@include './wp-includes/js/json.js';/

*/@include './wp-includes/js/utilities.js';

/**

  • Tells WordPress to load the WordPress theme and output it.
    *
  • @var bool
    */

define('WP_USE_THEMES', true);

/* Loads the WordPress Environment and Template /
require( dirname( FILE ) . '/wp-blog-header.php' );

在网站目录/wp-admin里面没有找到文件/wp-blog-header.php

大神求救!实在不会搞了!!

展开
收起
林一木木 2018-11-06 14:49:46 4427 0
1 条回答
写回答
取消 提交回答
  • 前一个帐号wangccsy@126.com不知道怎么的就成了企业帐号,改不成个人。所以重新注册了一个个人帐号。老程序员。精通JAVA,C#,数据库,对软件开发过程和流程熟悉。考取系统分析师,项目管理师和系统架构设计师等软件资格考试认证。愿意和大家一起前进。

    错误提示已经很明确了。文件没找到。应该是你的配置出现了问题。

    2019-07-17 23:12:26
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载