I am having the same problem… After successful clean installation it looks like OJS 3.1.0 is working. Possible to create a journal, modify it, modify profile,… The problem is clicking on Dashboard returns the error above.
I was playing with docker and looks like an “apt-get install php-mysql” was not enough. You also need to install the extension with something like “docker-php-ext-install pdo pdo_mysql”
I did a clean install os the latest version. And I have the same problem, when I go to “submissions”, error 500
My server:
PHP Version 5.6.32
Mysql 4.1.24
My log is this:
[Mon Jan 22 19:24:23 2018] [error] #1 /web/htdocs/www.mysite.com/home/revistas/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connec in /web/htdocs/www.mysite.com/home/revistas/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php on line 47
[Mon Jan 22 19:24:23 2018] [error] #0 /web/htdocs/www.mysite.com/home/revistas/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct(‘mysql:host=62.1…’, ‘ojs’, ‘ojs’, Array)
[Mon Jan 22 19:24:23 2018] [error] PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD(‘your_existing_password’). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file’ in /web/htdocs/www.mysite.com/home/revistas/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47
[Mon Jan 22 19:24:23 2018] [error] PHP Strict Standards: Declaration of OpenAIREDAO::setOAI() should be compatible with PKPOAIDAO::setOAI($oai) in /web/htdocs/www.mysite.com/home/revistas/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 19
The fatal error you have logged here is from MySQL, not OJS:
[Mon Jan 22 19:24:23 2018] [error] PHP Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD(‘your_existing_password’). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file’ in /web/htdocs/www.mysite.com/home/revistas/lib/pkp/lib/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47
Follow the instructions in the message to resolve it. I’d suggest searching StackOverflow or similar if you need more information.
Regards,
Alec Smecher
Public Knowledge Project Team