Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Another problem

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

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

Page: 1
Go to End
Author Topic: 836 Views
  • HansR
    Community Member
    140 Posts

    Another problem Link to this post

    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.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.