データの復旧
-
wordpressサイトについて、どうしても自分ではどうにもならなくなってしまったのでご相談します。
ロリポップのサーバーでwordpressサイトを運営しています。
メインサイトとは別に新しくドメインを取ったので、データベースを作ろうとしたところ、
メインサイトのデータベースに上書きをしてしまいました。
そこでPHPmyadminにログインしたところ、メインサイトはwp_としてデータが残っていました。
そして新しくデータベースを作ろうと思ったものがwp1_となっておりました。
そこで、検索して出て来た記事「http://www.pondad.com/?p=5897」や、
「http://tomonotecho.com/?p=2734」を参考に同じ事を行ってみましたが、元に戻りませんでした。
とりあえず不要なファイルを消せばなんとかなるのでは?と思い、
データベース上の「wp1_」の付くデータを全て削除致しました。が、真っ白なページが表示されるだけでした。
サイトはwpというフォルダの中で作っておりましたnおで、試しに「http://○○/wp/」にアクセスしてみると、サイトが表示され「お探しの記事はありません」となりました。
そこから他のメニューを押しても繋がらず。
FTPの方に不要なデータがあるからでは?と思い、よくよく見てみると、wpフォルダの中にあるファイル(wp_config等)と同じものが親ディレクトリにもあったので、重複しているものを全て削除してしまいました。
その後、いよいよサイトは表示されなくなり403エラー。wordpressの管理ページにはログインできていたものもできなくなり、「お探しの記事はありません」という表記。
始めからやり直そうと思い、FTPにあるデータを全て消しデータベースを上書きし、
今度はwp3_という接頭になっていたところをwp_に直してみましたが何も変わりませんでした。
データベースを確認すると「wp_posts」にはデータが残っているので記事は消えていないと思います。
またwpというフォルダ(wrdpressの入っているフォルダ)の中もいじってはいないので、テーマのデータ等消えていないとは思います。
ですがここからどうやって元通りにすれば良いのか、全くわかりません。http://○○/wp/にアクセスした際に表示されるエラーは以下です。
Notice: Constant EZSQL_VERSION already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/db.php on line 43
Notice: Constant object already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/db.php on line 48
Notice: Constant OBJECT_K already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/db.php on line 53
Notice: Constant ARRAY_A already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/db.php on line 58
Notice: Constant ARRAY_N already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/db.php on line 63
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 214
Notice: Constant EZSQL_VERSION already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 43
Notice: Constant object already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 48
Notice: Constant OBJECT_K already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 53
Notice: Constant ARRAY_A already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 58
Notice: Constant ARRAY_N already defined in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 63
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/db-cache-reloaded-fix/db-cache-reloaded.php on line 91
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/exec-php.php on line 22
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/manager.php on line 36
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/manager.php on line 37
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/manager.php on line 38
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/manager.php on line 39
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 53
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 56
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 57
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 63
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 64
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/admin.php on line 79
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/cache.php on line 22
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/cache.php on line 39
Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/exec-php/includes/ajax.php on line 64
Notice: Undefined index: statpress_action in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 15
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-includes/functions.php on line 2908
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-includes/functions.php on line 2908
Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-includes/functions.php on line 2908
Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-includes/functions.php on line 2908
Notice: load_plugin_textdomain の使用はバージョン 2.7 から非推奨になりました。代替は用意されていません。 in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-includes/functions.php on line 3008
Deprecated: Function eregi() is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1719
Deprecated: Function eregi() is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1723
Deprecated: Function eregi() is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1727
Deprecated: Function eregi() is deprecated in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1731
Notice: Undefined offset: 1 in /home/users/1/lolipop.jp-325509a0903d350a/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1766
色々と検索をしてみましたが解決せず、こちらで質問するに至った次第です。
よろしければ助言をお願いしたいと思います。
何卒宜しくお願い申し上げます。
- トピック「データの復旧」には新たに返信することはできません。