I have a development site and a production site on the same server.
In the development site, I can import an XML file.
The same file that I imported in the Development site, I cannot import in the production site.
The only feedback is:
Validation errors:
- The document has no document element.
There are no errors in the console log.
But in the error_log from PHP I got this:
[05-Mar-2018 11:38:12 Europe/Belgrade] PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in C:\inetpub\wwwroot\Newsletter\CEDEX\plugins\importexport\native\NativeImportExportPlugin.inc.php on line 133
[05-Mar-2018 11:38:12 Europe/Belgrade] PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\Newsletter\CEDEX\plugins\importexport\native\NativeImportExportPlugin.inc.php on line 134
[05-Mar-2018 11:38:12 Europe/Belgrade] PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in C:\inetpub\wwwroot\Newsletter\CEDEX\lib\pkp\classes\xslt\XMLTypeDescription.inc.php on line 120
In fact, i had copied the same native
folder of the plugin, from the development site to the production site…
It is not a problem with the XML file, it works on the development site.
How can I debug this?