Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Need help Importing from Wordpress

Go to End

4 Posts   2268 Views


Community Member, 7 Posts

4 September 2010 at 6:43pm

Edited: 04/09/2010 6:44pm

Hey all,

I installed SilverStripe and have chosen to eventually move to it. See this post.

I read about Wordpress Importer and installed it from SVN.
svn checkout

I exported my Wordpress site to xml.

I then logged into the admin page and started an import.

It says it is processing, but really, two hours later, could it really be processing still? It looks hung up to me or like it is not doing anything.

Any ideas would be great!

Any links to documentation would be great. There Readme had a link but when I went there, it says the doc doesn't exist.


Forum Moderator, 5523 Posts

4 September 2010 at 7:19pm

That extension from the looks of it hasn't been updated for a couple of years so its likely that it hasn't been keep up to date with the Wordpress model or SilverStripe.

You might want to email the module owner (its in the readme file) to see what the best way to go forward is. You don't get any errors to your PHP error log when running it do you?


Community Member, 7 Posts

5 September 2010 at 4:29am

Thanks for the help.

FreeBSD with Apache and PHP, PHP dumps its logs to /etc/httpd-error.log by default.

It does cause an error, but just one single line. Here is the error:

[Sat Sep 04 10:14:59 2010] [error] [client] PHP Fatal error: Call to undefined method SimpleXMLElement::setValue() in /usr/local/www/apache22/data/silverstripe/sapphire/core/model/DataObject.php on line 1014, referer:

This is a starting point.


Forum Moderator, 5523 Posts

5 September 2010 at 9:31am

setValue() doesn't appear in the API ( I guess it should use addValue() or addAttribute rather than set