OAI Error OJS 3.1.1.4

I use OJS 3.1.1.4

i don’t know why, my OAI suddenly error, please see this screenshot
how can I fix it?

link : https://jurnal.polgan.ac.id/index.php/sinkron/oai

listsrecord screenshot

image

List Metadata Format
image

Listset

image

how to fix ??

Hi @Muhammad_Khoiruddin,

That appears to be OJS 3.0.2, not OJS 3.1.1-4.

I’m not sure what could cause that error beyond modifications to your OAI code. If you’ve made any changes there, please try reverting them to see if it fixes the OAI interface.

Regards,
Alec Smecher
Public Knowledge Project Team

i do not changing any of code (maybe i do not know)
last result now has changing like this error

DB Error: Column ‘record_offset’ cannot be null

Stack Trace:

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/oai/PKPOAIDAO.inc.php line 244
Function: DAO->update(“INSERT INTO oai_resumption_tokens (token, record_offset, params,…”, Array(4))

File: /home/polgnac/public_html/jurnal/classes/oai/ojs/JournalOAI.inc.php line 227
Function: PKPOAIDAO->insertToken(Object(OAIResumptionToken))

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/oai/OAI.inc.php line 539
Function: JournalOAI->saveResumptionToken(100, Array(2))

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/oai/OAI.inc.php line 85
Function: OAI->ListRecords()

File: /home/polgnac/public_html/jurnal/pages/oai/OAIHandler.inc.php line 43
Function: OAI->execute()

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/core/PKPRouter.inc.php line 372
Function: OAIHandler->index(Array(0), Object(Request))

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/core/PKPPageRouter.inc.php line 239
Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(0), False)

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPPageRouter->route(Object(Request))

File: /home/polgnac/public_html/jurnal/lib/pkp/classes/core/PKPApplication.inc.php line 227
Function: Dispatcher->dispatch(Object(Request))

File: /home/polgnac/public_html/jurnal/index.php line 68
Function: PKPApplication->execute()

==============================================
please if any solutions
thank you

or perhaps, what table is read by OJS for OAI execution, so that I can compare it to the mysql database

by comparing between 2 or 3 other journals I can find a solution. because the other two active journals have no problems.

Hi @Muhammad_Khoiruddin,

I think you’ll need to compare your code against the stock OJS release you started with; I’m pretty sure something has changed in your OAI code to cause this. Unfortunately I can’t debug it further if I don’t know what’s changed. I’d suggest looking into the standard diff tool to compare your installation against an unmodified copy.

Regards,
Alec Smecher
Public Knowledge Project Team

i try to test with oval.base-search.net and got this result.
maybe i need to fix step by step. please see this screenshoot

image

dear @asmecher

I have 2 Journal in the same version.

owner.polgan.ac.id (OAI is GOOD)
jurnal.polgan.ac.id (OAI is BROKEN)

is possible to replace (copying) OAI from owner.polgan.ac.id to jurnal.polgan.ac.id ?

what file/folder should to replace?

Thank you

finally done. I copy all OJS and change config.php and running well

thank you.