2014-03-15, 19:40:35
Hey all.
I'm using GetSimple now for several years and I find it really easy to use. But when I wanted to upgrade my version of GetSimple (3.0) to the newest 3.3.1, I experienced some problems. There were some issues with the caching methods namely the following error:
After some searching on the internet I found out that the addChild method had some problems were it wouldn't escape the characters: http://stackoverflow.com/a/17028414. So after changing the line 286 from:
To the following lines:
Maybe it can help someone else or maybe it can be implemented in the core code.[/php]
I'm using GetSimple now for several years and I find it really easy to use. But when I wanted to upgrade my version of GetSimple (3.0) to the newest 3.3.1, I experienced some problems. There were some issues with the caching methods namely the following error:
Quote:Warning: SimpleXMLElement::addChild(): unterminated entity reference -restaurant in /home/wa/domains/wa.nl/public_html/admin/inc/caching_functions.php on line 286
After some searching on the internet I found out that the addChild method had some problems were it wouldn't escape the characters: http://stackoverflow.com/a/17028414. So after changing the line 286 from:
PHP Code:
$pages->addChild('url', $id);
PHP Code:
$pages->addChild('url');
$pages->url = $id;
Maybe it can help someone else or maybe it can be implemented in the core code.[/php]