I'm having an issue installing my website. All files are uploaded to public, and it uses it's own installer (install.php).
I've set up a database, and while running the installer, I enter the DB name, user and password provided on the database page.
However, I get the following error:
Code: Select all
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/www/****/public/install/functions.php:201 Stack trace: #0 /usr/www/****/public/install.php(149): validate_data(Array) #1 {main} thrown in /usr/www/****/public/install/functions.php on line 201
I opened the functions.php, and looked at lines 201-202, and see that it's related to connecting to the database:
Code: Select all
if (!($server_check = @mysql_connect($dbhost, $dbuser, $dbpass))) {
$error .= "<tr><td align=\"center\"><font color=red>" . $install_lang['connection_failed'] . "</font></td></tr>";
As an aside, I used the autoinstaller to install phpmyadmin, and it works fine, and also installed phpBB into a different folder once i created a separate database, and that also works fine - I was able to log in etc.
Thanks,
Ice.