From: Carsten K. <car...@us...> - 2003-11-13 18:12:06
|
Try this one-line patch, it should fix the second error in Request.php that shows up right after the error in BlockParser.php ("Error while handling error"). Carsten RCS file: /cvsroot/phpwiki/phpwiki/lib/Request.php,v retrieving revision 1.35 diff -U2 -r1.35 Request.php --- Request.php 6 Nov 2003 19:39:55 -0000 1.35 +++ Request.php 13 Nov 2003 18:09:20 -0000 @@ -610,4 +610,5 @@ $time = time(); $offset = date("Z", $time); + $negoffset = ""; if ($offset < 0) { $negoffset = "-"; On Thursday, November 13, 2003, at 09:49 am, Bernd Porr wrote: > Hi! > > > > One of my students did a ASCII art in the wiki and crashed it. > > > > http://www.cn.stir.ac.uk/teaching/phpwiki-1.3.5/index.php/ > The%20Experiment > > > > I get an error message: > > > > lib/BlockParser.php:465: Fatal[0]: <br > > />/usr/local/httpd/html/teaching/phpwiki-1.3.5/lib/BlockParser.php:465: > > : Assertion failed <br /> > > > > I'll try to fix it but I would appreciate some hints. > > > > Thanks > > > > /Bernd > |