[pmwiki-users] Crazy error after generating templates

Martin Fick mogulguy at yahoo.com
Thu Jul 6 10:21:33 CDT 2006


Patrick,

This is the specific problem with includes that I was
trying to suggest a fix for (using a stack).

If you have a nested page list, each time the second
pagelist is called it increases the include count by
one.  This does not leave very much room for your
pagelist and you will run out of includes fairly
quickly.  The end results is that when the include max
is hit, the name of the file to be included is simply
returned, that is why you see the

>
"Site.PageListTemplates#titleSite.PageListTemplates#titleSite.PageListTemplates#titleSite.PageListTemplates..."

#title was your second template:

 > (:pagelist link={=$FullName} fmt=#title:)

It should be repeated as many times as the number of
pages left after you've hit the include limit,

-Martin



--- JimB <jbeuerle at triad.rr.com> wrote:
> Daniel,
> 
> I had a similar nested pagelist that gave me a
> similar error.  I put
> 
> $MaxIncludes = 100;
> 
> into my config.php file and this fixed the problem.

> ----- Original Message ----- 
> From: "Daniel Hofer" <daho at borntofly.ch>
> 
> > Hello
> >
> > I have a crazy problem with template.
> > I've build a new template in Site.LocalTemplates:
> > -------------------------------------
> > [[#Hierarchical]]
> > !!!!{=$Title}
> > (:pagelist link={=$FullName} fmt=#title:)
> > [[#HierarchicalEnd]]
> > -------------------------------------
> > This show me in Software.Software a list of
> software categories with the
> > software.
> >
> > I thought it works fine...until now.
> > I've just seen that I get error messages instead
> of a pagelist at the
> > end of this pagelist.
> > It's written
> >
>
"Site.PageListTemplates#titleSite.PageListTemplates#titleSite.PageListTemplates#titleSite.PageListTemplates..."
> >
> > And, also crazy, in the Sidebar I have a pagelist
> of groups.
> > If I'm on Main.Main, everything is ok.
> > But if I click on Software in Sidebar, the
> pagelist there dissapears and
> > the following appears there:
> > "Site.PageListTemplates#title..."
> >
> > What's wrong here? I'm not sure but I think
> everything was ok until this
> > morning.
> > The page "Site.PageListTemplates" is original, I
> didn't change.
> >
> > Thanks a lot.
> > If you need some screenshots, let me now
> >
> > Daniel
> >
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> >
>
http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> > 
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
>
http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the pmwiki-users mailing list