WPで急に真っ白になった!原因と対処法は?

このQ&Aのポイント
  • WPでサイトをいじっていたら急に真っ白になりました。関数テーマは触っていませんので他が原因だと思います。
  • wp-config.phpをdefine('WP_DEBUG', true);に変更設定してエラーを表示さててみましたが、下記の意味がわかりません。
  • また、エラーメッセージ「Warning: require(/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php): failed to open stream: No such file or directory in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php' (include_path='.:/usr/local/php/5.4/lib/php') in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21」が表示されています。どこをどのように直せばいいのですか?
回答を見る
  • ベストアンサー

WPで急に真っ白になりました

WPでサイトをいじっていたら急に真っ白になりました。 関数テーマは触っていませんので他が原因だと思います。 wp-config.phpをdefine('WP_DEBUG', true);に変更設定してエラーを表示さててみましたが 下記の意味がわかりません どこをどのように直せばいいのですか? Warning: require(/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php): failed to open stream: No such file or directory in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php' (include_path='.:/usr/local/php/5.4/lib/php') in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21

質問者が選んだベストアンサー

  • ベストアンサー
回答No.1

Warning: require(/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php): failed to open stream: No such file or directory in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php' (include_path='.:/usr/local/php/5.4/lib/php') in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21 書いているまんまなのですが・・・ /home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php この、ファイルが開けないまたは見つからないぞ~! だそうです。 なので、このphpに含まれる関数すべてが以後、エラーとなっている状態だと 言ってます。 単にフォルダのアップしてないか、削除しただけと思われます。 WP?は何なのかはわかりませんが、 見た感じ普通のPHPエラーですよ。これ。

関連するQ&A

  • 未来サーバーとWordPress

    Filezira で未来サーバーにwordpressフォルダを転送しましたが、 下記のエラーが出ています。 Warning: require(/home/u670729528/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /home/u670729528/public_html/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/u670729528/public_html/wp-includes/load.php' (include_path='.:/usr/lib/php') in /home/u670729528/public_html/wp-settings.php on line 21 load.php か wp-settings.phpの内容がおかしいのでしょうか? wp-settings.phpの21行目を見ると require( ABSPATH . WPINC . '/load.php' );  と書かれています。 それと未来サーバーのデータベースは空ですが何も入れなくていいですか? 階層的には wordpressの直下にwp-settings.phpがあり、wordpressの直下の wp-includesフォルダの直下にload.phpがアップロードされています。

    • 締切済み
    • PHP
  • wp-config.phpが作れない

    wordpressをインストールしようとしています。 (「WordPressレッスンブック」を見ながら) 画面で、データベースの情報を入力するところがあります。 この画面を使わなくてても、wp-config-sample.php を開き、データベース接続の詳細を記入してこのファイルの名前を wp-config.phpで保存すればいいそうです。 つまり目的は、wp-config.phpを作る過程です。 何度やってもうまくいきません。 白紙画面が出ます。 そのうち、下記の画面がでます。 Warning: require_once() [function.require-once]: Unable to access /virtual/(ドメイン名)/public_html/wp/wp-includes/pomo/translations.php in /virtual/(ドメイン名)/public_html/wp/wp-admin/setup-config.php on line 186 Warning: require_once(/virtual/(ドメイン名)/public_html/wp/wp-includes/pomo/translations.php) [function.require-once]: failed to open stream: No such file or directory in /virtual/(ドメイン名)/public_html/wp/wp-admin/setup-config.php on line 186 Fatal error: require_once() [function.require]: Failed opening required '/virtual/(ドメイン名)/public_html/wp/wp-includes/pomo/translations.php' (include_path='.:/usr/local/lib/php') in /virtual/(ドメイン名)/public_html/wp/wp-admin/setup-config.php on line 186 データベース情報はまちがってないんです。 わざとスペルミスで間違うと、「データベース接続確立のエラー」が出るからです。 上記のような画面が出るのはどういうことでしょうか?

  • wordpressのインストールについて

    質問の内容を書いてくださいwordpress最新版をダウンロード、ffftpで、サーバー(ロリポップhttp://3kaduki.girly.jp/haka/)にフォルダの名前だけ変えてアップロードしました。 http://3kaduki.girly.jp/haka/3ka_blog/ にwordpressが入ったはずなので、 http://3kaduki.girly.jp/haka/3ka_blog/ にアクセスしました。 すると、データベースの設定画面になるとネットには書いてありましたが、なりません。 英文エラーになります。 Warning: require_once() [function.require-once]: Unable to access /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 Warning: require_once(/home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 Fatal error: require_once() [function.require]: Failed opening required '/home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php' (include_path='.:/usr/local/php5.2/php') in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 助けてもらえませんか。よろしくおねがいします。 ちなみに、ロリポップには簡単インストールと云う便利ツールからインストールできましたが、 現在、休止中で、復旧のメドも立っていないのです(>_<")

  • ハッスルサーバーwordpressの初期設定

    初心者の質問です。windows7でwordpress導入のためインストール、 アップロードときて、データベースまで終え初期設定でつまずい ています。MySQL 5.0.xのデータベースは問題なし。管理ツールにて ユーザー名・パスワードを打って確認しました。phpMyAdmin には私のホルダあり。 当初、マニュアルにしたがって「設定ファイルを作成する」 にてデータベースの情報を記入。すると、 「データベース接続確立のエラー」と表示されます。 自己解決できなかったので、wp-config-sample.phpを書き替えて アップロードすることにしました。 sakuraエディタにてwp-config-sample.phpを適切に書き替え、 フェイル名wp-config、ユーザー指定PhP、文字コードセット UTF-8、改行コード変換なし、BOMにチェック入れずでアップロード。 もともとのwp-config-sample.phpはサーバーから削除しました。 すると以下のメッセージです。 Warning: require(/home/●●/public/www/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/●●/public/www/wp-settings.php on line 21 Fatal error: require() [function.require]: Failed opening required '/home/●●/public/www/wp-includes/load.php' (include_path='.:/usr/local/share/pear') in /home/●●/public/www/wp-settings.php on line 21 ハッスルサーバーはwp-config-sample.phpを書き替えなくても アップロードするだけでwordpressの設定画面に行けますが、 データベースに問題ありでその次のステップに行けないということで、 詳しい方、対処法を教えてください。

  • ワードプレスでのエラー表示

    とても初心者です。よろしくお願いします。 ワードプレスで『Quick Cashe』をインストールしました。 そこから管理画面が動かなくなり、いろいろ調べているうちにプラグインがよくないと思い、FTPのプラグインから『Quick Cashe』を削除しました。 すると今度はワードプレス自体が真っ白になり、ログイン画面すらでなくなりました。 なんとかエラー表示まで出せるようになったのですが、ここからどうしていいか分かりません。 エラーは Warning: require_once(/home/users/2/*******/web/wp-content/plugins/quick-cache/includes/share.php): failed to open stream: No such file or directory in /home/users/2/******/web/wp-content/advanced-cache.php on line 136 Fatal error: require_once(): Failed opening required '/home/users/2/******/web/wp-content/plugins/quick-cache/includes/share.php' (include_path='.:/usr/local/php5.4/php') in /home/users/2/*********/web/wp-content/advanced-cache.php on line 136 となっています。「wp-content/advanced-cache.php on line 136」の136行がおかしいのかと思ってるのですが、どうなのでしょう。wp-content/advanced-cache.php on line 136の136行目は require_once dirname(QUICK_CACHE_PLUGIN_FILE).'/includes/share.php';となっています。 どうすればいいのでしょうか;;

  • wordpressのURL変更について

    http://0000.com/wpをhttp://0000.comに変更をしようと思いました。 まず設定画面からサイトの名前をhttp://0000.com/wpからhttp://0000.comに変更し、 index.phpをFTPから抜き <?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?> の↓を変更。 /** Loads the WordPress Environment and Template */ require('./wordpress/wp-blog-header.php'); ?> その後一つ上の層にindex.phpをあげたのですがサイトにアクセスすると、 Warning: require(./wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/sites/heteml/users113/0/1/f/01f-boy/web/pimp/index.php on line 17 Warning: require(./wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/sites/heteml/users113/0/1/f/01f-boy/web/pimp/index.php on line 17 Fatal error: require() [function.require]: Failed opening required './wordpress/wp-blog-header.php' (include_path='.:/usr/local/php5/php') in /home/sites/heteml/users113/0/1/f/01f-boy/web/pimp/index.php on line 17 と出てきてサイトが表示されません 。 wp-blog-header.phpがなにかあるのかと思い開けると下記のコードが書いてありました。 <?php /** * Loads the WordPress environment and template. * * @package WordPress */ if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-load.php' ); wp(); require_once( ABSPATH . WPINC . '/template-loader.php' ); } ?> しかし自分はphpがよくわからないためどこを変更すればhttp://0000.comでサイトが見れるのかわかりません。 教えてください。

    • ベストアンサー
    • PHP
  • wordpress サイトのルート

    wordpressを勉強しています。インストールは終えたのですが、サイトのルート表示の設定に躓いています。Giving WordPress Its Own Directory(http://wpdocs.sourceforge.jp/Giving_WordPress_Its_Own_Directory)を参考にしているのですが、サイトのルートにアクセスすると下記のエラーがでます。 どのようにしたらよいでしょうか。 エラー内容: Warning: require() [function.require]: Unable to access ./wp-blog-header.php in /virtual/***/public_html/index.php on line 17 Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /virtual/***/public_html/index.php on line 17 Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /virtual/***/public_html/index.php on line 17

  • wordpressのエラーメッセージの対処方法

    wordpressのエラーメッセージを解消する方法についてご教示頂ける方 何卒宜しくお願い申し上げます。 【質問事項】 管理画面(ダッシュボード)から私が作成していますサイトにログインしようとID及びPASS を入力し、ログインを試みますと、以下のメッセージが発生し、ログインが不可能な状態 となりました。 解消する方法について、 ご教示賜われる方がいらっしゃいましたら、何卒宜しくお願い申し上げます。 ***以下エラーメッセージ*** Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 709 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 710 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 711 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 712 ************************************************ 【エラーメッセージが出ることになった直接的な原因】 エラーメッセージが出る事になった原因。 functions.php修正によるもの。 * / / function.php(子テーマ) ADD_FILTER( 'widget_tag_cloud_args'、 'my_widget_tag_cloud_args'); 関数my_widget_tag_cloud_args($ argsを){ $ argsを=配列( '順番' => 'RAND'、 '数' => 50、 '最小'=> 8、 '最大' => 10 ); $ argsをを返します。 } (注)リターン$args;を入れ漏れていたことにより、     途中経過的として、サイト事態が白紙となり、     現段階の【メッセージ内容】になっております。 何卒宜しくお願い申し上げます。

  • wordpress 自動アップグレードがうまくいきません

    自動アップグレード(ver2.7.1→ver2.8.4)しようとすると、以下のwarningがでて、アップグレードが失敗します。解決したいのですが、よろしくお願い申し上げます。 warning中の***は塗りつぶしです。 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630

  • ワードプレスのディレクトリ

    ワードプレスのブログ表示先を独自ドメインにしたいのですが、index.phpを表示したいアドレスに書き換えて、htaccessもパーマリンク設定の1番下に出てくるソースに書き換えました。すると、 Warning: require(./○○○.com/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /virtual/○○/public_html/○○○.com/index.php on line 4 Fatal error: require() [function.require]: Failed opening required './○○○.com/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /virtual/○○/public_html/○○○.com/index.php on line 4 こんなエラー画面になります。 どなたかわかるかたいらっしゃいましたら、 よろしくお願いします。 ○のところはサーバーネームと独自ドメインなので、伏字にさせてもらってます。