From d84bebc1d58d1c51ccef0a855246ff47c833fed1 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Sat, 27 Jan 2018 22:12:11 +0300 Subject: [PATCH] Fix. Create database scheme before trying insert record to `v_database` (#2965) Problem that `create_database_pgsql` does not create actual scheme but `create_odbc_database_connection` try insert record to v_database and installation fails. --- core/install/resources/classes/install_fusionpbx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/resources/classes/install_fusionpbx.php b/core/install/resources/classes/install_fusionpbx.php index 64c4abb940..b20f6c85ce 100644 --- a/core/install/resources/classes/install_fusionpbx.php +++ b/core/install/resources/classes/install_fusionpbx.php @@ -378,7 +378,7 @@ include "root.php"; //add the database structure require_once "resources/classes/schema.php"; $schema = new schema; - //echo $schema->schema(); + echo $schema->schema(); //get the contents of the sql file if (file_exists('/usr/share/examples/fusionpbx/sql/pgsql.sql')){