From d24fe065fbabc43950102f0931b638f84f2e5358 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Wed, 18 Jan 2023 17:28:26 +0100 Subject: [PATCH] #10138 errors position fixed --- pandora_console/install.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pandora_console/install.php b/pandora_console/install.php index 668d3e54ee..be9ffb0865 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -919,14 +919,16 @@ function install_step4() } if ($step1 == 1) { - echo '
'; $step2 = mysql_select_db($dbname); check_generic($step2, "Opening database '$dbname'"); + echo '
'; $step3 = parse_mysql_dump('pandoradb.sql'); + echo '
'; check_generic($step3, 'Creating schema'); - + echo '
'; $step4 = parse_mysql_dump('pandoradb_data.sql'); + echo '
'; check_generic($step4, 'Populating database'); if (PHP_OS == 'FreeBSD') { $step_freebsd = adjust_paths_for_freebsd($engine); @@ -1003,7 +1005,6 @@ function install_step4() fclose($cfgout); chmod($pandora_config, 0600); check_generic($step7, "Created new config file at '".$pandora_config."'"); - echo '
'; } } @@ -1033,13 +1034,15 @@ function install_step4() } if ($step1 == 1) { - echo '
'; $step2 = mysqli_select_db($connection, $dbname); check_generic($step2, "Opening database '$dbname'"); - + echo '
'; $step3 = parse_mysqli_dump($connection, 'pandoradb.sql'); + echo '
'; check_generic($step3, 'Creating schema'); + echo '
'; $step4 = parse_mysqli_dump($connection, 'pandoradb_data.sql'); + echo '
'; check_generic($step4, 'Populating database'); if (PHP_OS == 'FreeBSD') { $step_freebsd = adjust_paths_for_freebsd($engine, $connection); @@ -1125,7 +1128,6 @@ function install_step4() fclose($cfgout); chmod($pandora_config, 0600); check_generic($step7, "Created new config file at '".$pandora_config."'"); - echo '
'; } }