Error - Deprecated: mysql_connect()
If you are seeing an error that looks like:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in userpathstconfig.php on line 197
It means that your host is showing warnings. In future releases, the system will be using mysqli functionality. For current releases, to remove the warnings, open the stconfig.php file, and add a @ in front of the mysql_connect function, changing it from:
mysql_connect
to:
@mysql_connect
In version 2.83, this code is around line 197:
@mysql_select_db(SB_DB_NAME) or die("Unable to select database");