Menu

Stack Bounds in HTMLOUTPUT

2001-11-08
2012-10-11
  • John Sechrest

    John Sechrest - 2001-11-08

    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?

     
    • Geoffrey T. Dairiki

      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

       
    • John Sechrest

      John Sechrest - 2001-11-08

      Thanks.. You are quite right. Found the line
      and deleted it. and the post worked..

      And thank you for the references for the upgreade.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.