Upgrade and PHP Fatal Error!

sriley / 2020-02-14 03:02:49   

Hello,

Hello,

Dreamhost is upgrading to PHP 7 and this is causing a malfunctioning on our website.
They wrote that the problem is
"your website seanrileystudio.com is not fully compatible with PHP 7.2 version
and it recently received our initial PHP upgrade on January 22nd.

The error being thrown on your website's backend is regarding a
deprecated function "mysql_connect()" used to connect your website
to its database. This was the error message thrown when testing your
website:

PHP Fatal error: Uncaught Error: Call to undefined function
mysql_connect() in
/home/searil2/seanrileystudio.com/ndxzstudio/db/db.mysql.php:41"

They suggest to upgrade Indexhibit, but we already have a 2 version.

What are we supposed to do?

Thank you!

sriley / 2020-02-14 15:50:45   

Hello, Just wanted to let you know that I upgraded Indexhibit from 2.0 .x to 2.1.6 and also upgraded PHP on the server to 7.2
All seems to work at the moment!

For future references:
- I have downloaded the latest version of Indexhibit from GitHub and followed the instructions from Tutorials (upgrade a version two...)
- I used the webFTP app on my site host control panel as FileZilla was not connecting and couldn't download/upload/overwrite files/folders
- Then followed the instructions to upgrade PHP on the control panel of my site host (dreamhost)
Hope this is helpful to someone.

Thank you

This thread has been closed, thank you.