exec()) { header('location: connection.php?err=1'); exit; } $databases = $checkConnection->getConnection()->query('SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA'); if(false === $databases){ header('location: connection.php?err=1'); exit; } } elseif($_SESSION['install']['step'] >=3) { $checkConnection = new \Thelia\Install\CheckDatabaseConnection($_SESSION['install']['host'], $_SESSION['install']['username'], $_SESSION['install']['password'], $_SESSION['install']['port']); } else { header('location: connection.php?err=1'); exit; } $_SESSION['install']['step'] = 4; $connection = $checkConnection->getConnection(); ?>
Sorry, an unexpected error occured: %err
Error details:
%details
', [ '%err' => $ex->getMessage(), '%details' => nl2br($ex->getTraceAsString()) ] ); ?>