Plugins Tab doesn't load

Hello, I have the problem that I saw as OJS Admin I would not have the necessary rights to watch the plugins tab. The exact wording of the alert is “The current role does not have access to this operation.”

otherwise no error message will appear in the JS Console.

image

It runs the version 3.1.1.4, which is instaliert over the git Repo.

If I look in the Error Log of Apache there are the following Errors:

PHP Warning:  fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning:  fsockopen(): Failed to enable crypto in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning:  fsockopen(): unable to connect to ssl://pkp.sfu.ca:443 (Unknown error) in /var/www/ojs/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website
PHP Warning:  DOMDocument::loadXML(): Empty string supplied as input in /var/www/ojs/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 57, referer: https://hard-times-magazine.org/index.php/Hardtimes/management/settings/website

It runs the php version 7.2.10 on the machine.

The certificate is from Letsencrypt and is also registered in php.ini at openssl.cafile.

How can I solve the problem?

Hi @Letsplaybar,

I’ve responded to your question on StackOverflow:

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

hi @asmecher

we are facing the same problem with ‘Translate’ tab, for non admin users. (OJS 3.1.2.1)
I dont know if it is a system rule (just admins can edit translations) or a bug :confused:

image

Hi @ronniebrito,

Only administrator users are allowed to edit translations. (This restriction is required because the translator plugin edits the locale files directly on the server, which will affect all journals.)

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like