2016-12-29 15 views
-1

私はこのマッサージをWordPressサイトの上部にあり、管理領域に入ることはできません!警告:include(1)[function.include]:ストリームのオープンに失敗しました

警告:(1)[function.include]が挙げられる:/home/pharmme/public_html/bphsa.bg/wp-config.php におけるそのような ファイルまたはディレクトリをライン21上:ストリームを開けないことができませんでした

警告:失敗開く 含めるために '1'(のinclude_path = '::は/ usr/local/php52 /ナシ')/ホーム/ pharmme/public_htmlの/ bphsa に()[function.include]が挙げられます。 bg/wp-config.php on line 21

何が問題なのですか?

?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'); <--- line 21 – morarov

+0

もっと大きな部分が必要です。あなたの質問に編集として追加してください。 – janw

答えて

0

2行目が問題です。

* The*/include /* base configuration for WordPress

次のようになります。

* The include base configuration for WordPress

今PHPはそれをinclude機能を考えています。どちらがエラーの原因です。

関連する問題