Localhost HTTP ERROR 500 - Installing OJS 3.2.0

I had problem installing OJS 3.2.0 on localhost… 127.0.0.1 is currently unable to handle this request…

please help help !

ERROR LOG:

[Mon May 11 15:34:37.159129 2020] [php7:error] [pid 9696:tid 1884] [client 127.0.0.1:21984] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\journal\lib\pkp\lib\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:461\nStack trace:\n#0 C:\xampp\htdocs\journal\lib\pkp\lib\vendor\adodb\adodb-php\adodb.inc.php(688): ADODB_mysql->_connect(‘localhost’, ‘umkojs’, ‘’, ‘’)\n#1 C:\xampp\htdocs\journal\lib\pkp\classes\db\DBConnection.inc.php(162): ADOConnection->Connect(‘localhost’, ‘umkojs’, ‘’, NULL, false)\n#2 C:\xampp\htdocs\journal\lib\pkp\classes\db\DBConnection.inc.php(137): DBConnection->connect()\n#3 C:\xampp\htdocs\journal\lib\pkp\classes\db\DBConnection.inc.php(124): DBConnection->initConn()\n#4 C:\xampp\htdocs\journal\lib\pkp\classes\db\DBConnection.inc.php(56): DBConnection->initCustomDBConnection(‘mysql’, ‘localhost’, ‘umkojs’, ‘’, NULL, false, ‘utf8’)\n#5 C:\xampp\htdocs\journal\lib\pkp\classes\install\PKPInstall.inc.php(77): DBConnection->__construct(‘mysql’, ‘localhost’, ‘umkojs’, ‘’, NULL, false, ‘utf8’)\n#6 C:\xampp\htdocs\journal\lib\pkp\classes\install\Installer.inc.php in C:\xampp\htdocs\journal\lib\pkp\lib\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php on line 461, referer: http://127.0.0.1:8080/journal/index.php/index/install

i did solve everything for my problem !

  1. Call to undefined function mysql_connect() in C:\xampp\htdocs\journal\lib\pkp\lib\vendor\adodb\adodb-php\drivers\adodb-mysql.inc.php:461\nStack

SOLVED

  1. mysql extension is not supported since PHP 7.0.0, use mysqli instead

SOLVED

  1. Access denied for user ‘ojs3’@‘localhost’ (using password: NO)

SOLVED

Now everything is working fine ! :smile:

1 Like