Error installing 3.1.2 version


Trying to install 3.1.2 version with PHP Version 7.3.3-1+0~20190307202245.32+stretch~1.gbp32ebb2 and mysqli enable the next error is show in the log:

[Fri Mar 22 07:09:50.351742 2019] [php7:error] [pid 27255] [client] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/ojs312/lib/pkp/lib/adodb/drivers/\nStack trace:\n#0 /var/www/html/ojs312/lib/pkp/lib/adodb/ ADODB_mysql->_connect(‘localhost’, ‘root’, ‘(REMOVED)’, ‘’)\n#1 /var/www/html/ojs312/lib/pkp/classes/db/ ADOConnection->Connect(‘localhost’, ‘root’, ‘(REMOVED)’, NULL, false)\n#2 /var/www/html/ojs312/lib/pkp/classes/db/ DBConnection->connect()\n#3 /var/www/html/ojs312/lib/pkp/classes/db/ DBConnection->initConn()\n#4 /var/www/html/ojs312/lib/pkp/classes/db/ DBConnection->initCustomDBConnection(‘mysql’, ‘localhost’, ‘root’, ‘(REMOVED)’, NULL, false, ‘utf8’)\n#5 /var/www/html/ojs312/lib/pkp/classes/install/ DBConnection->__construct(‘mysql’, ‘localhost’, ‘root’, ‘(REMOVED)’, NULL, false, ‘utf8’)\n#6 /var/www/html/ojs312/lib/pkp/classes/install/ PKPInstall->preInstall( in /www/ojs312/lib/pkp/lib/adodb/drivers/ on line 456, referer:

Making the next validation with php : echo var_dump(function_exists(‘mysqli_connect’));

The next value is shhowed: bool(true)

What is wrong?


Hi @cridum,

Again, please be careful not to post passwords in your error logs! I’ve removed them from your post above; please change your password ASAP.

Also, please don’t post the same issue in multiple places; it clutters the forum.

Alec Smecher
Public Knowledge Project Team