サポート » 使い方全般 » 白画面→エラーメッセージからの復旧ができません。

  • 解決済 pinopino-cha

    (@pinopino-cha)


    お世話になっております。

    今日、「New World」と「Stinger」というテーマをインストールしたところ、突然画面が真っ白になり、ブログ表示はもとより、ログイン画面も表示されなくなりました。
    まず、PC側にバックアップしておいたpublic_htmlをアップロードしようとしましたが失敗しました。次に、wp/wp-config.phpファイルにdefine(‘WP_DEBUG’, true);と書き直したところ、次のようなエラーメッセージが出ました。
    Fatal error: Cannot redeclare check_password_reset_key() (previously declared in /home/pinopinocha/pinopino-cha.info/public_html/wp-login.php:281) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/user.php on line 1644
    ただ、このメッセージが出たといっても、その後の対処法が分かりません。
    複数の関数が関係しているようですが……

    本当に困っております。
    どうぞご回答よろしくお願いいたします。

7件の返信を表示中 - 16 - 22件目 (全22件中)
  • 今のwp-config.phpに書いている情報がTICKTOCKのものだとすると、もう片方がpinopino-chaのものだと思うので、wp-config.phpを書き換えて試してみてください。

    そして、もう一度trueに戻しました。

    む、トップページにはエラーはでていないようですね…とりあえずデータベースの指定を変更してからどうなるか、ですね。

    トピック投稿者 pinopino-cha

    (@pinopino-cha)

    inc2734様>

    wp-config.phpを書き換えてみました。(MySQLのパスワードを念のため変更してから行いました)
    そうしてもTICKTOCKのログイン画面になってしまい、pinopino-chaでログインしてみると、TICKTOCKのエラー画面が表示されました。
    記述内容を元に戻してみると、pinopino-chaではログインできなくなり、TICKTOCKでログインしてみると、TICKTOCKのエラー画面が表示されます。よろしければ以下よりご覧ください。
    TICKTOCK

    とりあえず、本日の作業はここまでとさせていただきます……申し訳ありません。

    可能性として、

    public_htmlをアップロードしようとしましたが失敗しました。

    のときにアップロードしたファイルが「TICKTOCK」のものだったのではないでしょうか?そのため、wp-config.phpが書き換わっていてTICKTOCKに接続してしまっていた、また、themesディレクトリもTICKTOCKのもので上書きされてしまっているため、wp-config.phpを更新しても見かけ上TICKTOCKのサイトが表示されている…というような気がします。

    トピック投稿者 pinopino-cha

    (@pinopino-cha)

    inc2734様>

    お返事ありがとうございます。
    仰るとおりかもしれません。
    残念ながら今日は確認できませんが、明日、TICKTOCKのフォルダから、wp-config.phpの記述内容を確認してみます。

    トピック投稿者 pinopino-cha

    (@pinopino-cha)

    wp-config.phpをpinopino-chaの内容に書き換えたところ、ログイン画面に以下のようなエラーが表示されました。

    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/functions.php on line 3019

    Notice: Use of undefined constant headerWpToTop – assumed ‘headerWpToTop’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/wp-to-top/wp-to-top.php on line 241

    Notice: Use of undefined constant footerWpToTop – assumed ‘footerWpToTop’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/wp-to-top/wp-to-top.php on line 243

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-login.php on line 409

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-login.php on line 421
    おすすめ犬ピノが行く!改

    Notice: Use of undefined constant user_level – assumed ‘user_level’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    pinopino-chaのパスワードなどでログインしたところ、以下のようなエラーメッセージが出ました。

    Notice: Constant CAP_VERSION already defined in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php on line 31

    Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/functions.php on line 3060

    Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/functions.php on line 3019

    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/functions.php on line 3019

    Notice: Use of undefined constant headerWpToTop – assumed ‘headerWpToTop’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/wp-to-top/wp-to-top.php on line 241

    Notice: Use of undefined constant footerWpToTop – assumed ‘footerWpToTop’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/wp-to-top/wp-to-top.php on line 243

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-login.php on line 409

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-login.php on line 421

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/pluggable.php on line 683

    Warning: Cannot modify header information – headers already sent by (output started at /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/color-admin-posts/color-admin-post.php:31) in /home/pinopinocha/pinopino-cha.info/public_html/wp-includes/pluggable.php on line 899

    Notice: Use of undefined constant user_level – assumed ‘user_level’ in /home/pinopinocha/pinopino-cha.info/public_html/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524

    エラーメッセージの検証が大変ですが、一歩前進したような気がします。
    ちなみに、ダッシュボードはまだ表示されません。

    トピック投稿者 pinopino-cha

    (@pinopino-cha)

    追記です。

    ログインした上で、PC上で空のpluginsフォルダを作成し、それをアップロードしたところ、ダッシュボードが現れました。
    どうやら記事も無事に残っているようです。
    プラグインの項目を開くと、全てエラー状態で使えませんが、1つずつインストールし直して、検証していけばいいかなと思いました。
    もし何かアドバイスがありましたら、どうぞコメントをお寄せください。お待ちしております。

    トピック投稿者 pinopino-cha

    (@pinopino-cha)

    さらに追記です。

    プラグインのインストールを終えました。
    どうやら無事に動いてくれるようです。

    大変ご丁寧なお返事をくださったdigit@maetel様、inc2734様、本当にありがとうございました!お二方のご助言がなければ、復旧させることはできませんでした。

    このトピックがどなたかのお役に立てば幸いです。

7件の返信を表示中 - 16 - 22件目 (全22件中)
  • トピック「白画面→エラーメッセージからの復旧ができません。」には新たに返信することはできません。