View Single Post
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 08-22-2016 , 00:27   Re: Is this broken with PHP7?
Reply With Quote #10

Quote:
Originally Posted by Darkimmortal View Post
https://github.com/kijin/mysql-compat

php.ini auto_prepend_file with this and everything written for the old mysql extension will just work (including HLX:CE)
I couldn't get that one to work (resulted in blank pages everywhere on my website). I found this one that does the same and does work:

https://sourceforge.net/projects/mysqlwithmysqli

Save file to your stats/include folder.

Edit: include/class_db.php

Below:
Code:
if ( !defined('IN_HLSTATS') ) { die('Do not access this file directly.');
Add:
Code:
include 'mysql_mysqli.inc.php';

Last edited by PAL-18; 08-22-2016 at 00:28.
PAL-18 is offline