[horde] horde 4 installation error

John H. Bennett III bennettj at thebennetthome.com
Sat Mar 17 00:37:50 UTC 2012


Quoting "John H. Bennett III" <bennettj at thebennetthome.com>:

> Hello list,
>
> I've decided to try installing horde 4, and I'm running into an  
> issue.  I can get horde downloaded through pear, go to the admin  
> screen and configure the settings.  I copy the new conf.php, then  
> try to run /usr/bin/horde-db-migrate and I get this below error.
>
> ====================
>
> Fatal Error:
> Missing base parameter.
>
>  1. Horde_Registry::appInit() /usr/bin/horde-db-migrate:31
>  2. Horde_Registry->__construct() /usr/share/pear/Horde/Registry.php:238
>  3. Horde_Injector->getInstance() /usr/share/pear/Horde/Registry.php:452
>  4. Horde_Injector->createInstance() /usr/share/pear/Horde/Injector.php:248
>  5. Horde_Injector_Binder_Factory->create()  
> /usr/share/pear/Horde/Injector.php:213
>  6. Horde_Core_Factory_Notification->create()  
> /usr/share/pear/Horde/Injector/Binder/Factory.php:111
>  7. Horde_Registry->listApps()  
> /usr/share/pear/Horde/Core/Factory/Notification.php:27
>  8. Horde_Registry->hasPermission() /usr/share/pear/Horde/Registry.php:804
>  9. Horde_Registry->isAuthenticated() /usr/share/pear/Horde/Registry.php:1439
> 10. Horde_Core_Factory_Auth->create() /usr/share/pear/Horde/Registry.php:1905
> 11. Horde_Core_Factory_Auth->_create()  
> /usr/share/pear/Horde/Core/Factory/Auth.php:61
> 12. Horde_Auth::factory() /usr/share/pear/Horde/Core/Factory/Auth.php:203
> 13. Horde_Core_Auth_Application->__construct()  
> /usr/share/pear/Horde/Auth.php:75
>
> The only post I could find on the net stated imp needed to be  
> installed as well, and I want to know if this is true with my error.
>
> My pear is up to date, and below is the current conf.php file from  
> my test server.
>
> [root at www config]# more conf.php
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Id: 7132f71317ff8b99212d581514435cc9765c7a9e $
> $conf['vhosts'] = false;
> $conf['debug_level'] = E_ALL & ~E_NOTICE;
> $conf['max_exec_time'] = 0;
> $conf['compress_pages'] = true;
> $conf['secret_key'] =  
> 'ysijmKG4h0uDW0e6jzKPKRK7lnvqUKHGWpgGhUrwZQRg/1tT5iqOLGfccQiKlQIt1Rm9U9wLRJmY';
> $conf['umask'] = 077;
> $conf['testdisable'] = true;
> $conf['use_ssl'] = 2;
> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
> $conf['urls']['token_lifetime'] = 30;
> $conf['urls']['hmac_lifetime'] = 30;
> $conf['urls']['pretty'] = false;
> $conf['safe_ips'] = array();
> $conf['session']['name'] = 'Horde';
> $conf['session']['use_only_cookies'] = true;
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['timeout'] = 0;
> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
> $conf['cookie']['path'] = '/horde';
> $conf['sql']['persistent'] = false;
> $conf['sql']['username'] = 'horde';
> $conf['sql']['password'] =  
> 'Nm9WWeIhmReL9amsXkcBv/y+KWT5llkFLA7Fsa2LyCHj/lp8Kjq6tqP/kiOARlsd6FBvpUxlEge6';
> $conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['database'] = 'horde';
> $conf['sql']['charset'] = 'utf-8';
> $conf['sql']['ssl'] = false;
> $conf['sql']['splitread'] = false;
> $conf['sql']['phptype'] = 'mysql';
> $conf['ldap']['useldap'] = false;
> $conf['auth']['admins'] = array('Administrator', 'admin');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = true;
> $conf['auth']['resetpassword'] = true;
> $conf['auth']['alternate_login'] = false;
> $conf['auth']['redirect_on_logout'] = false;
> $conf['auth']['list_users'] = 'list';
> $conf['auth']['params']['app'] = 'horde';
> $conf['auth']['driver'] = 'application';
> $conf['auth']['params']['count_bad_logins'] = true;
> $conf['auth']['params']['login_block'] = true;
> $conf['auth']['params']['login_block_count'] = 5;
> $conf['auth']['params']['login_block_time'] = 5;
> $conf['signup']['allow'] = false;
> $conf['log']['priority'] = 'NOTICE';
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['name'] = LOG_USER;
> $conf['log']['type'] = 'syslog';
> $conf['log']['enabled'] = true;
> $conf['log_accesskeys'] = false;
> $conf['prefs']['params']['table'] = 'horde_prefs';
> $conf['prefs']['params']['driverconfig'] = 'horde';
> $conf['prefs']['driver'] = 'Sql';
> $conf['alarms']['params']['table'] = 'horde_alarms';
> $conf['alarms']['params']['driverconfig'] = 'horde';
> $conf['alarms']['params']['ttl'] = 300;
> $conf['alarms']['driver'] = 'Sql';
> $conf['datatree']['params']['table'] = 'horde_datatree';
> $conf['datatree']['params']['table_attributes'] =  
> 'horde_datatree_attributes';
> $conf['datatree']['params']['driverconfig'] = 'horde';
> $conf['datatree']['driver'] = 'sql';
> $conf['group']['driverconfig'] = 'horde';
> $conf['group']['driver'] = 'Sql';
> $conf['perms']['driverconfig'] = 'horde';
> $conf['perms']['driver'] = 'Sql';
> $conf['share']['no_sharing'] = false;
> $conf['share']['auto_create'] = true;
> $conf['share']['world'] = true;
> $conf['share']['any_group'] = true;
> $conf['share']['hidden'] = false;
> $conf['share']['cache'] = false;
> $conf['share']['driver'] = 'Sql';
> $conf['cache']['default_lifetime'] = 1800;
> $conf['cache']['params']['dir'] = '/tmp/';
> $conf['cache']['params']['sub'] = 0;
> $conf['cache']['driver'] = 'File';
> $conf['cache']['compress'] = true;
> $conf['cache']['use_memorycache'] = '';
> $conf['cachecss'] = false;
> $conf['cachejs'] = false;
> $conf['cachethemes'] = false;
> $conf['lock']['driver'] = 'Null';
> $conf['token']['driver'] = 'Null';
> $conf['mailer']['params']['auth'] = false;
> $conf['mailer']['type'] = 'smtp';
> $conf['mailformat']['brokenrfc2231'] = false;
> $conf['vfs']['params']['vfsroot'] = '/tmp';
> $conf['vfs']['type'] = 'File';
> $conf['sessionhandler']['type'] = 'Builtin';
> $conf['sessionhandler']['memcache'] = false;
> $conf['spell']['params']['path'] = '/usr/bin/aspell';
> $conf['spell']['driver'] = 'aspell';
> $conf['gnupg']['path'] = '/usr/bin/gpg';
> $conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
> $conf['gnupg']['timeout'] = 10;
> $conf['openssl']['cafile'] =  
> '/home/e-smith/ssl.crt/www.thebennetthome3.com.crt';
> $conf['openssl']['path'] = '/usr/bin/openssl';
> $conf['nobase64_img'] = false;
> $conf['image']['driver'] = false;
> $conf['exif']['driver'] = 'Bundled';
> $conf['mime']['magic_db'] = '/usr/share/magic';
> $conf['problems']['email'] = 'webmaster at example.com';
> $conf['problems']['maildomain'] = 'example.com';
> $conf['problems']['tickets'] = false;
> $conf['problems']['attachments'] = true;
> $conf['menu']['apps'] = array();
> $conf['menu']['always'] = false;
> $conf['menu']['links']['help'] = 'authenticated';
> $conf['menu']['links']['prefs'] = 'authenticated';
> $conf['menu']['links']['problem'] = 'never';
> $conf['menu']['links']['login'] = 'all';
> $conf['menu']['links']['logout'] = 'authenticated';
> $conf['portal']['fixed_blocks'] = array();
> $conf['accounts']['params']['quota_path'] = '/usr/bin/quota';
> $conf['accounts']['params']['grep_path'] = '/bin/grep';
> $conf['accounts']['params']['translateMountPoint'] = false;
> $conf['accounts']['params']['translationTable'] = '/etc/mtab';
> $conf['accounts']['driver'] = 'localhost';
> $conf['user']['verify_from_addr'] = false;
> $conf['user']['select_view'] = true;
> $conf['facebook']['enabled'] = false;
> $conf['twitter']['enabled'] = false;
> $conf['urlshortener'] = false;
> $conf['weather']['provider'] = false;
> $conf['imsp']['enabled'] = false;
> $conf['kolab']['enabled'] = false;
> $conf['memcache']['enabled'] = false;
> $conf['activesync']['state']['params']['devicetable'] =  
> 'horde_activesync_device';
> $conf['activesync']['state']['params']['statetable'] =  
> 'horde_activesync_state';
> $conf['activesync']['state']['params']['maptable'] = 'horde_activesync_map';
> $conf['activesync']['state']['params']['userstable'] =  
> 'horde_activesync_device_users';
> $conf['activesync']['logging']['type'] = 'horde';
> $conf['activesync']['ping']['heartbeatmin'] = 60;
> $conf['activesync']['ping']['heartbeatmax'] = 2700;
> $conf['activesync']['ping']['heartbeatdefault'] = 480;
> $conf['activesync']['ping']['deviceping'] = true;
> $conf['activesync']['ping']['waitinterval'] = 5;
> $conf['activesync']['securitypolicies']['provisioning'] = false;
> $conf['activesync']['enabled'] = true;
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>
> Appreciate some assistance, and thanks in advance,
>
> John Bennett
>
>

Never mind, the answer to my question is yes, install imp.  I did that  
and things are great.

Sorry for the noise,

John




More information about the horde mailing list