Feb 11th, 2018, 2:13 PM
During the installation process of Step 5 - Create Admin Account i get a HTTP ERROR 500. I look at the error log and it says...
PHP Fatal error: Call to a member function prepare() on null in /"mydirtothisfile"/global/code/Database.class.php on line 65
Database.class.php file on line 65 show the following code:
/**
* This is a convenience wrapper for PDO's prepare method. It replaces {PREFIX} with the database
* table prefix so you don't have to include it everywhere.
* @param $query
*/
public function query($query)
{
$query = str_replace('{PREFIX}', $this->table_prefix, $query);
$this->statement = $this->dbh->prepare($query);
}
Does anyone know a fix for this?
Thanks,
PHP Fatal error: Call to a member function prepare() on null in /"mydirtothisfile"/global/code/Database.class.php on line 65
Database.class.php file on line 65 show the following code:
/**
* This is a convenience wrapper for PDO's prepare method. It replaces {PREFIX} with the database
* table prefix so you don't have to include it everywhere.
* @param $query
*/
public function query($query)
{
$query = str_replace('{PREFIX}', $this->table_prefix, $query);
$this->statement = $this->dbh->prepare($query);
}
Does anyone know a fix for this?
Thanks,