Quantcast
Channel: Software Support - PKP Community Forum
Viewing all articles
Browse latest Browse all 17658

Database connection failed! OJS 2.4

$
0
0

@Francesco wrote:

We are running OJS 2.4, on Ubuntu, with MySQL 5.7.17 for an international academic journal.

Suddendly, the system gave this message:

Database connection failed!
Stack Trace:
File: /var/www/html/journal/classes/core/Application.inc.php line 38
Function: PKPApplication->PKPApplication()

File: /var/www/html/journal/lib/pkp/includes/bootstrap.inc.php line 59
Function: Application->Application()

File: /var/www/html/journal/index.php line 70
Function: require("/var/www/html/journal/lib/pkp/includes/bootstrap.inc.php")

It seems related to the login to the database connection. However, the error is very strange. We restored some back-up copies, which had worked well for some days and we have seen that either they don't work at all (always the same error, as above) or they work for some time, but after some OJS admin/user logins/logouts the system crashes (BTW, they should not be relevant, as the mysql login should happen only once at the beginning of the session, but I don't know. Also, from one test it seems that the crash happens also not while doing a user login/logout).
Nothing else changed: the back-up was of the whole machine. We also moved back the system date, no change.
The problem could be due to the change of the secure_auth global variable in MySQL, that now is only ON, but the OJS system had always worked well.

We'll try to do the upgrade to OJS 3, but we would like to solve the problem before

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17658

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>