[pmwiki-users] "No ending delimiter '!' found" messages after 2.0beta35 upgrade

Nate Cull nate at natecull.org
Sat Apr 30 01:08:01 CDT 2005


As a data point: this is the GroupFooter markup I have that seems to be
causing the error.

(:pagelist {$Group}.{$Name} list=normal -Sidebar -Homepage -Template :)

Anything dodgy about that? Should that be valid pagelist code? I'm
trying to get a list of all 'regular' pages that have backlinks (not
sure why 'list=normal' doesn't exclude Template pages, but over and
above that I don't want to know about links from the Sidebar or the
HomePage. Which I realise I have miscapitalised, but that shouldn't
cause a syntax error, surely).

Using link= also fails:

(:pagelist list=normal link={$Group}.{$Name} -SideBar -HomePage :)

removing the exclude search phrases though seems to work:

(:pagelist list=normal link={$Group}.{$Name} :)





On Sat, 2005-04-30 at 17:36 +1200, Nate Cull wrote:
> I was running 2.0beta32 on my new neighbourhood site
> (www.addington.org.nz) and it seemed to be working fine. I upgraded to
> 2.0beta35 by copying pmwiki.php, scripts/* and wikilib.d/* over the top.
> Then I noticed that whenever I viewed a page containing (:pagelist:)
> markup (and I have a fair bit of it in my group footers, doing custom
> 'what links to here' searches), I got a screenful of repeated errors:
> 
> Warning: No ending delimiter '!' found in pmwiki/scripts/pagelist.php on
> line 151
> 
> As of 2005-04-30 17:32 NZST you can see this same bug happening on the
> main PmWiki site at:
> 
> http://www.pmwiki.com/wiki/Profiles/HaganFox
> 
> 
> I made it go away on my site by copying back the 2.0beta32 pagelist.php.
> Any idea what's causing this? A Google search suggests it's something to
> do with not inserting '/' delimiters around the regular expression in a
> preg function, but I know very little about how PHP regexes work and
> whether you're already doing this or not.
> 
> 
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list