Originally Posted by Philipp
This is a bug because there is no mysqli_pconnect in the MySQLi extension. To fix this issue, replace line 31 in /ubb/libs/mysqli.inc.php:
Code
				$this->dbh = mysqli_pconnect("p:" . $config['DATABASE_SERVER'], $config['DATABASE_USER'], $config['DATABASE_PASSWORD'], $config['DATABASE_NAME']) or die("Problem occured in connection");
with:
Code
				$this->dbh = mysqli_connect("p:" . $config['DATABASE_SERVER'], $config['DATABASE_USER'], $config['DATABASE_PASSWORD'], $config['DATABASE_NAME']) or die("Problem occured in connection");

The "p:" will already open the persistent connection

Thank you for this. It will be corrected for a future release.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com