Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / installer / step2.tmpl
1
2
3
4 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Web Installer &rsaquo; Step 2</title>
5 <!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
6 <div>
7 <h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/img/koha.org-logo.gif" /> Web Installer &rsaquo; Step 2</h1>
8 <h2 align="center">Database settings:</h2>
9 <ul>
10 <li><em>database type : </em><!--TMPL_VAR NAME="dbms"--></li>
11 <li><em>database name : </em><!--TMPL_VAR NAME="dbname"--></li>
12 <li><em>database host : </em><!--TMPL_VAR NAME="hostname"--></li>
13 <li><em>database port : </em><!--TMPL_VAR NAME="port"--> (probably OK if blank)</li>
14 <li><em>database user : </em><!--TMPL_VAR NAME="user"--></li>
15 </ul>
16 <div>
17 <!--TMPL_IF NAME="dbconnection"-->
18 <form name="checkdbparameters" type="post" action="install.pl">
19   <!--TMPL_IF NAME="checkdatabaseaccess"-->
20   <p>Connection established.</p>
21      <!--TMPL_IF NAME="checkdatabasecreated"-->
22   <p>Database <code><!--TMPL_VAR NAME="dbname"--></code> exists.</p>
23         <!--TMPL_IF NAME="checkgrantaccess"-->
24   <p>User <code><!--TMPL_VAR NAME="user"--></code> has all required privileges on database <code><!--TMPL_VAR Name="dbname"--></code>.</p>
25         <!--TMPL_ELSE-->
26   <p class="error">user <code><!--TMPL_VAR NAME="user"--></code> doesn't have enough privilege on database <code><!--TMPL_VAR Name="dbname"--></code> </p>
27   <p class="tip"> Ask for or make a change in the user's privileges. Need help? See <!--TMPL_IF NAME="mysql"--><a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html><!--TMPL_ELSE-->http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html<!--/TMPL_IF-->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>
28         <!--/TMPL_IF-->
29       <!--TMPL_ELSE-->
30   <p class="error">No database named <code><!--TMPL_VAR NAME="dbname"--></code> detected.</p>
31   <p class="tip">Please create the database before continuing.</p>
32       <!--/TMPL_IF-->
33    <!--TMPL_ELSE-->
34     <div class="error"><!--TMPL_VAR name="error"--> : <!--TMPL_VAR NAME="message"-->
35     </div>
36     <div class="tip">
37       <ul>
38       <li>Check that your database is running.</li>
39       <li>Check your database settings in <code>koha-conf.xml</code>. </li>
40       <li>Check the hostname setting in <code>koha-conf.xml</code>. 
41       Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
42     </div>
43     <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
44   <!--/TMPL_IF-->
45   <!-- TMPL_IF NAME="error" --><!-- TMPL_ELSE -->
46 <input type="hidden" name="step" value="3" />
47 <p> Click Next to continue <input value="Next &gt;&gt;" type="submit" /></p>
48 <!-- /TMPL_IF -->
49 </form>
50 <!--TMPL_ELSE-->
51 <form name="checkinformation" type="post" action="install.pl">
52 <input type="hidden" name="step" value="2" />
53 <input type="hidden" name="checkdb" value="1" />
54 <p> Please click Next to continue if this information is correct <input value="Next &gt;&gt;" type="submit" /></p>
55 </form>
56 <!--/TMPL_IF-->
57 </div>
58 </body>
59 </html>