Page 1 of 1

Segmentation Fault While Parsing HTML Template

Posted: Sun May 02, 2010 1:43 pm
by dgunnell
Getting the following error while trying to parse my HTML template which is also attached so you can try and reproduce the problem.

May 2 07:40:33 meteohub kernel: meteohtml.cgi[3706]: segfault at bfb4f000 eip 08049aa1 esp bf9da830 error 4 [file name=testtags-d9a352acc7fd3ae66da8e0a7c7e1b04b.zip size=10622]http://www.meteohub.de/joomla/images/fb ... e1b04b.zip[/file]

Re:Segmentation Fault While Parsing HTML Template

Posted: Mon May 03, 2010 11:40 pm
by admin
The "[#]" in your template killed the replacing mechanism. I fixed this. Please try new update referenced below.

Using the "blanktheunknown" directive might not be what you are looking for, because this strips all square bracket enclosures Meteohub doesn't have a value for. That will destroy your array references in your php/javascript. I would recommend to use [varname:default] constructor, where default gets returned when Meteohub variable "varname" is not there. [varname:] will return an empty string when no value found for "varname".

Link to update: http://www.meteohub.de/files/update-v4.6gx.upd