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
#2
Whats the Version of FT you try to install?
Reply
#3
(Feb 12th, 2018, 1:54 AM)Julian Wrote: Whats the Version of FT you try to install?

I am installing version 3.0.0 beta
Reply
#4
(Feb 12th, 2018, 9:34 AM)HiTower Wrote:
(Feb 12th, 2018, 1:54 AM)Julian Wrote: Whats the Version of FT you try to install?

I am installing version 3.0.0 beta

Problem resolved. I reinstalled and configured everything and noticed that the config.php step created the file in /global but did not include the database settings.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)