Developer OneNote

Emma's OneNote for Microsoft Windows, Office and Programming

Tag: WordPress

WordPress 3.0 Cannot Export

18 June, 2010 | Category: Windows

WordPress 3.0 is finally released with some great new features.

I just upgraded my site to 3.0 today. The upgrade was smooth, however, I find that export doesn’t work any more. When I try to push export button to download posts xml file locally, I get following error.

Warning: Illegal offset type in isset or empty in /home/content/22/5401722/html/wp-includes/taxonomy.php on line 176
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line44
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line45
Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/5401722/html/wp-includes/taxonomy.php:176) in /home/content/22/5401722/html/wp-admin/includes/export.php on line46

WordPress FAQ suggests checking spaces in wp-config.php and remove blank spaces before <?php tag or after ?> tag, I try and it does not help.

After trying deactivate on every single plug-in, I figure out it’s the plug-in Simple Tags that breaks WordPress 3.0 new export feature. Before Simple Tags owner releasing a fix, you can temp workaround this issue by deactivating Simple Tags plugin. After that, you will be able to get exported xml file to save.

WordPress 3.0 Beta 2 Released

7 May, 2010 | Category: Productivity Tools

WordPress team has announced WordPress 3.0 beta 2 is shipped. It seems that release candidate will be coming very soon.

Things to test in 3.0 beta 2

  • Revised menu user interface
  • Changes to the WordPress exporter and importer to make it more flexible

WordPress 3.0 changes

Check out my previous post WordPress 3.0 Features. I will keep updating there.

Note: it’s recommended not try beta version WordPress on production site.

WordPress Keyword Description

24 April, 2010 | Category: Tutorial

In most of WordPress themes, there is not meta description and meta keywords handle. This result every page of site has a empty description and keyword in page header, which is not good from search engine’s perspective.

This can be workaround by installing plug All in One SEO. But for those who concern plugin will slow down their sites, here is a simple hack, all needs to do here is just adding a few lines in header.php.

Firstly open header.php, find this line <meta http-equiv=”content-type” content=”text/html; charset=<?php bloginfo(‘charset’); ?>” />

Read more »

WordPress 3.0 Features

1 April, 2010 | Category: Productivity Tools

WordPress 3.0 has a few great new features and improvement.

Ability to Choose Username When Installing WordPress

In previous version WordPress, default username for Admin is hard coded as admin. In WordPress 3.0, this secure hole is fixed, default user name can be customized when you install WordPress.

image

Read more »

Forget WordPress Admin Password

14 March, 2010 | Category: Tips and Tricks, Tutorial

After setup local WordPress environment, WordPress will generate a password for admin logon. The password is so strong that forget the password can easily happen. The easiest way to get admin password back is reset it again in database.

Here is the SQL command that will do it:

UPDATE ‘wp_users’ SET ‘user_pass’ = MD5(‘PASSWORD‘) WHERE ‘user_login’ =’admin’ LIMIT 1;

Note you need update red PASSWORD to the real password you want reset.

After the command succeeds, you will be able to login to WordPress with new password.

Install Local WordPress Environment on Windows

13 March, 2010 | Category: Tutorial

WordPress is one of most popular blog applications. This application is very easy to use however setup a local environment for theme or plugin development on windows system is not that easy for bloggers. In this post, I will walk thru you how to setup local WordPress environment using Microsoft Web Platform Installer 2.0 with just a few clicks. (I am using 64bit Windows 7 in this tutorial but same steps work windows server 2008 as well)

Read more »