フォーラム

[解決済み] wp-config.phpのエラーの解決案を教えてください (3 件の投稿)

  1. Takht
    メンバー
    11 ヶ月前の投稿 #

    始めまして、初心者です。 
    インストールをマニュアル通りにやったつもりですが、同じようなエラーがいくつも出てしまいます。 「よくあるインストールトラブル」の説明を読みながら直せるところは直したつもりですが、うまくいきません。 ログイン後のページが以下のエラーがwp-config.php のメッセージ以外には、真っ白な画面だけしか映りません。

    なにが、間違っているのでしょう? どなたかご指示をお願いします。

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-login.php on line 255

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-login.php on line 267

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-includes/pluggable.php on line 649

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-includes/pluggable.php on line 650

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-includes/pluggable.php on line 651

    Warning: Cannot modify header information - headers already sent by (output started at /home/aitaku/public_html/wp-config.php:1) in /home/aitaku/public_html/wp-includes/pluggable.php on line 850

  2. mizube
    メンバー
    11 ヶ月前の投稿 #

    wp_config.php を修正された際、文字コードを UTF-8 で保存されましたか?
    UTF-8 で保存されているとしても、 BOM 有りで保存されているのではないかと思います。 wp-config.php の先頭に BOM が含まれているために header 情報がそこで出力されてしまい、エラーが出ているように見受けられます。
    まずは UTF-8 (BOM 無し) で保存されているかどうか確認してみてください。

    #Codex 日本語版の「よくあるインストールトラブル」には BOM についての言及はないんですね。

  3. Takht
    メンバー
    11 ヶ月前の投稿 #

    ありがとうございました。 直りました。

返信

ログイン しなければ投稿できません。

About this Topic