On Thu, 17 Jun 2010 14:57:08 +0100
Timo Sirainen wrote:

> On Thu, 2010-06-17 at 16:25 +0300, Nikita Koshikov wrote:
> 
> > Jun 17 15:50:33 dict: Error: sql dict iterate: Invalid/unmapped path: 
> > shared/shared-boxes/anyone/
> 
> I think the wiki sql configuration was written/tested by someone who got
> the same errors, but ignored them.. You need to provide also a mapping
> for this. Maybe something like:
> 
> map {
>       pattern = shared/shared-boxes/anyone/$from
>       table = anyone_shares
>       value_field = dummy
> 
>       fields {
>               from_user = $from
>       }
> }
> 
> or maybe to your existing table (just don't have a user called
> "anyone"):
> 
> map {
>       pattern = shared/shared-boxes/user/anyone/$from
>       table = user_shares
>       value_field = dummy
> 
>       fields {
>               from_user = $from
>       }
> }
> 

Thanks for your reply, Timo.

Is any documentation avail about mapping or can you describe it briefly here ?

Reply via email to