LH Yeung.net Blog - AniGames


Blog Up and Running Again

ブログ

Blog Up and Running Again

申し訳ありませんが、この記事は和訳がございません。

Finally my blog is back and running again after almost a whole week of being down. My web host wasn't much help as with my previous host - both blaming bad coding on my site or even more ridiculously, my computer.

"Websites run off a server which in this case is located with your company. How can it be my computer?" No response from their support staff of course.

Before I started paying for private hosting, I noticed that nearly all web hosting ratings were brought down because the reviewers complained that when things go wrong, the hosting company's support isn't much help. I thought it was a bit harsh of the reviewers at first but now I'm beginning to think it's true.

Anyway, I don't know what happened but this sub site suddenly decided to stop working a few days ago and only displayed everything as a blank page. All I was doing was writing a post as usual. And to make matters worse, there were no error messages in the logs to help out and the web host stopped running any kind of PHP script too. They all came up as blank pages only and only old HTML was still working. This meant even when I tried to re-install the Wordpress scripts that power my blog, it still wouldn't work at all.

In the end, I managed to come up with my own solution. I...

  1. Reset my hosting space.
  2. Exported the wp_posts, wp_comments and wp_terms tables from the database.
  3. Dropped (i.e. deleted) all the tables from the database.
  4. Re-installed Wordpress.
  5. Imported all the tables to restore my blog's posts, categories, comments and tags.

I really should just spend time developing my own CMS so at least then I know my own code instead of being overly-dependant on pre-written material.

In the meantime, lets hope I don't have to do this all over again even though I've made a habit of backing up everything on the hosting space.

downtime hosting

少し休憩いたしませんか?

もしご連絡しても宜しければメールアドレスもご入力下さい。迷惑会社- いや… 第三者等に提供することもしないのでご安心を。

アバターはGravatar.comにアップロードすればここで表示いたしいます。Gravatar.comは人気なアバター保存サービスで、多くのサイトにご使用されています。

*コメント
*お名前
メールアドレス
サイト
Captcha What is 1 + 2?
 
#1

Maaya


>_<! I remember reading your twitter when it went down. Glad to see this back up =)!

developing your own CMS sounds really time consuming! Is it worth it =(?

返事する

#2

LHY 作者


It is time consuming but it's probably worth it if you want the site to run the way you want it to instead of waiting for someone to write the code you need. Easier to fix anything that breaks too.

返事する