Problem installation OJS Version 3.1.1.0

Hello,
I’m trying to install 3.1.1.0, but after having filled the form I receive only a blank page.
I have checked for php errors, and I found this series of errors:
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: PHP Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /web/htdocs/www.humanamente.eu/home/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 323: /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /web/htdocs/www.humanamente.eu/home/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386: /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /web/htdocs/www.humanamente.eu/home/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456: /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: Stack trace:: /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #0 /web/htdocs/www.humanamente.eu/home/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘ojs’, ‘ojs’, ‘ojs’): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #1 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(144): ADOConnection->Connect(‘localhost’, ‘ojs’, ‘ojs’, ‘ojs’, false): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #2 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(119): DBConnection->connect(): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #3 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(76): DBConnection->initConn(): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #4 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection(): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #5 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(220): DBConnection->__construct(): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #6 /web/htdocs/www.humanamente.eu/home/lib/pkp/classes/db/DBConnection.inc.php(231): DBConnection::getInstance(): /web/htdocs/www.humanamente.eu/home/index.php
Mon, 21 May 2018 16:23:27 GMT [error] [client 54.36.148.161] - www.humanamente.eu - AH01215: #7 /web/htdoc in /web/htdocs/www.humanamente.eu/home/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456: /web/htdocs/www.humanamente.eu/home/index.php

can you help me?

Hi @Silvano_zipoli_caian

If you are using PHP v. 7 please update in your config.inc.php mysql driver to “mysqli”.

Regards,
Israel Cefrin
Public Knowledge Project Team

2 Likes

thank you Israel.
something happen…but now I get this error
Errors occurred during installation A database error has occurred: 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

can you help me again please?

Hi @Silvano_zipoli_caian

What is your stack settings (apache, php and mysql versions)?
From your error log it looks like an error with mysql connection. Have you minimum Recommended server requirements?

* PHP >= 5.6
* MySQL >= 4.1 or PostgreSQL >= 9.1.5
* Apache >= 1.3.2x or >= 2.0.4x or Microsoft IIS 6
* Operating system: Any OS that supports the above software, including
  Linux, BSD, Solaris, Mac OS X, Windows

Regards,
Israel Cefrin
Public Knowledge Project Team

Dear Israel,
the version of my SQL is 5.0.92.
is there something that I can do to solve the problem?
thanks
Silvano

Hi @Silvano_zipoli_caian,

Have you tried running the SQL statement (using the relevant credentials) included in the error message? That should resolve it.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec, I solved the problem! thanks!
S.

Hi Silvano,

How you solve the problem, because i have the same issue??