After long time i just checking my ojs site and it shows 500 error

Dear,

Please help me on this. I am not sure what version of ojs i used. Now when am back to site for a demo purpose on a conference, right now my site is showing 500 error.

Sharing you the error log

[28-Aug-2019 17:57:25 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[28-Aug-2019 17:57:25 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/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/adodb.inc.php on line 263
[28-Aug-2019 17:57:25 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/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/adodb.inc.php on line 359
[28-Aug-2019 17:57:25 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/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[28-Aug-2019 17:57:25 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/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[28-Aug-2019 17:57:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘[deleted]’, ‘[deleted]’, ‘[deleted]’)
#1 /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/classes/db/DBConnection.inc.php(144): ADOConnection->Connect(‘localhost’, ‘[deleted]’, ‘[deleted]’, ‘[deleted]’, false)
#2 /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/classes/db/DBConnection.inc.php(119): DBConnection->connect()
#3 /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/classes/db/DBConnection.inc.php(76): DBConnection->initConn()
#4 /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/ugcmrp/public_html/communicationandcultu in /home/ugcmrp/public_html/communicationandculturereview.in/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456

Thanks in advance.

Hi @Ashik_S,

Your post accidentally included your database credentials! I’ve removed them, but please change those when you can.

Your host probably upgraded your PHP version to something that doesn’t support mysql. Change the database driver in config.inc.php from mysql to mysqli.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear,

thanks for deleting those credentials.

Thanks for your support.