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. 許多綱站都共用牠的頭像服務.

*留言
*名
電郵地址
網站
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.

回覆