I am using PHPwiki for how my students do class work. We have them posting papers into the wiki.
Today I found that a student posted a paper and we got the error:
WikiFatalError
Stack bounds exceeded in SetHTMLOutputMode
Does anyone know what caused this error and what variable I need to change to make it accept large documents?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My guess is that this is caused by having a list item nested too deep. (E.g. there is a line of text which starts with more than ten asterisks or hash marks:
* level one is okay
** level two is okay...
*********** level eleven makes wiki wig out!
This bug is, I believe, fixed in the recent
stable release phpwiki-1.2.1, so you may want
to upgrade.
Hello,
I am using PHPwiki for how my students do class work. We have them posting papers into the wiki.
Today I found that a student posted a paper and we got the error:
WikiFatalError
Stack bounds exceeded in SetHTMLOutputMode
Does anyone know what caused this error and what variable I need to change to make it accept large documents?
My guess is that this is caused by having a list item nested too deep. (E.g. there is a line of text which starts with more than ten asterisks or hash marks:
* level one is okay
** level two is okay...
*********** level eleven makes wiki wig out!
This bug is, I believe, fixed in the recent
stable release phpwiki-1.2.1, so you may want
to upgrade.
References:
http://sf.net/tracker/?group_id=6121&atid=106121&func=detail&aid=418267
If you don't want to upgrade phpwiki versiopns you can try patching lib/stdlib.php as detailed here:
http://cvs.sf.net/cgi-bin/viewcvs.cgi/phpwiki/phpwiki/lib/stdlib.php.diff?r1=1.21.2.3&r2=1.21.2.4&only_with_tag=release-1_2-branch
Thanks.. You are quite right. Found the line
and deleted it. and the post worked..
And thank you for the references for the upgreade.