FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP ERROR 500 on Step 5 Installation process
#1
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,
Reply


Messages In This Thread
HTTP ERROR 500 on Step 5 Installation process - by HiTower - Feb 11th, 2018, 2:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)