korokorone
フォーラムへの返信
-
フォーラム: その他
返信が含まれるトピック: フォーラムにログインしないと自分の投稿した返信が表示されないgatespaceさん>
返信ありがとうございます。
2回続けて投稿したためスパム判定されたのかもしれません。
該当のトピックスに「管理者へ連絡」のタグを追加しておきました。
一応トピックスのリンクも貼っておきます。
The page you were looking for doesn’t exist.と表示されるよろしくお願いいたします。
フォーラム: 使い方全般
返信が含まれるトピック: The page you were looking for doesn't exist.と表示されるすみません、原因を見つけました。
もう一度WP2のソースコードを見返していて、エラー表示の場所を見て、wp_headで問題が起きているのではと考えました。<!-- ヘッダーここから --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja"> <head profile="http://gmpg.org/xfn/11"> <title>Photo Gallery of gogomitti </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Imagetoolbar" content="no" /> <link rel="stylesheet" href="xxx/WP2/wp-content/themes/gentoki/style.css" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="RSS フィード" href="xxx/WP2/feed/" /> <link rel="pingback" href="xxx/WP2/xmlrpc.php" /> <link rel='stylesheet' id='dashicons-css' href='xxx/WP2/wp-includes/css/dashicons.min.css?ver=4.1' type='text/css' media='all' /> <link rel='stylesheet' id='wp-pointer-css' href='xxx/WP2/wp-includes/css/wp-pointer.min.css?ver=4.1' type='text/css' media='all' /> <link rel='stylesheet' id='wp-pagenavi-css' href='xxx/WP2/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70' type='text/css' media='all' /> <script type="text/javascript"> // <![CDATA[ // ]]> </script> <script type='text/javascript' src='xxx/WP2/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script> <script type='text/javascript' src='xxx/WP2/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> <script type='text/javascript' src='xxx/WP2/wp-content/plugins/lightbox-gallery/js/jquery.colorbox.js?ver=4.1'></script> <script type='text/javascript' src='xxx/WP2/wp-content/plugins/lightbox-gallery/js/jquery.tooltip.js?ver=4.1'></script> <script type='text/javascript' src='xxx/WP2/wp-content/plugins/lightbox-gallery/lightbox-gallery.js?ver=4.1'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="xxx/WP2/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="xxx/WP2/wp-includes/wlwmanifest.xml" /> <link rel='shortlink' href='xxx' /> <link rel="stylesheet" type="text/css" href="xxx/WP2/wp-content/plugins/lightbox-gallery/lightbox-gallery.css" /> <!DOCTYPE html> <html> <head> <title>The page you were looking for doesn't exist (404)</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> body { background-color: #EFEFEF; color: #2E2F30; text-align: center; font-family: arial, sans-serif; margin: 0; } div.dialog { width: 95%; max-width: 33em; margin: 4em auto 0; } div.dialog > div { border: 1px solid #CCC; border-right-color: #999; border-left-color: #999; border-bottom-color: #BBB; border-top: #B00100 solid 4px; border-top-left-radius: 9px; border-top-right-radius: 9px; background-color: white; padding: 7px 12% 0; box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); } h1 { font-size: 100%; color: #730E15; line-height: 1.5em; } div.dialog > p { margin: 0 0 1em; padding: 1em; background-color: #F7F7F7; border: 1px solid #CCC; border-right-color: #999; border-left-color: #999; border-bottom-color: #999; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-color: #DADADA; color: #666; box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); } </style> </head> <body> <!-- This file lives in public/404.html --> <div class="dialog"> <div> <h1>The page you were looking for doesn't exist.</h1> <p>You may have mistyped the address or the page may have moved.</p> </div> <p>If you are the application owner check the logs for more information.</p> </div> </body> </html> <style type='text/css'> #wpadminbar .quicklinks li#wp-admin-bar-stats {height:28px} #wpadminbar .quicklinks li#wp-admin-bar-stats a {height:28px;padding:0} #wpadminbar .quicklinks li#wp-admin-bar-stats a img {padding:4px 11px} </style> <!-- ========== Google Analytics ここから ==========--> ここにGoogle Analyticsコード <!-- ========== Google Analytics ここまで ==========--> </head> <body> ここにサイトのコンテンツ </body> </html>
もう一度プラグイン関係を見直そうとした時に、WP Super Cacheがインストールされていることに気づきました。前回プラグインを全部停止してもエラー表示が消えなかったのですが、おそらくキャッシュのせいだったようです。
WP Super Cache以外のプラグインを全部停止した後、WP Super Cacheのキャッシュ削除を行い、サイトを確認するとエラー表示が消えたので、プラグインを一つずつ有効化→キャッシュ削除→サイトを確認を繰り返したところ、『WordPress Database Backup』が原因だと判明しました。
しかし、WP1、WP3ともにWordPress Database Backupはインストールされており、WP1は有効化になっていましたがエラーは表示されていませんでした。WP1、WP2、WP3のそれぞれのWordPress Database Backupを確認したところ、全て最新バージョンのはずなのですが、それぞれバージョンと作成者が違うことに気付きました…
フォーラム: 使い方全般
返信が含まれるトピック: The page you were looking for doesn't exist.と表示される>mypacecreatorさん
返信ありがとうございます。
焦っていろいろと書き忘れていました。WP2のみ問題が起きています。
コンテンツは正常に表示されており、サイト自体も問題なく動作しているのですが、ヘッダー部分にエラーメッセージが表示されているという状態です。WP1、WP3はそれぞれ自作テーマを使用、どのテーマでも問題なしです。
WP2に使用しているテーマは、gentoki(http://wpgogo.com/development/theme-gentoki.html)を使用し、少しいじられています。
問題のWP2はTwenty Ten~Twenty Fifteenに変更しても、全てにエラーが表示されてしまいます。
新しいWordPressをインストールし、そちらにダウンロードしたままのgetnokiを有効化したところ、何もメッセージは表示されません。私がいじったものではないので、オリジナルのgentokiと見比べてのお話なのですが、修正されているテンプレートは以下のような感じです。
◆header.php:Google Analyticsのコード追加
◆page.php、index.php、single.php:グローバルメニューなどをHTMLで追加
◆footer.php:コードの削除、編集【footer.php gentoki(オリジナル)】 <div id="footer_wrapper"> <div id="footer"> <?php // I am glad you keep the following link. ?> Powered by <a href="http://wpgogo.com/">WordPress Go Go - Gentoki Theme</a><br /> ©Copyright <?php echo date('Y'); ?> <a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a> All Rights Reserved. <?php do_action('wp_footer'); ?> <!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> </div> </div> </body> </html> <?php exit(); ?>
【footer.php 編集されたテーマ】 <div id="footer_wrapper"> <div id="footer"> <address>Copyright © <a href="mailto:<?php bloginfo('admin_email'); ?>">○○○○○</a>, All rights reserved.</address> </div> </div> </div> </div> </body> </html> <?php exit(); ?>
このようになっており、wp_footerが削除されているのが気になったので、オリジナルに戻してみましたが変わりなし。
style.cssのTemplate Name等の情報もオリジナルに戻してみましたが変わりなし。
Google Analyticsのコードを削除しても変わりなしでした。
何か手がかりになる情報があればよいのですが…。