I am getting this error:
Message: Undefined index: step3_db_error
File: C:\AppServ\www\install\index.php
Line: 368
URL: localhost/install/index.php?step=6
Here is my code:
            update_config(array(
                'timezone'          => @date_default_timezone_get(),
                'lang'              => $LANG->GetUser(),
                'OverviewNewsText'  => $LNG['sql_welcome'].'1.7',
                'uni_name'          => $LNG['fcm_universe'].' 1',
                'close_reason'      => $LNG['sql_close_reason'],
                'moduls'            => implode(';', array_fill(0, MODULE_AMOUNT, 1))
            ), 1);
            HTTP::redirectTo('index.php?step=7');
        } catch (Exception $e) {
                $template->assign(array(
                'class'     => 'fatalerror',
                'message'   => $LNG['step3_db_error'].'</p><p>'.$GLOBALS['DATABASE']->error,
            ));
            $template->show('ins_step4.tpl');
            exit;
        }
Line 368:
('message'  => $LNG['step3_db_error'].'</p><p>'.$GLOBALS['DATABASE']->error,)
and I also get:
Message: Undefined property: Database::$queryCount
File: C:\AppServ\www\includes\classes\class.Database.php
Line: 76
URL: localhost/index.php
Here is the code:
    public function query($resource)
    {
        if($result = parent::query($resource))
        {
            $this->queryCount++;
            return $result;
        }
        else
        {
            throw new Exception("SQL Error: ".$this->error."<br><br>Query Code: ".$resource);
        }
        return false;
    }
Line 76:
(this->queryCount++;)
 
    