michaelsilvers7
New Member
I'm trying to make a webpage using @Znote s geisor and everything is fine on step 1-4 on instalation at 127.0.0.1 (my root ip), but when i get to step 5 to create an admin account i get this error.
Fatal error: Uncaught Error: Call to a member function fetch() on boolean in C:\xampp\htdocs\classes\account.php:33 Stack trace: #0 C:\xampp\htdocs\classes\account.php(21): Account->load(1, 'name') #1 C:\xampp\htdocs\install.php(517): Account->__construct(1, 'name') #2 {main} thrown in C:\xampp\htdocs\classes\account.php on line 33
This is my line in xampp/htdocs/classes/account.php on line 33
$this->data = $this->getDatabaseHandler()->query('SELECT ' . implode(', ', $fieldsArray) . ' FROM ' . $this->getDatabaseHandler()->tableName(self::$table) . ' WHERE ' . $search_string)->fetch();
Please help I've tried installing other people's htdocs with the same issue. And I've even tried reinstalling xampp. PLEASE REPLY, REP++
Fatal error: Uncaught Error: Call to a member function fetch() on boolean in C:\xampp\htdocs\classes\account.php:33 Stack trace: #0 C:\xampp\htdocs\classes\account.php(21): Account->load(1, 'name') #1 C:\xampp\htdocs\install.php(517): Account->__construct(1, 'name') #2 {main} thrown in C:\xampp\htdocs\classes\account.php on line 33
This is my line in xampp/htdocs/classes/account.php on line 33
$this->data = $this->getDatabaseHandler()->query('SELECT ' . implode(', ', $fieldsArray) . ' FROM ' . $this->getDatabaseHandler()->tableName(self::$table) . ' WHERE ' . $search_string)->fetch();
Please help I've tried installing other people's htdocs with the same issue. And I've even tried reinstalling xampp. PLEASE REPLY, REP++