OAI + WORLDCAT question

  1. OJS 3.2.0.3
  2. PHP 7.2.24-0ubuntu0.18.04.6

i have enabled in my config.inc.php
[oai]

; Enable OAI front-end to the site
oai = On

; OAI Repository identifier
repository_id = uars.info

; Maximum number of records per request to serve via OAI
oai_max_records = 100

Result of testing in worldcat:
Error: Not all required tests passed, you cannot add this repository.

* SUCCESS: Testing URL Uniqueness
* SUCCESS: Testing URL Validity
* SUCCESS: Testing Availability
* SUCCESS: Testing OAI Support
* SUCCESS: Testing DC Format Support
* UNSUPPORTED: Testing OCLC DC Format Support
* SUCCESS: Testing List Sets
* SUCCESS: Testing Set Uniqueness
* FAILED: Testing List Records
* SKIPPED: Testing Actionable URL Identifier

But i have also error’s in error log when i try to navigate in https://uars.info/index.php/uars/oai
For example here: https://uars.info/index.php/uars/oai?verb=ListRecords&metadataPrefix=oai_dc

[Mon Jun 15 11:51:05.618570 2020] [php7:warn] [pid 11430] [client 192.168.2.111:41274] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39
[Mon Jun 15 11:57:32.843751 2020] [php7:notice] [pid 11424] [client 192.168.2.111:41618] ojs2: 404 Not Found
[Mon Jun 15 11:57:56.176704 2020] [php7:warn] [pid 11430] [client 192.168.2.111:41658] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39, referer: https://www.google.com/
[Mon Jun 15 11:57:59.817090 2020] [php7:notice] [pid 11425] [client 192.168.2.111:41674] PHP Notice:  Only variables should be assigned by reference in /home/uars/web/uars.info/public_html/classes/oai/ojs/OAIDAO.inc.php on line 147
[Mon Jun 15 11:58:05.639902 2020] [php7:warn] [pid 11425] [client 192.168.2.111:41674] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 11:58:05.639973 2020] [php7:error] [pid 11425] [client 192.168.2.111:41674] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 11:58:11.887607 2020] [php7:warn] [pid 12076] [client 192.168.2.111:41678] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 11:58:11.887674 2020] [php7:error] [pid 12076] [client 192.168.2.111:41678] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 11:58:16.320401 2020] [php7:warn] [pid 11424] [client 192.168.2.111:41686] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39
[Mon Jun 15 11:58:32.458696 2020] [php7:warn] [pid 12081] [client 192.168.2.111:41716] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39
[Mon Jun 15 12:00:08.088020 2020] [php7:notice] [pid 12076] [client 192.168.2.111:41864] PHP Notice:  Only variables should be assigned by reference in /home/uars/web/uars.info/public_html/classes/oai/ojs/OAIDAO.inc.php on line 147
[Mon Jun 15 12:00:10.298288 2020] [php7:warn] [pid 12076] [client 192.168.2.111:41864] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 12:00:10.298355 2020] [php7:error] [pid 12076] [client 192.168.2.111:41864] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 12:00:13.443298 2020] [php7:warn] [pid 11424] [client 192.168.2.111:41868] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 12:00:13.443356 2020] [php7:error] [pid 11424] [client 192.168.2.111:41868] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25
[Mon Jun 15 12:00:32.860443 2020] [php7:warn] [pid 11425] [client 192.168.2.111:41888] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39
[Mon Jun 15 12:00:50.403579 2020] [php7:warn] [pid 11424] [client 192.168.2.111:41906] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai
[Mon Jun 15 12:00:50.403635 2020] [php7:error] [pid 11424] [client 192.168.2.111:41906] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai
[Mon Jun 15 12:00:56.779380 2020] [php7:warn] [pid 12081] [client 192.168.2.111:41936] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai
[Mon Jun 15 12:00:56.779445 2020] [php7:error] [pid 12081] [client 192.168.2.111:41936] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai
[Mon Jun 15 12:01:06.866895 2020] [php7:notice] [pid 11429] [client 192.168.2.111:41958] PHP Notice:  Only variables should be assigned by reference in /home/uars/web/uars.info/public_html/classes/oai/ojs/OAIDAO.inc.php on line 147, referer: https://uars.info/index.php/uars/oai?verb=ListSets
[Mon Jun 15 12:01:10.220678 2020] [php7:notice] [pid 11424] [client 192.168.2.111:41962] PHP Notice:  Only variables should be assigned by reference in /home/uars/web/uars.info/public_html/classes/oai/ojs/OAIDAO.inc.php on line 147, referer: https://uars.info/index.php/uars/oai?verb=ListSets
[Mon Jun 15 12:01:51.024867 2020] [php7:warn] [pid 12081] [client 192.168.2.111:42004] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=ListIdentifiers&metadataPrefix=oai_dc
[Mon Jun 15 12:01:51.024967 2020] [php7:error] [pid 12081] [client 192.168.2.111:42004] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=ListIdentifiers&metadataPrefix=oai_dc
[Mon Jun 15 12:01:54.561178 2020] [php7:warn] [pid 12083] [client 192.168.2.111:42012] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=ListIdentifiers&metadataPrefix=oai_dc
[Mon Jun 15 12:01:54.561239 2020] [php7:error] [pid 12083] [client 192.168.2.111:42012] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=ListIdentifiers&metadataPrefix=oai_dc
[Mon Jun 15 12:03:19.568126 2020] [php7:warn] [pid 11429] [client 192.168.2.111:42126] PHP Warning:  require_once(/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php): failed to open stream: No such file or directory in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=Identify
[Mon Jun 15 12:03:19.568200 2020] [php7:error] [pid 11429] [client 192.168.2.111:42126] PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php' (include_path='.:/usr/share/php') in /home/uars/web/uars.info/public_html/lib/pkp/includes/functions.inc.php on line 25, referer: https://uars.info/index.php/uars/oai?verb=Identify
[Mon Jun 15 12:04:56.142713 2020] [php7:warn] [pid 11426] [client 192.168.2.111:42258] PHP Warning:  htmlspecialchars() expects parameter 1 to be string, array given in /home/uars/web/uars.info/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39

Also i have some kind of error:
## OAI Error(s)

The request could not be completed due to the following error or errors.

Error Code badVerb

Illegal OAI verb

Hi @redukr,

The badVerb message is not a problem – it just means you’ve requested the OAI interface without specifying a verb.

For errors like this:

PHP Fatal error:  require_once(): Failed opening required '/home/uars/web/uars.info/public_html/lib/pkp/plugins/metadata/nlm30/filter/Nlm30CitationSchemaCitationAdapter.inc.php'

…see this post: [3.1.1-1] QuickSubmit doesn't work Error 500

For the WorldCat OAI message:

* FAILED: Testing List Records

…do you get any more information than that? It’s not very specific, unfortunately…

Thanks,
Alec Smecher
Public Knowledge Project Team

I have change all cyryllic abriviation to English, and have discovered, that i have some kind of old garbage like this:

Set

image
image

i’ll try to figure how to clean database from that garbage…
as i understand. that is first articles which i have delete, and first category…

Hi @redukr,

It’s possible that you have sets defined with cyrillic language in their abbreviations, in which case you’d see URL-encoded characters that look like what you’ve screenshotted; that’s probably to be expected, even though it looks a little ugly.

Regards,
Alec Smecher
Public Knowledge Project Team

I have manualy remove all considered to nlm30, as described here. [3.1.1-1] QuickSubmit doesn't work Error 500 - #5 by asmecher

But as i can understand i have broken update in some aspects.

i have some problems. when i roll backup my DB i have next siyuation:

  1. Open Journal Systems - works
    image

But i receve message about

Unsupported Description Type
The XSL currently does not support this type of description.

  1. LIST RECORDS https://uars.info/index.php/uars/oai?verb=ListRecords&metadataPrefix=oai_dc
    shows error considered 2 Nlm30CitationSchemaCitationAdapter.inc.php

  2. ListSets https://uars.info/index.php/uars/oai?verb=ListSets shows ugly names for non exist articles.

  3. ListMetadataFormats https://uars.info/index.php/uars/oai?verb=ListMetadataFormats - work’s fine i think

  4. https://uars.info/index.php/uars/oai?verb=ListIdentifiers&metadataPrefix=oai_dc - show’s ugly info.

  5. I execute Bozhana’s recomendation from this post: [3.1.1-1] QuickSubmit doesn't work Error 500 - #3 by bozana

image

and i have delete all this strings.

RESULT: Page begin to open :slight_smile: https://uars.info/index.php/uars/oai?verb=ListRecords&metadataPrefix=oai_dc

  1. also i found " Nlm30CitationSchemaCitationAdapter " do i have to delete it?
    image

  2. i found uglies in db in:
    data_object_tombstones
    data_object_tombstone_oai_set_objects

i have cleared them, and all work’s!!!

But i have question about point 7. Have i to delete Nlm30CitationSchemaCitationAdapter