Mochabomb

Web Design and Technical notes

Mochabomb header image 2

Worpdress upgrade notes

December 9th, 2006 2:49 am · No Comments

Cygwin is installed on this system, thus the command line work. You can do this with the command console perhaps, but I have never seen the value of learning the windows command line when unix is more mature and stable (since the late 1960’s).

1] Backup the database:
Format: `mysqldump -u -p -h > `

# mysqldump -u wpuser -pDBpass wordpress2 > wordpress-dec12.sql

2] Copy the entire wordpress folder in windows to another place as a backup.

3] Copy the zip file from here to somewhere and copy the files (not dirs) over by clicking away

4] The diff file works, but the ACL’s get broken.

# patch -p0 --dry-run < patchfile.diff

If the dry run looks good - no error/log messages then run w/o the `–dry-run` flag.

# patch -p0 < patchfile.diff

5] Added the andyblue theme and edited left-sidebar.php to include `optioncount=1` in the line that looks like this:

< ?php wp_list_cats('sort_column=name&optioncount=1&children=1'); ?>
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Tags: Cygwin Linux · MySQL · Wordpress

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment