[horde] horde4 - fresh install via pear - how to create database tables

Jan Schneider jan at horde.org
Mon May 9 09:03:44 UTC 2011


Zitat von Torsten Krah <tkrah at fachschaft.imn.htwk-leipzig.de>:

> Hi,
>
> did install via pear and it worked like described in INSTALL docs.
>
> But after saving the conf.php i am not able to proceed because i receive
> this error:
>
> SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "horde_perms" does
> not exist
> LINE 1: SELECT COUNT(*) FROM horde_perms WHERE perm_name = 'horde'
>
>
> horde-db-migrate trace:
>
> Fatal Error:
> SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "horde_perms" does
> not exist
> LINE 1: SELECT COUNT(*) FROM horde_perms WHERE perm_name = 'horde'
>                              ^
>
> 1. Horde_Registry::appInit() /usr/bin/horde-db-migrate:28
> 2. Horde_Registry->__construct() /usr/share/php/Horde/Registry.php:231
> 3. Horde_Injector->getInstance() /usr/share/php/Horde/Registry.php:440
> 4.
> Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:248
> 5.
> Horde_Injector_Binder_Factory->create() /usr/share/php/Horde/Injector.php:213
> 6.
> Horde_Core_Factory_Notification->create()  
> /usr/share/php/Horde/Injector/Binder/Factory.php:111
> 7.
> Horde_Registry->listApps()  
> /usr/share/php/Horde/Core/Factory/Notification.php:26
> 8. Horde_Registry->hasPermission() /usr/share/php/Horde/Registry.php:784
> 9. Horde_Perms_Sql->exists() /usr/share/php/Horde/Registry.php:1417
>
>
>
> I'ev got no horde3 setup but want to install to a fresh database with no
> tables there - how to set up horde4 tables to proceed with the
> installation - i am stuck.

Did you use the Horde 3 configuration and tried to update that? This  
might not work, re-create the Horde 4 configuration from scratch  
instead.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list