[Lenny400] Letux 400 wiki page broken
H. Nikolaus Schaller
hns at goldelico.com
Fri Apr 20 18:53:02 CEST 2018
Hi Paul,
> Am 20.04.2018 um 16:41 schrieb Paul Boddie <paul at boddie.org.uk>:
>
> Sorry, but I think I managed to break one of the wiki pages on the
> documentation site:
>
> http://projects.goldelico.com/p/letux400/page/GPIO/
seems to be a bug in the MarkDown parser of Indefero triggered by content.
PlufErrorHandlerException making GET request to /p/letux400/page/GPIO/
8 : Undefined offset: 3
* PlufErrorHandler
[/Library/WebServer/Sites/projects.goldelico.com/pluf/src/Pluf/Text/MarkDown.php, line 2244] *
* Src *
2239: # Write column headers.
2240: $text = "<table>\n";
2241: $text .= "<thead>\n";
2242: $text .= "<tr>\n";
2243: foreach ($headers as $n => $header)
>> 2244: $text .= " <th$attr[$n]>".$this->runSpanGamut(trim($header))."</th>\n";
2245: $text .= "</tr>\n";
2246: $text .= "</thead>\n";
2247:
2248: # Split content by row.
2249: $rows = explode("\n", trim($content, "\n"));
So it seems to have something to do with table header formatting.
And most likely Indefero was developed / tested on a system where an undefined offset
index did not raise errors.
> Fortunately, I have a copy of the text that I wanted to save, but I think the
> server gave up on storing the page (or even previewing it), and now it won't
> even show the page any more.
Maybe I can patch / fix the problem in Indefero or at least make it
not fail completely.
BR,
Nikolaus
More information about the Lenny400
mailing list