Using modx 1.03 I’ve just done something which messes up my site, fortunately it’s just my localhost test site but I still want to fathom it out. Basically whenever I save anything through the manager it’s reformatting all text by sticking a ’\’ in front of any single or double quotes. So I’m after a few pointers to understand what happens when I save a resource in the manager to hopefully track down the fault.
Background - I’ve just upgraded my local machine to Ubuntu 10.4 which upgraded the system to php5.3.2, I have been using directResize 0.8.6 to generate photo slideshows, however with the latest version of php it started flagging up deprecated errors for eregi_replace functions in the code. So I tried to replace the code with the recommended preg_replace function some of which were searching for quotes in images links. Which seemed to work ok but I later realised that when I editted other snippets etc. they would get reformated
would become
which then led to all sorts of error messages about rendering.
So any hints or avenues to explore on why my snippets get mangled would be appreciated.
Adrian