f4c0b2f80d
validation improvements for installer improvements to descriptions of the optional sql data defaults
56 lines
2.9 KiB
Cheetah
56 lines
2.9 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Web Installer › Step 2</title>
|
|
<!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
|
|
<div>
|
|
<h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/en/images/koha.org-logo.gif" /></h1>
|
|
<h1>Koha › Web Installer › Step 2</h1>
|
|
<h2 align="center">Database settings:</h2>
|
|
<ul>
|
|
<li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
|
|
<li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
|
|
<li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
|
|
<li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
|
|
</ul>
|
|
<div>
|
|
<!--TMPL_IF NAME="mysqlconnection"-->
|
|
<form name="checkmysqlparameters" type="post" action="install.pl">
|
|
<!--TMPL_IF NAME="checkdatabaseaccess"-->
|
|
<p>Connection established.</p>
|
|
<!--TMPL_IF NAME="checkdatabasecreated"-->
|
|
<p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
|
|
<!--TMPL_IF NAME="checkgrantaccess"-->
|
|
<p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
|
|
<!--TMPL_ELSE-->
|
|
<p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
|
|
<p class="tip"> Ask for or make a change in the user's privileges. Need help? See <a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html>this page</a>. User <code><!--TMPL_VAR NAME="user"--></code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code><!--TMPL_VAR Name="dbname"--></code></p>
|
|
<!--/TMPL_IF-->
|
|
<!--TMPL_ELSE-->
|
|
<p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
|
|
<p class="tip">Please create the database before continuing.</p>
|
|
<!--/TMPL_IF-->
|
|
<!--TMPL_ELSE-->
|
|
<div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
|
|
</div>
|
|
<div class="tip">
|
|
<ul>
|
|
<li>Check that your database is running.</li>
|
|
<li>Check your database settings in <code>koha.xml</code>. </li>
|
|
<li>Check the hostname setting in <code>koha.xml</code>.
|
|
Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
|
|
</div>
|
|
<p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
|
|
<!--/TMPL_IF-->
|
|
<!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
|
|
<input type="hidden" name="step" value="3" />
|
|
<p> Click Next to continue <input value="Next >>" type="submit"></p>
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
<!--TMPL_ELSE-->
|
|
<form name="checkinformation" type="post" action="install.pl">
|
|
<input type="hidden" name="step" value="2" />
|
|
<input type="hidden" name="checkmysql" value="1" />
|
|
<p> Please click Next to continue if this information is correct <input value="Next >>" type="submit"></p>
|
|
</form>
|
|
<!--/TMPL_IF-->
|
|
</div>
|
|
</body>
|
|
</html>
|