[horde] Horde Webmail edition, initial install. Fatal error on webmail-install

Ralf Lang lang at b1-systems.de
Wed Jan 18 08:58:09 UTC 2012


Am 18.01.2012 06:21, schrieb Mallard:
> I am literally following the instructions on
> http://www.horde.org/apps/webmail/docs/INSTALL . I've done this four
> times and every time I get a similar error. I can never get to the
> configure page. I am running on Ubuntu 10.04LTS, and on occasion I have
> been able to load test.php; there are no errors displayed there. I've
> done this
>
> pear uninstall `pear list -c horde | tail -n +4 | awk '{ print
> "horde/"$1 }'`
>
> followed by carefully manually deleting the MySql database, the Mysql
> USER!, recreating them with new names, running new Pears, etc etc.
>
>
> I've had Horde webmail working for years, and I have set up Horde 3 a
> bunch of times. The new setup process is opaque, to say the least.
>
> Here's my most recent FAIL :
>
> me:~$ sudo webmail-install
> PHP Deprecated: Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0
> PHP Deprecated: Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
> PHP Deprecated: Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
> PHP Warning: Module 'imap' already loaded in Unknown on line 0
> PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
>
> Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and
> greater in Unknown on line 0
>
> Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and
> greater in Unknown on line 0
>
> Installing Horde Groupware Webmail Edition
>
> Configuring database settings
>
> What database backend should we use?
> (false) [None]
> (mysql) MySQL / PDO
> (mysqli) MySQL (mysqli)
> (pgsql) PostgreSQL
> (sqlite) SQLite
>
> Type your choice []: mysql
> Request persistent connections?
> (1) Yes
> (0) No
>
> Type your choice [0]: 0
>
> Username to connect to the database as* [] horde
> Password to connect with
> How should we connect to the database?
> (unix) UNIX Sockets
> (tcp) TCP/IP
>
> Type your choice [unix]:
>
> Location of UNIX socket []
>
> Database name to use* [] horde4
>
> Internally used charset* [utf-8]
> Use SSL to connect to the server?
> (1) Yes
> (0) No
>
> Type your choice [0]: 0
>
> Certification Authority to use for SSL connections []
> Split reads to a different server?
> (false) Disabled
> (true) Enabled
>
> Type your choice [false]:
>
> Writing main configuration file... done.
>
> Creating and updating database tables...
> ====================
>
> Fatal Error:
> SQLSTATE[42000]: Syntax error or access violation: 1064 You have an
> error in your SQL syntax; check the manual that corresponds to your
> MySQL server version for the right syntax to use near '1 = event_end' at
> line 1
>
> 1. Horde_Core_Bundle->migrateDb() /usr/bin/webmail-install:32
> 2. Horde_Db_Migration_Migrator->up()
> /usr/share/php/Horde/Core/Bundle.php:107
> 3. Horde_Db_Migration_Migrator->_doMigrate()
> /usr/share/php/Horde/Db/Migration/Migrator.php:102
> 4. Horde_Db_Migration_Base->migrate()
> /usr/share/php/Horde/Db/Migration/Migrator.php:182
> 5. KronolithUpgradeAddAllDay->up()
> /usr/share/php/Horde/Db/Migration/Base.php:121
> 6. KronolithUpgradeAddAllDay->execute()
> /var/www/html/webmail/kronolith/migration/3_kronolith_upgrade_addallday.php:24
>
> 7. Horde_Db_Migration_Base->__call()
> 8. call_user_func_array() /usr/share/php/Horde/Db/Migration/Base.php:86
> 9. Horde_Db_Adapter_Base->execute()
>
> ====================
>
> Any ideas?
>
> /Mallard

Search the bug tracker.
There is a bug http://bugs.horde.org/ticket/10902 which seems similar to 
your problem. It might help to post your exact mysql version, 
distribution etc there.


More information about the horde mailing list