Skip to Content

Setup drconcierge.org using Drupal Part 2

In this part, we are going to

Setup drconcierge.org using Drupal Part 1

This is a work log on how I setup drconcierge.org.

In this part, we are going to:

Switching from Wordpress to Drupal

  1. Install latest version of drupal
  2. Install wordpress import module, and Chaos tools module
  3. Export the wordpress blog into XML and start importing. Post -> Story, Page->Page and Comment->Comment
  4. copy wp-content folder to drupal dir, so all images/uploaded files still works

Subversion saved credentials

Windows:

C:\Documents and Settings\user\Application Data\Subversion\auth\svn.simple\

C:\Users\user\AppData\Roaming\Subversion\auth\svn.simple\

Linux:

~/.subversion/auth/svn.simple

Delete the file will clean the saved credentials. Then you can login with another account.

Moving large table to another file group

I have a large errorlog table in my database, with 2M records and 1GB data. I'd like to create a standalone file group for the error log. I tried to use management studio to modify the table, but it's timeout. So I have to do it manually. I'm sure there's better way to do this, but here's my note which works:

perl: warning: Setting locale failed

This error message happens after I did an upgrade to Debian 5.0 (lenny)

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
dpkg-reconfigure locales

Then choose en_US.UTF-8 and it's fixed.

Pentaho Kettle database cache

Sometimes when you changed a table design, in kettle you clicked "get fields", and it still loading the old design, then it's time to clean the DB cache.

The answer to “Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?”

This morning I'd read an article with the title: “Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?”, and I think I may have some opinions on this kind of topic.

Please discuss the following questions with the website owner or business owner first

  1. What is your budget and dead line for this website project?
  2. How many developers/designers involved ?

If there's system architect, ask the following questions

Replacing text in multiple files

I need to replace an IP address for a sever switch, here's the command for it: find . -name "*.php" -print | xargs sed -i 's/192.168.0.10/192.168.0.11/'

Install function list plugin for notepad++ 5.4

I'd been using notepad++ since 3.x, function list is one of my favorite feature. However when I upgrade to recent version, the function list plugin v2.0 requires extra step to install on Vista.

  1. download FunctionList_2_0_UNI_dll.zip
  2. copy FunctionList.dll to c:\program files\Notepad++\plugins
  3. copy C++.flb and FunctionListRules.xml to C:\Users\username\AppData\Roaming\Notepad++\plugins\config Note: change the "username" to your login user name
Syndicate content