Having trouble getting to the login page
Hi Here is my configuration setup:
private $localServers = array('/localhost/');
private function local()
{
ini_set('display_errors', '1');
ini_set('error_reporting', E_ALL);
define('WEB_ROOT', '');
$this->dbHost = 'localhost';
$this->dbName = 'demo';
$this->dbUsername = 'root';
$this->dbPassword = 'password';
$this->dbDieOnError = true;
}
I've tried to change the regular expression every which way i've seen in the group discussions, but i keep ketting this error on Xampp
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/sandbox/simple-php-framework-master/includes/class.database.php on line 66
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Applications/XAMPP/xamppfiles/htdocs/sandbox/simple-php-framework-master/includes/class.database.php on line 207
Thanks for the help