#1449: Installer improved to add a zebra/Nozebra screen
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / installer / step2.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Web Installer &rsaquo; Step 2</title>
2 <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
3 <div>
4 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/img/koha.org-logo.gif" /> Web Installer &rsaquo; Step 2</h1>
5 <h2 align="center">Database settings:</h2>
6 <ul>
7 <li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
8 <li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
9 <li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
10 <li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
11 </ul>
12 <div>
13 <!--TMPL_IF NAME="mysqlconnection"-->
14 <form name="checkmysqlparameters" type="post" action="install.pl">
15   <!--TMPL_IF NAME="checkdatabaseaccess"-->
16   <p>Connection established.</p>
17      <!--TMPL_IF NAME="checkdatabasecreated"-->
18   <p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
19         <!--TMPL_IF NAME="checkgrantaccess"-->
20   <p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
21         <!--TMPL_ELSE-->
22   <p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
23   <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>
24         <!--/TMPL_IF-->
25       <!--TMPL_ELSE-->
26   <p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
27   <p class="tip">Please create the database before continuing.</p>
28       <!--/TMPL_IF-->
29    <!--TMPL_ELSE-->
30     <div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
31     </div>
32     <div class="tip">
33       <ul>
34       <li>Check that your database is running.</li>
35       <li>Check your database settings in <code>koha.xml</code>. </li>
36       <li>Check the hostname setting in <code>koha.xml</code>. 
37       Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
38     </div>
39     <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
40   <!--/TMPL_IF-->
41   <!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
42 <input type="hidden" name="step" value="3" />
43 <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
44 <!-- /TMPL_IF -->
45 </form>
46 <!--TMPL_ELSE-->
47 <form name="checkinformation" type="post" action="install.pl">
48 <input type="hidden" name="step" value="2" />
49 <input type="hidden" name="checkmysql" value="1" />
50 <p> Please click Next to continue if this information is correct <input value="Next &gt;&gt;" type="submit" /></p>
51 </form>
52 <!--/TMPL_IF-->
53 </div>
54 </body>
55 </html>