Call to undefined function mysql_connect()
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 |
Re: Call to undefined function mysql_connect()
Hi, this is because you are running on a php version where those functions were replaced with their mysqli* functions. You will have to change those functions to be according with your php version. See https://bitbucket.org/Maverick_of_UC...ble-with-php-7
|
Re: Call to undefined function mysql_connect()
Hello,
PHP 7 and GeoIP2 version: https://github.com/NomisCZ/hlstatsx-community-edition |
All times are GMT -4. The time now is 17:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.