PluginMatcher.php Times Out
- Status
- Pending
- Subject
- PluginMatcher.php Times Out
- Version
- 12.x
- Category
- Error
- Feature
- Wiki Syntax (text area, parser, external wiki, etc)
- Resolution status
- Partially solved
- Submitted by
- drsassafras
- Lastmod by
- drsassafras, luci
- Rating
- Related-to
- Description
PluginMatcher.php Times out on (what I thought was) a well formatted wiki page.
Now, I presume its PluginMatcher.php that is timing out. It showed that this file was timing out in my server logs. In any case, the possibility exists that its not this problem, but another.
I created the instance, and started inputting the Wiki Syntax. The page did not crash when I input the wiki syntax and saved the fist page.
Then I started enabling HTML plugins, successively one after another. The wiki instance is now completely non-responsive and will not serve pages at all.
To reproduce:
paste this http://pastebin.com/yZDMGZwT wiki page into a wiki instance & save.Approve the HTML plugins one after another. I did it quickly, didn't even wait for the page to reload before approving another.
Tiki-instance will become unresponsive.
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home5/chagamus/public_html/theoryofcolor/lib/core/WikiParser/PluginMatcher.php on line 284
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home5/chagamus/public_html/theoryofcolor/lib/core/WikiParser/PluginMatcher.php on line 555
PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home5/chagamus/public_html/theoryofcolor/lib/core/WikiParser/PluginMatcher.php on line 285
Last lines.Although the tiki instance has completely frozen, I can say that any time I edit the page it ends in a blank (white) page and I get one of the above notices in my log file. I have checked and re-checked the tiki syntax, and cant find any errors.
- Workaround
Enable Admin->Wiki->Enable HTML. When editing the page one is having an issue with, click properties, and select "Allow HTML" option.
Remove any HTML plugins, and replace DIV plugins with div tags. Replace any tiki special characters with HTML special characters.
- Importance
- 10 high
- Priority
- 50
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5231
- Created
- Tuesday 06 May, 2014 18:29:58 UTC
by drsassafras - LastModif
- Monday 29 May, 2017 20:18:28 UTC