Page 1 of 1

failed to import issues, xmlreader.read Document is empty

Posted: 24 Dec 2016, 22:34
by slabo
Hi,

I'm running a fresh install of MantisBT. I can't import any issues using the Csv-import plugin. The CSV file I used is the same from View Issues, then [CSV Export]. I also tried deleting the first line and using a file without any headers, nothing happens. I tried from to different computers, MACos and Windows, in the hope it's an installation issue.

Simply not getting anywhere, I just get this error message every time I try to import from CSV.

Code: Select all

'XMLReader::read() [xmlreader.read]: /Applications/AMPPS/tmp/php/phpsHHqWx:1: parser error : Document is empty' in '/Applications/AMPPS/www/mantis/plugins/XmlImportExport/ImportXml.php' line 141
Any help appreciated, thanks...

Re: failed to import issues, xmlreader.read Document is empt

Posted: 25 Dec 2016, 17:53
by atrol
slabo wrote:I can't import any issues using the Csv-import plugin
CSV import plugin?
Your error message shows that you are using the XmlImportExport plugin which is not able to import CSV files.

Re: failed to import issues, xmlreader.read Document is empt

Posted: 27 Dec 2016, 22:41
by slabo
Thanks. I was trying to install Csv_import but had the plugin folder named as Csv-import. By some measure of absentmindedness I thought I install that instead of xmlimport. Don't know how I got that one anyway.
thanks.