[trean] Fwd: Error when trying to use trean...Help please:)

Chuck Hagenbuch chuck at horde.org
Tue Aug 5 08:00:32 PDT 2003



----- Forwarded message from martin at paulucci.com.ar -----
    Date: Tue,  5 Aug 2003 12:06:18 -0300
    From: Martin Paulucci <martin at paulucci.com.ar>
Reply-To: Martin Paulucci <martin at paulucci.com.ar>
 Subject: Error when trying to use trean...Help please:)
      To: chuck at horde.org

Hi Chuck,

Im trying to use trean, so I installed it in my linux box, in which I already
use horde with gollem, jonah, kronolith, imp,etc working fine and when I click
on the "bookmarks" icon, I get the following:


Fatal error: Call to undefined function: setoption() in
/hosting/horde/trean/browse.php on line 35

If I go to that line of that file it is:

$tree->setOption(array('width' => '100%', 'border' => '0', 'class' => 'item',
'cellpadding' => '0', 'cellspacing' => '0', 'alternate' => true));

If I comment it -not a very good idea anyway-,

it jumps to line 52:
Fatal error: Call to undefined function: getshortname() in
/hosting/horde/trean/browse.php on line 52

Which maybe needs line 35, I don't know:
 $tree->addNode($node_id, $parent_id, Category::getShortName($node_val),
substr_count($node_val, ':') + $base_indent);

I was told by a friend that those 2 functions belong to Horde, not to php or
pear, so anybody could tell me if there is something to touch or upgrade in
order to make it work I will really apreciate it!.

I check the categories table in the Horde database and everything seems to be
correct. Except that one column is different than the other apps:

21  	trean.bookmarks.martin at paulucci.com.ar  	martin at paulucci.com.ar  	martin
 	NULL  	a:1:{s:9:"bookmarks";a:0:{}}  	15

The column  "category_name" that says only martin, in the others says
martin at paulucci.com.ar too...
example:
12  	horde.shares.mnemo  	martin at paulucci.com.ar  	martin at paulucci.com.ar
	NULL  	NULL  	0

Thanks!
Martin.

----- End forwarded message -----


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 1095
Url: http://lists.horde.org/archives/trean/attachments/20030805/62b060fc/attachment.eml


More information about the trean mailing list