[trean] Fwd: Error when trying to use trean...Help please:)
Marko Djukic
marko at oblo.com
Tue Aug 5 09:22:24 PDT 2003
have you updated your horde/lib files?
the setOption is a function in horde/lib/Tree.php
marko
Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>
> ----- 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.
More information about the trean
mailing list