f5903fbbb5
* rewrite-config.PL now puts in installed location of koha-conf.xml in C4/Context.pm so that correct config can be found even when KOHA_CONF is not set. Note that setting KOHA_CONF will still override path set by installer. * changed references from koha.xml to koha-conf.xml
59 lines
3.1 KiB
Cheetah
59 lines
3.1 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/img/koha.org-logo.gif" /> Web Installer › Step 2</h1>
|
|
<h2 align="center">Database settings:</h2>
|
|
<ul>
|
|
<li><em>database type : </em><!--TMPL_VAR NAME="dbms"--></li>
|
|
<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="dbconnection"-->
|
|
<form name="checkdbparameters" 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 <!--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>
|
|
<!--/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-conf.xml</code>. </li>
|
|
<li>Check the hostname setting in <code>koha-conf.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="checkdb" 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>
|