- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
02:30 PM
02-19-2019
02:30 PM
Magento 1 to Magento 2 upgrade issue
Hello,
I am having an issue with upgrading Magento 1.7 to 2.1.
I have installed the data migration tool and created the config file as per the Magento guidelines however I get an error when trying to execute the migration command.
This is the error:
[Magento\Framework\Config\Dom\ValidationException] Extra content at the end of the document Line: 4
This is the config file contents:
<source> <database host="xx.xx.xx.x" name="magento_test" user="magento_test"/> </source> <destination> <database host="localhost" name="magento_test" user="magento_test"/> </destination> <options> <crypt_key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</crypt_key> </options>
There is no extra space after the destination tag, I have even tried putting all on one line and still gives the same extra content error.
Could I get some guidance on where I am going wrong please as the layout matches the example on the dev.magento site.
Thanks
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019
08:16 AM
03-25-2019
08:16 AM
Re: Magento 1 to Magento 2 upgrade issue
Hello @christopher_cre,
You need to copy the file config.xml.dist to config.xml (keep the content), and only edit the source and destination database credentials.
Source: Configuring the migration