[pmwiki-users] Listing of unresolved attachments in AttachTable recipe?

Oliver Betz list_ob at gmx.net
Mon Apr 20 10:56:40 CDT 2009


Eemeli Aro wrote:

>Prompted by Karl's note, I finally got myself around to updating
>Attachtable <http://www.pmwiki.org/wiki/Cookbook/Attachtable>. There
>are some minor additions for prettier output and RecentChanges
>logging, and the authentication difficulties ought to be now fixed,
>but the biggest addition is a lookup for attachment references in wiki
>pages.

great recipe, thanks!

I added a note that "include_once("$FarmD/cookbook/attachtable.php");"
has to be inserted after setting $EnableUpload because otherwise
attachtable.php terminates silently.

And I get brief error messages after an rename or delete action:

Warning: Invalid argument supplied for foreach() in ...\pmwiki.php on
line 1694

(that's PostRecentChanges() in PmWiki 2.2.1).

and

Warning: Cannot modify header information - headers already sent by
(output started at ...\pmwiki.php:1694) in ...\pmwiki.php on line 1061

Warning: Cannot modify header information - headers already sent by
(output started at ...\pmwiki.php:1694) in ...\pmwiki.php on line 1062

(that's Redirect() in PmWiki 2.2.1).

Any hint?

Oliver




More information about the pmwiki-users mailing list