Summary | Setup fails with "Invalid data" for database settings |
Queue | Horde Base |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | t.juhnke (at) gmx (dot) de |
Created | 04/21/2005 (7455 days ago) |
Due | |
Updated | 04/22/2005 (7454 days ago) |
Assigned | 04/21/2005 (7455 days ago) |
Resolved | 04/22/2005 (7454 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
forgot to execute
php -q install-packages.php
;)
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!
I entered this command to check out the horde base:
cvs co horde
version information: "Horde: 3.1-cvs"
The conf.xml has this version information:
<!-- $Horde: horde/config/conf.xml,v 1.87 2005/04/15 20:44:53 jan Exp $ -->
And this is the content of the configtab section "Database":
<configtab name="sql" desc="Database">
<configsection name="sql">
<configheader>Horde Database Settings</configheader>
<configsql switchname="phptype" baseconfig="true" />
</configsection>
</configtab>
I've copied the information from the older conf.xml over this
configtab and the setup was successfull now...
State ⇒ Feedback
this is where you define the defaults. And I don't get this selection.
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Setup fails with "Invalid data" for database settings
Queue ⇒ Horde Base
I've checked out the latest code of the horde framework. After
installing the database and checking the settings with test.php I
wanted to configure the application. I've set the correct database
connection values at the database tab. But after clicking on "Generate
Horde Configuration" (Is this right? I'm using the german
translation.) an error occured:
"There was an error in the configuration form. Perhaps you left out a
required field."
The Setup returned to the "Database" tab and the select box is set to
"Horde defaults", but I had entered the correct values after selecting
"Custom parameters".
Also, after changing this select box in e.g. "Preference system" (What
preferences driver should we use?) from "None" to "SQL Database", the
entered information at the "Database" tab gets lost. I've compared the
conf.xml file of another (older) horde installation and there are some
big changes at the section
<configtab name="sql" desc="Database">
e.g. the list with all database values isn't existent in the current conf.xml.