[horde] Re: Horde/HEAD: mnemo for guests has problems
Daniel Eckl
daniel.eckl at gmx.de
Thu Mar 25 07:38:20 PST 2004
I forgot one info:
I use SQL for DataTree backend and the tables are created okay and are filled
with infos, e.g.:
group_id: horde.perms
user_uid: daniel
datatree_name: mnemo
datatree_parents:
datatree_order: NULL
datatree_data: a:2:{s:5:"guest";i:30;s:7:"default";i:30;}
datatree_serialized: 15
datatree_updated: 20040322221552
Thanks,
Daniel
Zitat von Daniel Eckl <daniel.eckl at gmx.de>:
> Hi list!
>
> Because my horde installation is on intranet only, I made a shared
> mnemo board
> availiable for guests.
>
> While mnemo works perfect for logged in users, it makes some big
> problems fo the
> guests.
>
> If a guests creates a new memo, there is an error message below the
> input box:
>
> Fatal error: Call to undefined function: haspermission() in
> [...]/horde/mnemo/templates/memo/memo.inc on line 100
>
> When he tries to save the memo, there is a white page with only the error
> message:
>
> Fatal error: Call to undefined function: get() in
> [...]/horde/mnemo/memo.php on line 66
>
> Since this line reads:
> $notification->push(sprintf(_("Access denied saving note to %s."),
> $share->get('name')), 'horde.error');
> I assume two problems.
>
> The first one seems to be a wrong (outdated) function to get the
> username (or is
> it the board name?).
>
> The second problem could be related to the first error message, as it
> seems that
> guest doesn't have write permissions, although I gave this right to
> this shared
> memo board.
>
> Perhaps anyone can help? I cannot fix by myself, my coding
> capabilities are not
> sufficient...
>
> Thanks,
> Daniel
More information about the horde
mailing list