Index Copernicus plugin for OJS 3.3.0.X

Hello,
This is the updated Index Copernicus plugin for OJS version 3.3.0.X.
I hope it’s helpful for all.
GitHub- surojitbera2/index-copernicus-plugin-updated

Regards,
Surojit Bera

Dear @Surojit_Bera,

you have double folders in zipped format. Also, the same still does not work under OJS 3.3.0.13. and in status of uploading present Error.

Regards,
Lazar

Please download from this link

Please upload and extract in plugins/importexport folder

You are requested to please dont upload any plugin without approval from PKP, After checking of your plugin its not work and not suitable for user

Did you try this plugin before you put it in public? It is still error and does not work. In which version you tested this plugin?

It works for me without any error.
I exported it as xml.
I imported it from the Index Copernicus panel.
All articles in the issue have been transferred completely.
The versions I use. OJS 3.3.0.13, 3.3.0.1.14

1 Like

I try this plugin OJS-3.3.0.11

Hi @Surojit_Bera,

Hi,

I have the Copernicus plugin version 3.3.0.13 on the OJs platform, and when I try to export an issue the XML downloads empty and if I try to validate it shows me the following:

Also in the error.log it shows me the following:

DOMDocument::loadXML(): PCDATA invalid Char value 26 in Entity, line: 2 in /plugins/importexport/copernicus/CopernicusExportPlugin.inc.php on line 88, referer: https://xxxxx/management/importexport/plugin/CopernicusExportPlugin

Hi @diegomejia07
Please see this link Some problems with Index Copernicus plugin - #10 by a-vodka

Hi @Surojit_Bera,

I installed the plugin on OJS 3.3.0.13, but when I try to open the plugin, there is no button to validate or export in the action column.

After activating the plugin, go to the “tools” page.

there is no button to validate or export

What is your PHP version?
I’m not entirely sure what might be causing this, but if you are also able to look at your PHP error log messages and report back on any messages from there, that might help.

i use php version 8.1.2

thisi is the error log:

[Tue Apr 04 09:17:31.103517 2023] [php:error] [pid 3826624] [client 36.72.61.253:54754] PHP Fatal error: Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, array given in /ojs/esj/lib/pkp/classes/core/PKPPageRouter.inc.php:271\nStack trace:\n#0 [internal function]: rawurlencode()\n#1 /ojs/esj/lib/pkp/classes/core/PKPPageRouter.inc.php(271): array_map()\n#2 /ojs/esj/lib/pkp/classes/core/Dispatcher.inc.php(167): PKPPageRouter->url()\n#3 /ojs/esj/lib/pkp/classes/plugins/ImportExportPlugin.inc.php(92): Dispatcher->url()\n#4 /ojs/esj/cache/t_compile/1217e36682ad43d95eea96b6785047ae3524a126^6ba7b02737a3aac6567f4d8dfec141136fcaf855_0.plugins-4-plugins-importexport-copernicus-importexport-copernicus.issues.tpl.php(87): ImportExportPlugin->pluginUrl()\n#5 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1170824283642288cc63a8d5_54072118->callBlock()\n#6 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()\n#7 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process()\n#8 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()\n#9 /ojs/esj/cache/t_compile/1217e36682ad43d95eea96b6785047ae3524a126^164bd5a4f3891532cf93e9d19911fe9cb3308efd_0.app.layoutsbackend.tpl.php(234): Smarty_Internal_Runtime_Inheritance->instanceBlock()\n#10 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_642288cc680449_06652562()\n#11 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#12 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render()\n#13 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()\n#14 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()\n#15 /ojs/esj/cache/t_compile/1217e36682ad43d95eea96b6785047ae3524a126^6ba7b02737a3aac6567f4d8dfec141136fcaf855_0.plugins-4-plugins-importexport-copernicus-importexport-copernicus.issues.tpl.php(32): Smarty_Internal_Runtime_Inheritance->endChild()\n#16 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_642288cc64cc75_17189765()\n#17 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#18 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render()\n#19 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render()\n#20 /ojs/esj/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute()\n#21 /ojs/esj/lib/pkp/classes/template/PKPTemplateManager.inc.php(1187): Smarty_Internal_TemplateBase->display()\n#22 /ojs/esj/plugins/importexport/copernicus/CopernicusExportPlugin.inc.php(356): PKPTemplateManager->display()\n#23 /ojs/esj/lib/pkp/pages/management/PKPToolsHandler.inc.php(94): CopernicusExportPlugin->display()\n#24 /ojs/esj/lib/pkp/classes/core/PKPRouter.inc.php(395): PKPToolsHandler->importexport()\n#25 /ojs/esj/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest()\n#26 /ojs/esj/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route()\n#27 /ojs/esj/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()\n#28 /ojs/esj/index.php(68): PKPApplication->execute()\n#29 {main}\n thrown in /ojs/esj/lib/pkp/classes/core/PKPPageRouter.inc.php on line 271

Hello @kerimsarigul @rvllfil @diegomejia07 ,

Please try in PHP version 7.4

Regards,
Surojit Bera

1 Like

Hi @Surojit_Bera
I´m testing with OJS3.3.0.11 and PHP7.3, So, when I click on validate (number) I got this:

Any idea?

without validation (for xs:datetime error) you can download XML file and upload to index copernicus.

Hi @dagosalas
Please simply download the XML file and upload it to the Index Copernicus panel without any validation.
As per @kerimsarigul suggestion.


To all members,
I need your help upgrading this plugin to the latest version of PHP.


Regards,
Surojit Bera

The Copernicus page when entering the XML directly, without validating it, does not load any record and when reviewing the details it tells me exactly the same thing, that I have errors in the XML.

For your request you can start a new post so that it can be seen by more people.

Regards!

Hello @dagosalas
Please try this plugin, I removed the Time from publicationDate.

Please download the XML file and upload it to the Index Copernicus panel

Again, if you are facing the same issue, please share a screenshot.

Regards,
Surojit Bera