Error when magic_quotes_runtime=1
Brought to you by:
dave-fox
If in php.ini, magic_quotes_runtime=1, the following error will happen
Uncaught exception 'Exception' with message 'Sitemesh configuration error: Line: 1, Column: 15: Invalid XML'
To avoid this situation, magic_quotes_runtime should be changed to 0 before the parsing code, then after parsing, magic_quotes_runtime should be restore back the old value