View Single Post
Author Message
HiddenConn1
AlliedModders Donor
Join Date: Aug 2009
Location: Cambridge, UK
Old 02-26-2020 , 08:22   Call to undefined function mysql_connect()
Reply With Quote #1

Code:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/<snip>/stats.unifiedgaming.net/includes/class_db.php:87 Stack trace: #0 /home/<snip>/stats.unifiedgaming.net/hlstats.php(130): DB_mysql->DB_mysql('localhost', '<snip>_<snip>...', '<snip>', '<snip>', 0) #1 {main} thrown in /home/<snip>/stats.unifiedgaming.net/includes/class_db.php on line 87
Code:
[25-Feb-2020 17:59:42 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB_mysql has a deprecated constructor in /home/<snip>/stats.unifiedgaming.net/includes/class_db.php on line 58
[25-Feb-2020 17:59:42 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Table has a deprecated constructor in /home/<snip>/stats.unifiedgaming.net/includes/class_table.php on line 48
I am getting this error when trying to install HLStatsX on my website. How can I fix this?
__________________
HiddenConn1 is offline