cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

After successfully run settings migration

php bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml --auto

 

then I try to execute data migration :

 

php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml --auto

 

getting following error

 

In ErrorHandler.php line 61:

Warning: DOMDocument::loadXML(): Empty string supplied as input in /usr/sha
re/nginx/html/giriusa/lib/internal/Magento/Framework/Config/Dom.php on line 451

Screenshot: https://snipboard.io/dXy058.jpg

Config.xml: https://justpaste.it/4ypb4

14 REPLIES 14

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

Hi @Aveeva ,

 

Can you try running your command like this:

php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml --reset --auto

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

@Nishu Jindal  If i run following command

php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml --reset --auto

 

i getting this error

 

In ErrorHandler.php line 61:

Warning: DOMDocument::loadXML(): Empty string supplied as input in /usr/sha
re/nginx/html/giriusa/lib/internal/Magento/Framework/Config/Dom.php on line
451

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

Hi @Aveeva ,

 

After settings migration, did you try to access your magento 2 store and checked whether you are able to access frontend and backend successfully or not.

 

Please check once and if you face any issue in that, try to take backup of core_config_data and do the changes for secure/unsecure url and cookies.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

@Nishu Jindal  Frontend working, backend issue.

 

Screenshot : https://snipboard.io/wx3rks.jpg

 

Database Screenshot : https://snipboard.io/S84Ppk.jpg

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

@Nishu Jindal  Backend also works, small permission error, i solved it. Still, data migration not loading, same error.

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

@Nishu Jindal  

[root@centos-4cpu-8gb-uk-lon1 test]# php bin/magento migrate:data vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.2.3/config.xml --reset --auto

In ErrorHandler.php line 61:
  Warning: DOMDocument::loadXML(): Empty string supplied as input in /usr/sha
  re/nginx/html/giriusa/lib/internal/Magento/Framework/Config/Dom.php on line
   4510

Any help with this error? 

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

Hi @Aveeva ,

 

May I know any specific reason for which you are using --auto way instead of manually solving all the errors and warnings manually in map.xml 

 

I worked with that way and it worked for me smoothly. 

 

Thanks!

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

@Nishu Jindal  No any specific reason, magento docs show use --auto, that's what i am using, any better way to run this?

Re: Magento 2.3.5-p1 - data Migration DOMDocument::loadXML(): Empty string

Hi @Aveeva , 

 

You can run the data migration command without --auto or --reset 

And for issues which you will face please refer below link:

https://www.goivvy.com/blog/magento-2-migration

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!