[Tickets #1844] Setup fails with "Invalid data" for database settings

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Apr 22 05:28:40 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1844
-----------------------------------------------------------------------
 Ticket             | 1844
 Updated By         | t.juhnke at gmx.de
 Summary            | Setup fails with "Invalid data" for database settings
 Queue              | Horde Base
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


t.juhnke at gmx.de (2005-04-22 05:28) wrote:

No, I didn't update from an older checkout. I got another installation of
horde (other directory, other server) and compared the two conf.xml files of
the /horde/config directory. I thought that there must be an error with this
configuration file. And I saw that the new conf.xml (v 1.87) isn't the same
as the conf.xml (v 1.74) of the other installation. Especially at the
Database configtab section!

I solved this problem, by replacing

 <configtab name="sql" desc="Database">
  <configsection name="sql">
   <configheader>Horde Database Settings</configheader>
   <configsql switchname="phptype" baseconfig="true" />
  </configsection>
</configtab>

with 

<configtab name="sql" desc="Database">
  <configsection name="sql">
   <configheader>Horde Database Settings</configheader>
   <configenum name="phptype" desc="If Horde uses a database, which database
backend are we using? If you are not using a database for anything, you can
ignore this entire section.">mysql
    <values>
     <value desc="dBase">dbase</value>
     <value desc="Firebird/InterBase">ibase</value>
     <value desc="Frontbase">fbsql</value>
     <value desc="Informix">ifx</value>
     <value desc="mSQL">msql</value>
     <value desc="MS SQL Server">mssql</value>
     <value desc="MySQL">mysql</value>
     <value desc="Oracle 8">oci8</value>
     <value desc="ODBC">odbc</value>
     <value desc="PostgreSQL">pgsql</value>
     <value desc="SQLite">sqlite</value>
     <value desc="Sybase">sybase</value>
    </values>
   </configenum>
   <configboolean name="persistent" desc="Request persistent
connections?">false</configboolean>
   <configswitch name="protocol" desc="What protocol will we use to connect
to the database?">unix
    <case name="unix" desc="UNIX Sockets">
     <configstring name="socket" required="false" desc="Location of UNIX
socket"/>
    </case>
    <case name="tcp" desc="TCP/IP">
     <configinteger name="port" required="false" desc="Port the DB is
running on, if non-standard"/>
    </case>
   </configswitch>
   <configstring name="hostspec" desc="What hostname is the database server
running on, or what is the name of the system DSN to
use?">localhost</configstring>
   <configstring name="username" desc="What username do we authenticate to
the database server as?">horde</configstring>
   <configstring name="password" required="false" desc="What password do we
authenticate to the database server with?"/>
   <configstring name="database" desc="What database name/tablespace are we
using?">horde</configstring>
   <configstring name="charset" desc="What charset does the database use
internally?">iso-8859-1</configstring>
  </configsection>
 </configtab>

and the setup of the current CVS snapshot worked! Thanks for your help and
tipps!




More information about the bugs mailing list