Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Tag Plugin doen't list tagged pages
Avatar
theonlyandy #1
Member since Jul 2007 · 5 posts · Location: Rosenheim
Group memberships: Members
Show profile · Link to this post
Subject: Tag Plugin doen't list tagged pages
Help!

We are using the great tag plugin, but unfortunately it doesn't work here.

We are tagging our pages with

{{tag>tagname}}

and then we create the page "tagname" where we use
{{topic>tagname}}
to get a list of pages tagged with "tagname".

But that doesn't work. When saving the tag-page we get the following warning:
Warning: array_unique() [function.array-unique]: The argument should be an array in /usr/share/dokuwiki/lib/plugins/tag/helper.php on line 341

Warning: array_filter() [function.array-filter]: The first argument should be an array in /usr/share/dokuwiki/lib/plugins/tag/helper.php on line 155

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /usr/share/dokuwiki/lib/plugins/tag/helper.php on line 341

Warning: array_unique() [function.array-unique]: The argument should be an array in /usr/share/dokuwiki/lib/plugins/tag/helper.php on line 341

Warning: array_filter() [function.array-filter]: The first argument should be an array in /usr/share/dokuwiki/lib/plugins/tag/helper.php on line 155

After reloading the warnings are gone, but the list doesn't exist.

Can anybody help? Thanks a lot!

We are using DokuWiki 20061106 from the Debian repository, with PHP 5.2.1 and the latest tag Plugin (2007-01-16)
Avatar
pchan #2
Member since Apr 2007 · 111 posts · Location: Lille, France
Group memberships: Members
Show profile · Link to this post
Hi,
I've been looking into the tag plugin code in version 20061106 for sometime now, maybe I can help.

First, be assured that it works (quite) well.
There's a bug I know: if a tag is removed from a page, the topic listing of this tag is not updated.
You have to refresh the page with the topic command!

Second, the error messages you see are typical of security measures. PHP functions defaults to
some silly result when security measures are in affect, making users think of bugs in dokuWiki.

To find out more,
1° please show the contents of your file ~\dokuwiki\data\cache\tag.idx
    maybe it's corrupted!
2° if all else fails, then try to make a fresh installation on your local pc (without security measures).
This post was edited on 2007-09-17, 13:38 by pchan.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-21, 18:27:20 (UTC +02:00)