Support forums

Please check @brandnewbox_uk for support status updates.

Search     Advanced Search
XML Imports via File Path fail with error  
Posted: 20 July 2018 10:04 PM —  
Newbie
Rank
Total Posts:  3
Joined  2017-08-25

Error: Cannot open file/url: c:\imports\sm.xml

I have been importing using csv from the same folder location without any issues.


ExpressionEngine: 3.5.16
DataGrab: 2.0.2

Same error after updating to DataGrab 3.0.2

Thanks

This is the XML I am using….to test

<?xml version=“1.0” encoding=“UTF-8” standalone=“yes”?>
<root>
<entry>
  <id>A</id>
  <title>Dummy 1</title>
  <date>1973-12-11 13:00:00</date>
  <summary>Adds a related field</summary>
</entry>
<entry>
  <id>B</id>
  <title>Dummy 2</title>
  <date>1973-11-04 23:59:00</date>
  <summary>Adds another related field</summary>
</entry>
</root>

Profile
 
Posted: 26 July 2018 08:34 AM —   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1353
Joined  2006-04-12

Hi,

Apologies for not getting back sooner.

If you are using the same location for CSV imports that should be ok.

The XML path you need to use should be: /root/entry

Andrew

Profile
 

‹‹ Proper syntax for importing dozens of text pairs into one Matrix field?      Rows ignored on import due to image filename not in system ››

Select A Theme