Projekt

Obecné

Profil

« Předchozí | Další » 

Revize e2774d63

Přidáno uživatelem Ondřej Fibich před téměř 6 roky(ů)

Refs #1101: Support for Debian Stretch (PHP 7.0 + Maria DB 15.1). Improved setup that no longer support database creation (in Maria DB it is hard to do so from non-root user due to security restrictions), database setup error cause was added, disabling Settings DB queries in non-setup environment. In order to fix DB init some FK indexes/constrains must have been renamed in 1.1.0 SQL script (Maria DB enforces uniqueness on FK names).

Conflicts:
application/libraries/MY_Controller.php
tests/deb_package_check.sh

Zobrazit rozdíly:

application/views/setup_config/setup.php
<?php if (isset($error) && $error): ?>
<h2><?php echo __('Cannot connect to database') ?></h2>
<?php if (isset($error_cause) && $error_cause): ?>
<p class="error"><?php echo __('Error') . ': ' . $error_cause ?></p>
<?php endif ?>
<p><?php echo __('It can means that username/password/host are bad or host is unavailable.') ?></p>
<ul>
<li><?php echo __('Are you really sure that you use correct username and password?') ?></li>

Také k dispozici: Unified diff