- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used the provided command as below to setup migration:
==========================================
magento migrate:settings ~/www/shopping/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml
And I get the error message as below:
=========================
[Magento\Framework\Config\Dom\ValidationException]
Extra content at the end of the document
Line: 151
I try to find the noticed file, and it only have 14 lines as below:
===============================
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * \Exception that should be thrown by DOM model when incoming xml is not valid. */ namespace Magento\Framework\Config\Dom; class ValidationException extends \InvalidArgumentException { }
---------------------------------------------------------
Anyone knows what happened? and how can I fix it?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to check at below file location,
www/shopping/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml
Check at specified line location and check extra space is given then remove it and save file.\
Run again migration command.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to check at below file location,
www/shopping/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml
Check at specified line location and check extra space is given then remove it and save file.\
Run again migration command.
Magento 2 Blogs/Tutorial