Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Caching_functions Error
#1
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:
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); 
To the following lines:
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]
Reply


Messages In This Thread
Caching_functions Error - by pchulpleusden - 2014-03-15, 19:40:35
RE: Caching_functions Error - by shawn_a - 2014-03-16, 00:59:50
RE: Caching_functions Error - by pchulpleusden - 2014-03-16, 01:02:23
RE: Caching_functions Error - by shawn_a - 2014-03-16, 01:13:24
RE: Caching_functions Error - by pchulpleusden - 2014-03-16, 04:59:50
RE: Caching_functions Error - by shawn_a - 2014-03-18, 00:43:59
RE: Caching_functions Error - by Carlos - 2014-03-18, 03:44:56
RE: Caching_functions Error - by shawn_a - 2014-03-18, 01:19:16



Users browsing this thread: 1 Guest(s)