Export and import data from ojs 3.1.1.4 to 3.2.1.1

hi

when I try to export and import data from OJS 3.1.1.4 to 3.2.1.1 then I’m facing these errors,

any solution

Validation errors:

Hi @Rohaan123,

The OJS 3.1.1-4 and 3.2.1-1 XML formats are not 100% compatible; they evolve between releases. You’ll either need to adapt your XML to suit the requirements of the 3.2.1-1 installation, or you’ll need to make sure you’re importing into the same version of OJS that you exported from.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi, asmecher

We are trying to import articles and numbers from a 3.2.1.1 OJS to another 3.2.1.1 OJS. So it should work without problems, but when we export the number, we obtain this message:

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : DOMElement::setAttribute() expects parameter 2 to be string, array given in /aplicativos/home/encuentr/public_html/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89

Warning : finfo_open(/etc/magic.mime): failed to open stream: No existe el fichero o el directorio in /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php on line 318

Warning : finfo_open(/etc/magic.mime): failed to open stream: No existe el fichero o el directorio in /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php on line 318

Warning : finfo_open(): Failed to load magic database at ‘/etc/magic.mime’. in /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php on line 318

Warning : Cannot modify header information - headers already sent by (output started at /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php:318) in /aplicativos/home/encuentr/public_html/lib/pkp/classes/file/FileManager.inc.php on line 272

Warning : Cannot modify header information - headers already sent by (output started at /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php:318) in /aplicativos/home/encuentr/public_html/lib/pkp/classes/file/FileManager.inc.php on line 273

Warning : Cannot modify header information - headers already sent by (output started at /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php:318) in /aplicativos/home/encuentr/public_html/lib/pkp/classes/file/FileManager.inc.php on line 274

Warning : Cannot modify header information - headers already sent by (output started at /aplicativos/home/encuentr/public_html/lib/pkp/classes/core/PKPString.inc.php:318) in /aplicativos/home/encuentr/public_html/lib/pkp/classes/file/FileManager.inc.php on line 275

Also, if we export single articles, when we try to import the xml file wiht the Import/Export Native XML plugin, we obtain this message:

"## Errores de validación:

  • Extra content at the end of the document
  • The document has no document element."

Any help?.I don´t know how to send you the xml file (article and issue).

Thank you very much

Cross-posted: Fallos al exportar xml nativo OJS 3.2.1.1

@ronda, it’s best to pick one place to post a question; I’ll close this thread and leave the other one open.

Thanks,
Alec Smecher
Public Knowledge Project Team