Hi,

Now that I have a fresh install Midgard 1.8.6 up and running, I am trying to migrate the content from an existing install running 1.7.6 on a different server. I am using exorcist and have followed the examples in staging2live.xml to export the content from my old server into a zip file and then import the zip file into the new server. The export seemed to work just fine, but when I try to import the file, I get the following
errors:

INFO: Reading content state file export.zip
[Fatal Error] :4:1: Content is not allowed in prolog.
net.sf.exorcist.api.ContentException: java.io.IOException: Content is not allowed in prolog. at net.sf.exorcist.midgard.MidgardImporter.importContent(MidgardImporter.java:447)
  at net.sf.exorcist.core.Exorcist.main(Exorcist.java:127)
Caused by: java.io.IOException: Content is not allowed in prolog.
  at net.sf.exorcist.midgard.DOMWalker.<init>(DOMWalker.java:70)
at net.sf.exorcist.midgard.MidgardImporter.importContent(MidgardImporter.java:404)
  ...1 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at javax.xml.parsers.DocumentBuilder.parse(libgcj.so.7rh)
  at net.sf.exorcist.midgard.DOMWalker.<init>(DOMWalker.java:65)
  ...2 more

I don't know what the prolog is, so I'm not sure what content it's referring to, and I'm not sure where the source is for the MidgardImporter, so I can't really see what it is doing. Any ideas what the problem might be ?

Is this the best approach to getting my content moved from one server to another ?

Thanks.

Martin
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to