I am trying to export one site (quite small) from one matrix install to another. The installs are on different servers and are different versions. So it is from a 3.16.3 > 3.22.1. The export seems to run fine. I do get a couple of php errors during the export that say:
Then when I try and import it on the new install i just get:
XML Error: not well-formed (invalid token)
How do I tell where the problem is? I opened the XML file in IE which gave me where some problems where but when I removed these i still got the same error. Is there are way to tell where the problem would be, or is it a different issue?
I had this problem once. What I did was opened the file (about 250,000 lines) in a program that does code highlighting, I used dreamweaver. And I could see the problem right off, since the highlighting was broken about half way through the file. For me, it was some strange spaces in one of the XML tags.
Thanks, found the issue I think it was some html comments that it didn't like.
[quote]I had this problem once. What I did was opened the file (about 250,000 lines) in a program that does code highlighting, I used dreamweaver. And I could see the problem right off, since the highlighting was broken about half way through the file. For me, it was some strange spaces in one of the XML tags.
I am trying to export one site (quite small) from one matrix install to another. The installs are on different servers and are different versions. So it is from a 3.16.3 > 3.22.1. The export seems to run fine. I do get a couple of php errors during the export
…
Then when I try and import it on the new install i just get:
XML Error: not well-formed (invalid token)
[/quote]
It would be worth investigating the export issues in case there is something that isn't hitting the XML import file which may be required by the destination system.
Generally I would recommend exporting and importing from similar versions, as there may be new attributes or structures in the later release that won't be imported from the earlier release. Please verify the results carefully as these scripts are not supported for such content migrations.