I am currently migration a system between servers, I have created a new install of OJS 2.4.8. From my understanding the origin server was running the same version.
When trying to import the XML files for the articles I get the following error.
An article title was missing for the issue "Vol 4, No 1 (1985)" in the section "Subject Terminology". Please ensure that the XML document conforms to the appropriate DTD, and that a title has been supplied for the journal's locale.
How do I go about looking for the cause and fixing it?
Regards
Nardus
In OJS 2.4.8, each article element should have at least one title element.
The error message indicates that a title element with a locale attribute matching the journal’s default locale could not be found.
If you open the XML file and look at each article within the issue “Vol 4, No 1 (1985)” under the section “Subject Terminology”, do they all have titles? If they all have titles, what locales are referenced for each title?
Thank you very much. One of the export files a received is over 400MB, importing that through the web interface will be problematic, do you have a cli import tool?
Your parameters look correct for the import file, “journal_path” to be determined, and a user of “tcd-ecs”.
The journal path is the journal’s “short name”. It is configured under User Home → Site Administrator → Hosted Journals → Edit → Path. It probably appears in the URL as: http://hostname.tld/ojs/index.php/journalpath/index/
Be sure to run the command as your webserver user to ensure any files imported are written with the permissions of the web user. This will also mean that your web user will need access to read the source xml file.