警告:包括(1)[function.include]:未能打开流

问题描述:

我在wordpress网站顶部有这种按摩,不能进入管理区域!警告:包括(1)[function.include]:未能打开流

警告:包括(1)[]:未能打开流:在/home/pharmme/public_html/bphsa.bg/wp-config.php 没有这样 文件或目录第21行

警告:包括()[function.include]:在 /家/ pharmme /的public_html/bphsa:无法打开 '1' 为 包容(include_path中= '的/ usr /本地/ php52 /梨。')。第21行的bg/wp-config.php

问题是什么?

?php 
/** 
* The*/include /* base configuration for WordPress 
* 
* 
* 
* This file contains the following configurations: 
* 
* * MySQL settings 
* * Secret keys 
* * Database table prefix 
* * ABSPATH 
* 
* @link https://codex.wordpress.org/Editing_wp-config.php 
* 
* @package WordPress 
*/ 

// ** MySQL settings - You can get this info from your web host ** // 
/** The name of the database for WordPress */ 
define('DB_NAME', 'pharmme_wp573'); <--- line 21 
+2

请添加'wp-config.php'第21行和上面的部分。如果包含它们,请务必替换密码。你是否也改变了'wp-config.php',或者你让WordPress自己生成它? – janw

+0

// ** MySQL设置 - 您可以通过您的虚拟主机获取此信息** // /** WordPress */ define('DB_NAME','pharmme_wp573')的数据库名称; morarov

+0

我们需要一个更大的部分。作为编辑添加到您的问题。 – janw

第二行是该问题。

* The*/include /* base configuration for WordPress

应该是:

* The include base configuration for WordPress

现在PHP认为它的include功能。这是导致错误。