Results for solution

Itune Install Error - Simple Solution

Posted April 5th, 2009 by eric

I think I am not the only poor soul to meet this problem. OK, if you have seen

There is a problem with this windows Installer package,
A program run as part of the setup did not finish as
expected. Contact your support personnel or package
vendor.

then, you know what I am talking about. After downloading the Apple Itune package, I just can not install it. So stupid. Quick way to fix:

Control Panel -> Uninstall your QuickTime.

Yes, unintall your QuickTime not the Itune. Then you give it shot, you now should be able to install the new version of Itune.

wordpress similar posts error fix

Posted October 1st, 2008 by eric

if you get an error like this when you turn on the similar post plugin

Error activating similar-posts/similar-posts.php for blog id=xxxxxx:
Warning: array_flip() [function.array-flip]: The argument should be an array in /home/your-domain/public_html/my/wp-content/plugins/similar-posts/similar-posts.php on line 572

then please check your line 572.

The solution is easy:

$overusedwords = array_flip((array)$overusedwords);

just put (array) over there.

Wordpress export problem, solution and instruction

Posted September 28th, 2008 by eric

As you may aware, when your xml size is over 2M, wordpress may encounter certain difficulties of importing and exporting. This site has over 300 posts and the size of xml is more than 2M. So how I could do the backup option?

1. Of coz, back up your database.

2. Let us work on the portable file - xml. Try export file in the manage page, see if it can sucesfully download the file. If you get 0 bit size file, then you are in trouble.

3. Do not worry. As you may see, you have options to export by different authors. So the way is to use authoer id as a filter to export file. You can export files and do some dirty works at database site, but if you want to have a clean xml file to easy transport so somewhere else, you may wanna follwo this instruction.

4. create several other blog users and record their blog user id. You can see that in your database table. Then you have to assign posts to different id and try to evenly distributed to each one, then you are lowing the chance to get big size file. Two ways to assign user a) front end, assign one by one, then you do not need to even tough the database. Man, this will take really long time and patience to do this job. b) database. Just update the user_id of the post table, limit with certain number, like 200.

5. export posts by id one by one. Now you should successfully export smaller size xml files.

6. import one by one and merge to the same bloger user id as you want.

Now, mission accomplished. This one is guaranteed to work. I have done this job on this blog.

Just found, actually there are some memory issue. What you may wanna do is to increase your memory allocated to your site.  Please refere to http://my.textjourney.com/eric/2008/09/30/wordpress-memory-exhaust-problem/ This will tell you how.