Problem with entering to Administration and plugins ist after updating to OJS 3.3.0-14 proxy_fcgi:error

I’m trying to upgrade from OJS to OJS .3.0-14. (Linux
PHP version 7.3.20 database 10.0.38-MariaDB-0+deb8u)
I’m getting the following error messages that I don’t have in OJS
One of them is for a certificate that works. Can you help me interpret the others?

[Mon May 15 22:51:33.815038 2023] [proxy_fcgi:error] [pid 21591] [client] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function getConnection() on null in /webhdd/\nStack trace:\n#0 /webhdd/ Illuminate\Database\Capsule\Manager::connection()\n#1 /webhdd/ Illuminate\Database\Capsule\Manager::__callStatic(‘raw’, Array)\n#2 /webhdd/ DAO->retrieve(‘SELECT * FROM j…’, Array)\n#3 /webhdd/ ContextDAO->getByPath(‘polispol’)\n#4 /webhdd/ PKPRouter->getContext(Object(Request), 1)\n#5 /webhdd/…’

[Mon May 15 22:52:30.266980 2023] [proxy_fcgi:error] [pid 21581] [client] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: certificate has expired (see in /webhdd/\nStack trace:\n#0 /webhdd/ GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)\n#1 /webhdd/ GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))\n#2 /webhdd/ GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\Curl…’, referer: (here URL to submission)

[Mon May 15 22:53:56.643726 2023] [proxy_fcgi:error] [pid 21591] [client] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function getOption() on null in /webhdd/^\nStack trace:\n#0 /webhdd/ content_64629be494ba99_90996728(Object(Smarty_Internal_Template))\n#1 /webhdd/ Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))\n#2 /webhdd/ Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))\n#3 /webhdd/…’, referer: (here URL)

[Mon May 15 23:03:12.666029 2023] [core:error] [pid 20062] [client] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

[Mon May 15 23:03:48.594116 2023] [proxy_fcgi:error] [pid 21581] [client] AH01071: Got error ‘PHP message: PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /webhdd/ on line 77PHP message: PHP Warning: fsockopen(): Failed to enable crypto in /webhdd/ on line 77PHP message: PHP Warning: fsockopen(): unable to connect to ssl:// (Unknown error) in /webhdd/ on line 77PHP message: /webhdd/ Could not connect to ssl:// PHP message: PHP Warning: DOMDocument::loadXML(): Empty string supplied as input in /webhdd/ on line 57’, referer: (here URL)


@asmecher What do you think about this problem?

Hi @janels,

There are at least a couple of problems here, including a database access problem and an SSL/certificate problem.

The SSL/certificate problem is more of a platform/PHP error than an OJS error, so you may have better luck on StackOverflow. See for example this thread. You may need to update your server’s certificates, or your PHP version. One possible work-around may be to configure a proxy in your OJS configuration file; see the [proxy] section.

When you run the upgrade, do you get a confirmation message Successfully upgraded to version xyz? Or do you get a specific error message indicating a failure?

Alec Smecher
Public Knowledge Project Team

thanks for your reply.
So, the system upgrade on another test server was successful without any errors.
The problem only appears on the production server when I upload the upgraded database and files from OJS version 3.3.0-14.
The administrators report that the certificate comes from OVH and is up to date.
On the other hand, it is as if the problem is related to Plesk.
message: PHP Warning: fsockopen(): unable to connect to ssl://
Do you perhaps know what changes should be made to plesk after the update? The symptom is that it is not possible to enter Administration, Plugins and journal settings.

Idon’t know how to solve it… :frowning: