Loading...
 
Skip to main content

Development


Problem with WikiLib.list_plugins

I'm seeing a problem with the list_plugins() function in wikilib when called from from tiki-editpage.php.

When I first updated to v2.2, editing a page worked fine. Sometime later I started to get timouts and memory allocation failures whenever I tried to edit a tiki page, even with timeout set to 4 mins and memory limit set to 256MB.

I isolated the problem to this function when $with_help is true. I'm just now starting to have a look at this function to try to understand what it does. I don't understand what changed that it started to break. I haven't installed any additional plugins. Anybody have some insight that could help me debug this further?

Found the problem. A theme that I installed had wikiplugins that didn't get permissions set properly. A bug in wikilib then caused an infinite loop when it couldn't open the files. I'll file a bug for it.