From: Johannes G. <jg...@qf...> - 2002-07-25 14:35:21
|
On Tue, 23 Jul 2002, g.p.ciceri wrote: > Hi all, > sorry if this is already a FAQ. > I'm using phpwiki 1.3.3., and I'm having the following behaviour: > when I add a page that uses a <?plugin ... ?> it seems to me that > the plugin is executed twice (I've added a tracing statement > at the beginning of the run() plugin method) > > trigger_error("About to run", E_USER_NOTICE); > > For example, the backlinks plugin shows this behaviour, and the info > plugin too: but when you call the info outside of the page, all is o.k. > > Any Clue ??? > Best Regards > > /gp > When I wrote the WikiPluginCache class, I ran into an error when trying to cache the RecentPages. I could not fix it, and - as now occurs to me - it could be explained if plugins are executed twice. Unfortunately, for the next few months, I don't have any time to debug it. Nevertheless, thanks for pointing out this behaviour. If the error is still present after my last exams, that is if _you_ won't have fixed it, I will do something about it. Best Regards jo |