Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Another problem


Reply


882 Views

Avatar
HansR

Community Member, 140 Posts

7 June 2008 at 4:25pm

Edited: 09/06/2008 1:44am

If I log out right after viewing the draft site, I get this error:
XML Parsing Error: not well-formed

Line Number 119, Column 106:         <p><p>You must log in with your CMS password in order to view the draft or archived content. <a href=\"/home/?stage=Live\">Click here to go back to the published site.</a></p></p>

It seems that my setup isn't processing an sprintf correctly at line 115 of ContentController.php. It's leaving the backslash in front of the quotation mark in instead of removing it (i.e., emitting \" instead of ").

Any idea what's causing this? BTW, what is _t() (in line 114 of ContentController.php)? I've done a simple sprintf test with an ordinary string on the server inquestion, and it worked fine.

Hans