Snowfalls

How to Export Local WordPress 3.0

Posted on: July 30, 2010

When I am trying to export my data from localhost I get these errors:

Warning: strip_tags() expects parameter 1 to be string, array given in C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-includes\formatting.php on line 2773

Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-includes\formatting.php:2773) in C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-admin\includes\export.php on line 44

Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-includes\formatting.php:2773) in C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-admin\includes\export.php on line 45

Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wordpress-3.0\wordpress\wp-includes\formatting.php:2773)

After doing some research about the problems, I found that the export.php must be changed (upgraded) into this one:

http://core.trac.wordpress.org/browser/branches/3.0/wp-admin/export.php

After finished download the file, you should put it in your local wp-admin directory, and replace your old existing file, and try to do the export again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: