[OJS 3.1.2.1] Crossref DOI fail

When I go into the setting/website/plugins/crossref xml crossref plugin/import export data
Then select the articles tab
Then select the article I want to submit
Then go to the bottom of the page and click on deposit

I get this error:
Registration was not fully successful! The DOI registration server returned an error.

When I click on failed status at the top of the screen in the same line as the article I am trying to submit I get this message:
{“status”:“error”,“message-type”:“route-not-found”,“message-version”:“1.0.0”,“message”:“Route not found”}

The error log under public html gives me this warning:
[28-Aug-2019 15:20:40 UTC] PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in /home/clutejournals/public_html/plugins/importexport/crossref/CrossRefExportPlugin.inc.php on line 321

We are using OJS 3.1.2.1

I have also contacted crossref and they believe the Issue is with something in OJS.

Any help would be greatly appreciated.

Thank you,

Justin Hoffman

1 Like

Can you download the article XML instead of submitting it, and share that XML here? If the XML is empty, look in your error log for other messages near that PHP warning.

Hello, im new here, i got one question, how many times can i “assign the DOI again”??

Hi, @angelu_tp. Since this question is different than the original question about the above Crossref error message, can you post it in a new thread?

Here is the xml that downloads from the crossref plugin

<?xml version="1.0" encoding="utf-8"?>

<doi_batch xmlns=“http://www.crossref.org/schema/4.3.6” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:jats=“http://www.ncbi.nlm.nih.gov/JATS1” xmlns:ai=“http://www.crossref.org/AccessIndicators.xsd” version=“4.3.6” xsi:schemaLocation=“http://www.crossref.org/schema/4.3.6 https://www.crossref.org/schemas/crossref4.3.6.xsd”>

_1567024524 1567024524 Clute Institute it@cluteinstitute.com Clute Institute American Journal of Business Education (AJBE) AJBE 1942-2512 1942-2504 08 26 2019 12 2 Analyzing Big Data with Benford’s Law: A Lesson for the Classroom Susan W. Lanham Most literature related to Benford’s Law discusses what the law can be used for and how it works but fails to address effective methods and procedures for teaching the law to students. This article examines existing information resources to determine the most effective methods and procedures used to explain this Law to those who have no experience with it. A contribution to knowledge is made by providing step by step instructional approaches for teaching Benford’s Law to students that are tied to existing literature. Benford’s Law is a fascinating lesson for students who have been exposed to statistical and mathematical concepts for as long as they can remember yet know nothing of the law’s existence. This lesson is suitable for any introductory statistics or mathematics course where students are learning about probability. The Law has a practical application in the field of business and can also be taught as part of a fraud examination, data analytics, or auditing course. 04 01 2019 33 42 10.19030/ajbe.v12i2.10285 https://clutejournals.com/index.php/AJBE/article/view/10285 https://clutejournals.com/index.php/AJBE/article/download/10285/10338 https://clutejournals.com/index.php/AJBE/article/download/10285/10338

Here is the xml, sorry I had to remove some of the brackets to show you the xml. I noted what I changed.

<?xml version="1.0" encoding="utf-8"?>
<doi_batch xmlns="http://www.crossref.org/schema/4.3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1" xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" version="4.3.6" xsi:schemaLocation="http://www.crossref.org/schema/4.3.6 https://www.crossref.org/schemas/crossref4.3.6.xsd">
<head>
    <doi_batch_id>_1567024524</doi_batch_id>
    <timestamp>1567024524</timestamp>
    <depositor>
      <depositor_name>Clute Institute</depositor_name>
      <email_address>it@cluteinstitute.com</email_address>
    </depositor>
    <registrant>Clute Institute</registrant>
</head>
<body>
    <journal>
      <journal_metadata>
        <full_title>American Journal of Business Education (AJBE)</full_title>
        <abbrev_title>AJBE</abbrev_title>
        <issn media_type="electronic">1942-2512</issn>
        <issn media_type="print">1942-2504</issn>
      </journal_metadata>
      <journal_issue>
        <publication_date media_type="online">
          <month>08</month>
          <day>26</day>
          <year>2019</year>
        </publication_date>
        <journal_volume>
          <volume>12</volume>
        </journal_volume>
        <issue>2</issue>
      </journal_issue>
      <journal_article xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1" publication_type="full_text" metadata_distribution_opts="any">
        <titles>
          <title>Analyzing Big Data with Benford’s Law: A Lesson for the Classroom</title>
        </titles>
        <contributors>
          <person_name contributor_role="author" sequence="first">
            <given_name>Susan</given_name>
            <surname>W. Lanham</surname>
          </person_name>
        </contributors>
        <jats:abstract xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1">
          <jats:p>Most literature related to Benford’s Law discusses what the law can be used for and how it works but fails to address effective methods and procedures for teaching the law to students. This article examines existing information resources to determine the most effective methods and procedures used to explain this Law to those who have no experience with it. A contribution to knowledge is made by providing step by step instructional approaches for teaching Benford’s Law to students that are tied to existing literature. Benford’s Law is a fascinating lesson for students who have been exposed to statistical and mathematical concepts for as long as they can remember yet know nothing of the law’s existence. This lesson is suitable for any introductory statistics or mathematics course where students are learning about probability. The Law has a practical application in the field of business and can also be taught as part of a fraud examination, data analytics, or auditing course.</jats:p>
        </jats:abstract>
        <publication_date media_type="online">
          <month>04</month>
          <day>01</day>
          <year>2019</year>
        </publication_date>
        <pages>
          <first_page>33</first_page>
          <last_page>42</last_page>
        </pages>
        <doi_data>
          <doi>10.19030/ajbe.v12i2.10285</doi>
          <resource>https://clutejournals.com/index.php/AJBE/article/view/10285</resource>
          <collection property="crawler-based">
            <item crawler="iParadigms">
              <resource>https://clutejournals.com/index.php/AJBE/article/download/10285/10338</resource>
            </item>
          </collection>
          <collection property="text-mining">
            <item>
              <resource mime_type="application/pdf">https://clutejournals.com/index.php/AJBE/article/download/10285/10338</resource>
            </item>
          </collection>
        </doi_data>
      </journal_article>
    </journal>
  </body>
</doi_batch>

Raw code can be entered in the forum by surrounding the code with three backticks:
```

code here

```

I submitted the metadata against Crossref’s quality check (crossref.org : metadata quality check), and it came back OK.

That suggests that the data is being formulated by OJS correctly.

Perhaps the transmission is failing. Has this ever worked from this server, or is this your first time trying the registration? Are you aware of any network restrictions or proxy requirements for the webserver?

From what crossref has told me everything was being uploaded until July 22 and then it stopped working. I then tried manually uploading them and it fails each time. I have reached out to my server host and they have said nothing has changed and that it must be with OJS. The weirdest part is the failure {“status”:“error”,“message-type”:“route-not-found”,“message-version”:“1.0.0”,“message”:“Route not found”}

I found another error in the error log

[28-Aug-2019 15:44:56 UTC] PHP Deprecated: Non-static method Request::url() should not be called statically in /home/clutejournals/public_html/plugins/importexport/crossref/filter/IssueCrossrefXmlFilter.inc.php on line 195

The deprecated warning shouldn’t be causing the problem.

The “Route not found” message is unfamiliar to me. It appears this is coming back from Crossref, so it is odd that they didn’t have more to say about it.

You’ve downloaded the file from OJS and uploaded it directly to Crossref, and still it fails? Can you confirm that the download file passes Crossref’s schema check (with the link above), but still fails when you submit it directly in the Crossref member’s area?

I am sorry I did not write that correctly. I have not downloaded the XML from OJs and uploaded to crossref. I am manually trying to deposit the XML from the plugin from OJS, sorry for the confusion.

If you don’t mind, do try downloading the XML, validating with the public tool, and uploading it via the member’s area. If that succeeds, then there must be some problem communicating the XML from the OJS webserver to Crossref’s servers.

I will give this a try. I will let you know if the XML succeeds. Thank you for your help so far.

I get this error when I try to upload my metadata or DOI
You have not been recognized as an authorized user that is allowed to upload files on the system

Are you using the same username and password you use in the OJS Crossref plugin? That username and password should have deposit permissions, so this could point at a possible configuration problem on Crossref’s side.

I am using the same user name and password. I think you are right. I have sent an email to their support and I am waiting an answer. I will post their answer here when they respond. Thank you again for your help.

Thank you again for your help. I reached out to Crossref and it looks like our billing department did not pay the invoice to crossref.

This is the error you receive when you are blocked by their server.
{“status”:“error”,“message-type”:“route-not-found”,“message-version”:“1.0.0”,“message”:“Route not found”}

Hopefully this helps someone in the future.

3 Likes

Have you solved it successfully, I have the same error as you, my ojs version is 3.2.1.1, even though I have fully set the parameters, it also fails.
If you succeed, please share how to handle it, thanks

Error:
{“status”:“error”,“message-type”:“route-not-found”,“message-version”:“1.0.0”,“message”:“Route not found”}