Title: ログイン画面がおかしいです
Last modified: 2016年11月6日

---

# ログイン画面がおかしいです

 *  解決済 [hooplanore](https://ja.wordpress.org/support/users/hooplanore/)
 * (@hooplanore)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/)
 * ログイン画面に
    Warning: Cannot modify header information – headers already sent
   by (output started at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-
   wp.php:1) in /home/users/2/main.jp-rag-time/web/wp/wp-login.php on line 431
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-login.php on line 444
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-login.php on line 446
 * と出てくるようになりました。。。
 * ログインしようとすると
    Warning: Cannot modify header information – headers already
   sent by (output started at /home/users/2/main.jp-rag-time/web/wp/wp-includes/
   class-wp.php:1) in /home/users/2/main.jp-rag-time/web/wp/wp-login.php on line
   431
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-login.php on line 444
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-login.php on line 446
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-includes/pluggable.php on line 935
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-includes/pluggable.php on line 936
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-includes/pluggable.php on line 937
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/
   users/2/main.jp-rag-time/web/wp/wp-includes/pluggable.php on line 939
 * と出ます。。。
    別の方が管理されていてなぜそうなったかの原因がわかりません。。。
   phpも詳しくないものでどうか知識のある方に解決策を教えていただきたくて投稿させ
   てもらいました、、、

5件の返信を表示中 - 1 - 5件目 (全5件中)

 *  [nobita](https://ja.wordpress.org/support/users/nobita/)
 * (@nobita)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181744)
 * こんにちは、
 * エラーが出力されている原因は、多数ありますのでこれだけでは特定できませんが、
 * 運用中のサイトで、エラーがブラウザに表示されるのは望ましいものではないので、まずは
   
   エラーをブラウザに表示させない設定を行う事をお勧めします。
 * wp-config.phpを開いて、
    最初の行
 *     ```
       <?php
       /**
        * The base configurations of the WordPress.
        *
        * This file has the following configurations: MySQL settings, Table Prefix,
        * Secret Keys, WordPress Language, and ABSPATH. You can find more information
        * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
        * wp-config.php} Codex page. You can get the MySQL settings from your web host.
        *
       ```
   
 * を以下のように、定数を追記してください
 *     ```
       <?php
       define('WP_DEBUG_DISPLAY',false); //この一行を追加
       /**
        * The base configurations of the WordPress.
        *
        * This file has the following configurations: MySQL settings, Table Prefix,
        * Secret Keys, WordPress Language, and ABSPATH. You can find more information
        * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
        * wp-config.php} Codex page. You can get the MySQL settings from your web host.
        *
       ```
   
 * これで、エラーは表示されなくなりますので、
 * > 別の方が管理されていてなぜそうなったかの原因がわかりません
 * 管理者の方に、エラーの内容と、追記した内容を説明して対策をとってもらってください。
 *  トピック投稿者 [hooplanore](https://ja.wordpress.org/support/users/hooplanore/)
 * (@hooplanore)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181745)
 * ありがとうございます！！
    早速試してみます！！！
 *  トピック投稿者 [hooplanore](https://ja.wordpress.org/support/users/hooplanore/)
 * (@hooplanore)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181803)
 * やはりログインができないようです。。。
 *  [hide](https://ja.wordpress.org/support/users/hideokamoto/)
 * (@hideokamoto)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181806)
 * まずはエラーログを管理者の方に確認するところからでしょうか。
 *  [Fumiki Takahashi](https://ja.wordpress.org/support/users/takahashi_fumiki/)
 * (@takahashi_fumiki)
 * [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181816)
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at /home/users/2/main.jp-rag-time/web/wp/wp-includes/class-wp.php:1) in /home/users/2/main.jp-rag-time/web/wp/wp-login.php on line 431
       ```
   
 * このエラーは次の原因で出ています。
 * – PHPでのリダイレクトはLocationヘッダーを吐くことで行われる
    – しかし、ヘッダー
   を吐くことは、画面上になにかが出力されるよりも前でなくてはならない – 正常にプログラム
   が動作している場合、ヘッダーを吐くよりも前になにかを出力することは起こりえない–
   なんらかのエラーメッセージが出力されていたはず
 * というわけで、真の原因は `Warning: Cannot modify header information` よりも前
   に出ていたはずです。それがわかれば解決。

5件の返信を表示中 - 1 - 5件目 (全5件中)

 トピック「ログイン画面がおかしいです」には新たに返信することはできません。

 * フォーラム: [使い方全般](https://ja.wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5件の返信
 * 4人の参加者
 * 最後の返信者: [Fumiki Takahashi](https://ja.wordpress.org/support/users/takahashi_fumiki/)
 * 最後の活動: [10年、 6ヶ月前](https://ja.wordpress.org/support/topic/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e7%94%bb%e9%9d%a2%e3%81%8c%e3%81%8a%e3%81%8b%e3%81%97%e3%81%84%e3%81%a7%e3%81%99/#post-181816)
 * 状態: 解決済

## トピック

### 人気のトピック

### 返信がないトピック

### サポート関連ではないトピック

### 解決済みのトピック

### 未解決のトピック

### すべてのトピック
