[pmwiki-users] Allowed memory size exhausted
Martin Kerz
mkerz at me.com
Sun Mar 7 01:03:18 CST 2010
Dear Simon,
this is weird. The correct closing statement did the trick. Unfortunately the PTV (from "!!Sachkommission {=$SK}") isn't put out. Do you have a quick fix for that?
Thanks a lot.
Martin
Am 07.03.2010 um 05:15 schrieb Simon:
> Do you have this on a test site somewhere.
> Can you show me the pagelist statement itself
>
> Simon
>
>
> trivial but [[#antragsliste end]]
> should be [[#antragslisteend]]
>
> On 7 March 2010 03:55, Martin Kerz <mkerz at me.com> wrote:
> Do I have a memory leak in this pagelist template?
>
> >>comment<<
> [[#antragsliste]]
> (:template first {=$:SK}:)
> !!Sachkommission {=$SK}
> (:template each:)
> * [[{=$FullName} | {=$Titlespaced}]]
> [-{=$:Summary}-]
> [[#antragsliste end]]
> >>font-size:smaller<<
>
> This should give out a list of all pages within a group seperated by a PTV (here: $SK)
>
> moreover it is sorted by a simple strnatcasecmp() call.
>
> function SKAntrag($x, $y) {
> $xval = PageVar($x, '$:SK').PageVar($x, '$:Antrag');
> $yval = PageVar($y, '$:SK').PageVar($y, '$:Antrag');
> $c = strnatcasecmp($xval, $yval);
> return $c;
> }
> $PageListSortCmp['antragsliste'] = 'SKAntrag($x, $y)';
>
> Everytime I want to load the page, I get a "Allowed memory size of 52428800 bytes exhausted" message. What's wrong here?
>
> Thanks,
>
> Martin
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
>
> --
> ____
> http://kiwiwiki.co.nz
More information about the pmwiki-users
mailing list