Deploying OJS at Heroku Cloud

Dear,
I am trying to deploy OJS in the Heroku cloud and I am receiving the error message when trying to install

127.0.0.1:44568 [500]: /index.php/index/install/install - Uncaught Error: Call to undefined function mysql_connect() in /tmp/build_30214182f293c8920d9638266f9b5fc1/web/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456

The problem is that Heroku uses mysqli and based on what I have researched these mysql_…() functions have been deprecated.

Is there a way to make OJS use the updated mysql functions of mysqli or pdo?

Thank you,
Gustavo

1 Like

The database driver is selected on the installation form, and is recorded in config.inc.php’s “database” section.

1 Like

Hi @ctgraham
I changed and it did work properly.
Thank you,
Gustavo