I am trying to use the import/export plugin on OJS. Specifically, I am trying to export information about an article to an XML file. I went into the directory, "ojs/tools". I typed, "php importExport.php NativeImportExportPlugin export test.xml /digipub/apache/apache-2.0.59/htdocs-insectscience/ojs article 3800". I received the following error message.
The specified journal path, "/digipub/apache/apache-2.0.59/htdocs-insectscience/ojs", does not exist.
I read that the proper syntax was, "php importExport.php NativeImportExportPlugin export [xmlFileName] [journal_path] article [articleId]". I was trying to create an XML file called, "test.xml", and I was trying export information about an article with the ID number of 3800. The full address for the "ojs" directory is "/digipub/apache/apache-2.0.59/htdocs-insectscience/ojs". I thought this would be what would go in [journal_path], but the system is claiming this is not a valid journal path.
I thought that perhaps the journal path was instead the directory in which articles are saved. On my system, that directory is "/digipub/apache/apache-2.0.59/uploads-insectscience/journals/1/articles". However, when I type that path, I get a similar error message. Specifically, I typed, "php importExport.php NativeImportExportPlugin export test.xml /digipub/apache/apache-2.0.59/uploads-insectscience/journals/1/articles article 3800". I received the following error message.
The specified journal path, "/digipub/apache/apache-2.0.59/uploads-insectscience/journals/1/articles", does not exist.
I would appreciate your help. It appears that there is a problem with my syntax when I try to use the import/export plugin from the command line.