Publons Plugin: Failed Ajax request or invalid JSON returned

Dear colleagues, please help solve the problem with Publons Plugin.

Installation - activation is successful.
But when we try to press Connection button to start using this plugin, we get an error

Failed Ajax request or invalid JSON returned

this is the log

GET /index.php/test/$$$call$$$/grid/settings/plugins/settings-plugin-grid/manage?verb=connect&plugin=PublonsPlugin&category=generic&_=1560968103760 HTTP/1.0" 500 0 "https://tour.dp.ua/index.php/test/management/settings/website" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36

We tried to run the module on such versions: 3.1.0.1, 3.1.1.4, 3.1.2.1

Maybe someone has already encountered this problem. Please, help.

Hi @OSU,

PKP doesn’t maintain that plugin – you might try contacting the plugin author, such as by filing an issue here: https://github.com/publons/ojs

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thank you!
We will try to contact them …

Hi @asmecher,
does anyone solve problem with Publons plugin: Failed Ajax request or invalid JSON returned ?
In error log received>
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: Declaration of PublonsPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/ijcadsee/public_html/plugins/generic/publons/PublonsPlugin.inc.php on line 349
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: Declaration of PublonsPlugin::smartyPluginUrl($params, &$smarty) should be compatible with Plugin::smartyPluginUrl($params, $smarty) in /home/ijcadsee/public_html/plugins/generic/publons/PublonsPlugin.inc.php on line 349
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/ijcadsee/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ijcadsee/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/generic/ojs-2.5.0.tar.gz/index.php) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/cpanel/base/3rdparty:/usr/share/l.v.e-manager/utils) in /home/ijcadsee/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 232
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/generic/ojs-2.5.0.tar.gz/Ojs-2.5.0.tar.gzGenericPlugin.inc.php) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/cpanel/base/3rdparty:/usr/share/l.v.e-manager/utils) in /home/ijcadsee/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 241
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/generic/ojs-master.zip/index.php) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/cpanel/base/3rdparty:/usr/share/l.v.e-manager/utils) in /home/ijcadsee/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 232
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/generic/ojs-master.zip/Ojs-master.zipGenericPlugin.inc.php) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/cpanel/base/3rdparty:/usr/share/l.v.e-manager/utils) in /home/ijcadsee/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 241
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: Declaration of PublonsSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/ijcadsee/public_html/plugins/generic/publons/classes/form/publonsSettingsForm.inc.php on line 130
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Warning: filemtime(): stat failed for lib/pkp/templates/plugins/generic/publons/templatestemplates/publonsSettingsForm.tpl in /home/ijcadsee/public_html/lib/pkp/classes/template/PKPTemplateResource.inc.php on line 51
[29-Aug-2019 15:43:39 Europe/Belgrade] PHP Fatal error: Uncaught --> Smarty: Unable to load template ‘app:plugins/generic/publons/templatestemplates/publonsSettingsForm.tpl’ <–
thrown in /home/ijcadsee/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195

Hi @OSU,

We don’t maintain that plugin; I’d suggest contacting the author.,

Regards,
Alec Smecher
Public Knowledge Project Team

As I understand it, in order to be able to use the module, you must first order paid services…
Below is an excerpt from a letter from representatives of Publons

As well as being a profile site for researchers, Publons offers two paid-for services to journals (more info below). Our reviewer recognition service -> a great way to motivate and engage your reviewers, as well as Reviewer Connect: a reviewer search tool.

  1. Reviewer Recognition Service: Publons integrates into the reviewer workflow so academics can track and verify every review and editorial contribution on-the-fly, and in full compliance with journal review policies.We integrate seamlessly with all submission systems to automate the process of recognising your reviewers. Here’s a short video explaining how an integration works and our case study with the American Society for Microbiology goes into more detail about the benefits of partnering.

  2. Reviewer Connect: a great new search tool to help you quickly find the best reviewers, combining the power of Publons’ exclusive peer review database with the unparalleled Web of Science author and citation index. You can see a short video here.