Form Tools
HTTP ERROR 500 on Step 5 Installation process - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Form Tools 3 alpha (https://forums.formtools.org/forumdisplay.php?fid=21)
+--- Thread: HTTP ERROR 500 on Step 5 Installation process (/showthread.php?tid=30639)



HTTP ERROR 500 on Step 5 Installation process - HiTower - Feb 11th, 2018

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,


RE: HTTP ERROR 500 on Step 5 Installation process - Julian - Feb 12th, 2018

Whats the Version of FT you try to install?


RE: HTTP ERROR 500 on Step 5 Installation process - HiTower - Feb 12th, 2018

(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


RE: HTTP ERROR 500 on Step 5 Installation process - HiTower - Feb 13th, 2018

(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.