Jump to:

327 Posts in 212 Topics by 159 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Need help Importing from Wordpress

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

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

Page: 1
Go to End
Author Topic: 1658 Views
  • Rhyous
    Avatar
    Community Member
    7 Posts

    Need help Importing from Wordpress Link to this post

    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 http://svn.silverstripe.com/open/modules/wordpressimport/trunk

    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.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Need help Importing from Wordpress Link to this post

    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?

  • Rhyous
    Avatar
    Community Member
    7 Posts

    Re: Need help Importing from Wordpress Link to this post

    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 192.168.0.49] 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: http://192.168.0.42/silverstripe/WpImporter_Controller/index/15

    This is a starting point.

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Need help Importing from Wordpress Link to this post

    setValue() doesn't appear in the API (http://www.php.net/manual/en/class.simplexmlelement.php) I guess it should use addValue() or addAttribute rather than set

    1658 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.