[trean] Call to undefined function: getname() - while saving bookmark

Michal michal@michal.no-ip.com
Thu, 12 Sep 2002 09:13:25 -0400


I first installed trean from CVS two days ago and when I tried to add bookmark I
saw just message:

Fatal error: Call to undefined function: getname() in
/usr/local/wwwapps/horde/trean/add.php on line 27


Then I realized that I didn't configure 'categories' section in horde/conf.php.
After adding of these lines in horde/conf.php:

$conf['category']['params'] = array();
$conf['category']['params']['phptype'] = 'mysql';
$conf['category']['params']['hostspec'] = 'localhost';
$conf['category']['params']['username'] = 'horde';
$conf['category']['params']['password'] = '*****';
$conf['category']['params']['database'] = 'horde';
$conf['category']['params']['table'] = 'horde_categories';


was adding of bookmarks working fine.

But yesterday(Sep-11) I did new clean install of Horde & Co. from CVS (SQL
tables remained) and used my old horde/conf.php, and again - I can't add
bookmark and I see message:

Fatal error: Call to undefined function: getname() in
/usr/local/wwwapps/horde/trean/add.php on line 27


and nothing is saved in the table 'horde_categories', but the table is
configured o.k. because kronolith is saving its data in it with no problem.



Any clues where I should try to look for problem ?


Thanks