Ojs error log support

[31-Mar-2021 16:00:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Mar-2021 16:00:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Mar-2021 16:00:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Mar-2021 16:00:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Mar-2021 16:00:08 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘’, ‘’, ‘’)
#1 /home/cqdhhdvh/public_html/lib/pkp/classes/db/DBConnection.inc.php(144): ADOConnection->Connect(‘localhost’, ‘’, ‘’, ‘’, false)
#2 /home/cqdhhdvh/public_html/lib/pkp/classes/db/DBConnection.inc.php(119): DBConnection->connect()
#3 /home/cqdhhdvh/public_html/lib/pkp/classes/db/DBConnection.inc.php(76): DBConnection->initConn()
#4 /home/cqdhhdvh/public_html/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/cqdhhdvh/public_html/lib/pkp/classes/db/DBConnection.inc.php(220): DBConnection->__construct()
#6 /home/cqdhhdvh/public_html/lib/pkp/classes/core/PKPApplication.inc.php(158): DBConnection::getInstance()
#7 /home/cqdh in /home/cqdhhdvh/public_html/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456

what i need to do? for this error log

Hi there,

Edit your config.inc.php file and change your database driver from mysql to mysqli.

Best,
Jason

Hi @thelaris,

Just a heads-up that the stack trace you posted included your MySQL credentials; I’ve removed them from the post, but please change them immediately and be careful not to include private details when you post.

Regards,
Alec Smecher
Public Knowledge Project Team