I discovered an error in the PluginMatcher.php, which parses text of a wikipage and searches for opening and closing tags. Saving a file with these tags often gave the known error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 77 bytes) in /usr/local/httpd/htdocs/tiki-6.2/lib/core/WikiParser/PluginMatcher.php on line 69
Looking at the size of the wiki-page (which was quite small), the problem was not in the memory_limit size in php.ini, which was set to 64MB.
Closing tags could not always be found (when it contained a nested tag), such that a cascade occurred (due to the recursive function call), resulting in an enormous amount of memory-use.
Remove the "+ 1" in line 106 in the file <tikiwikiroot>/lib/core/WikiParser/PluginMatcher.php:
Replace in line 106:
$lookupStart = $candidate + 1;
With:
$lookupStart = $candidate;
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |