[chora] Fatal error: Call to a member function on a non-object
in /var/www/html/horde/chora/lib/base.php on line 54
Romildo Wildgrube
romildo@ragingnet.com
Tue, 16 Apr 2002 10:11:23 -0700
Jan,
Do you mean the database info? If so, I already have that setup as follow.
** Preference System Settings
**/
/* What preferences driver should we use? Valid values are 'none'
* (meaning use system defaults and don't save any user preferences),
* 'session' (preferences only persist during the login), 'ldap',
* and 'sql'.
*/
$conf['prefs']['driver'] = 'sql';
/* Any parameters that the preferences driver needs. This includes
* database or ldap server, username/password to connect with, etc.
*/
$conf['prefs']['params'] = array();
/* This is an example configuration for a MySQL preference backend.
* Be sure to set the prefs driver to 'sql' above if you use this
* configuration.
*/
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = 'horde';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';
Romi
Jan Schneider wrote:
>Zitat von Romildo Wildgrube <romildo@ragingnet.com>:
>
>>Hi,
>>
>>I installed chora today in two different machines and I can't figure out
>>
>>why is giving me the following error when trying to access it. I looked
>>at google but nothing helped.
>>
>>*Fatal error*: Call to a member function on a non-object in
>>*/var/www/html/horde/chora/lib/base.php* on line *54*
>>
>>The base.php file starting at line 54 looks like this.
>>
>>$remember_last_file = $prefs->getValue('remember_last_file');
>>if ($remember_last_file) {
>> $last_file = $prefs->getValue('last_file') ?
>>$prefs->getValue('last_file') : null;
>> $last_cvsroot = $prefs->getValue('last_cvsroot') ?
>>$prefs->getValue('last_cvsroot') : null;
>>}
>>
>
>You didn't setup a preferences backend for Horde.
>
>Jan.
>
>--
>http://www.horde.org - The Horde Project
>http://www.ammma.de - discover your knowledge
>http://www.tip4all.de - Deine private Tippgemeinschaft
>