Hi @Jeremy_Jones,
There are at least two problems here. The first is the validation error:
Element ‘{http://pkp.sfu.ca}authors’: This element is not expected. Expected is one of ( {http://pkp.sfu.ca}id, {http://pkp.sfu.ca}title ).
This says that the XML that you’re trying to import doesn’t conform to the specification that OJS expects. At a glance, it looks like it’s missing article ID and title information. I’d suggest checking the XML stylesheet to make sure the document is valid; you can use external tools to validate the XML before trying to import it (which might be a little less cumbersome than using uploads to OJS to validate).
The second problem is a file permission problem:
Warning: move_uploaded_file(/var/www/html/ojs312/uploads/temp/xmlqRWlpE): failed to open stream: Permission denied in /var/www/html/ojs312/lib/pkp/classes/file/FileManager.inc.php on line 122, referer: https://journals/index.php/sample/management/importexport/plugin/NativeImportExportPlugin
This suggests that the permissions in your uploads
directory do not permit OJS to store files there. See How should file permissions be set? for details.
At a glance, I suspect your files_dir
(in config.inc.php
) is configured dangerously – see docs/README
under “Recommended Configuration” for more information about this. It may lead to malicious uploads being used to attack your installation. I would recommend fixing this immediately.
Regards,
Alec Smecher
Public Knowledge Project Team