<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'Site Builders'</title>
		<link>http://www.silverstripe.com/site-builders-forum/</link>
		

		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=149193</link>
			<description>Back Again! Just wanted to mention that this bug occurs on the silverstripes demo. If I click on flickr or gallery module I get:&lt;br /&gt;&lt;br /&gt;XML Parsing Error: syntax error&lt;br /&gt;Location: http://demo.silverstripe.com/flickr/&lt;br /&gt;Line Number 1, Column 1:&lt;br /&gt;3ff6&lt;br /&gt;^&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Tue, 19 Aug 2008 23:19:12 +1200</pubDate>
			<author>Ahmed Meer</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=149193</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=130981</link>
			<description>Oh one thing - that fix does not work for 404 errors. Instead it adds those random characters back in and breaks the page. I have just commented the entire line out for now so that everything works.&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Tue, 29 Jul 2008 02:30:27 +1200</pubDate>
			<author>Ahmed Meer</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=130981</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=130899</link>
			<description>YES! Finally I have been looking for a fix to this bug for ages. Was causing me major stress. I was convinced it was to do with my apache configuration. I tried two different installations using WAMP and XAMPP but to no effect. I also noticed the issue occurs depending on the length of your HTML code. If I was to remove a few Includes then the whole site would start working again. As soon as it goes over a certain length it would switch the transfer encoding to chunked and those random characters would appear at the top and bottom of the html code and break the entire structure. Thanks for the fix it is much appreciated!&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Mon, 28 Jul 2008 21:57:00 +1200</pubDate>
			<author>Ahmed Meer</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=130899</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=101859</link>
			<description>The bug is caused by one of the headers sent in the output() method of HTTPResponse.php.  If you call echo &quot; &quot;, then it's preventing headers from being sent and therefore fixing your output.&lt;br /&gt;&lt;br /&gt;I suspect that it is this line is the culprit:&lt;br /&gt;&lt;br /&gt;[php]&lt;br /&gt;header(&quot;HTTP/1.1 $this-&amp;gt;statusCode &quot; . self::$status_codes[$this-&amp;gt;statusCode]);&lt;br /&gt;[/php]&lt;br /&gt;&lt;br /&gt;You might want to try changing it to this and seeing if that fixes it instead of the &quot;echo&quot; fix that you made.&lt;br /&gt;&lt;br /&gt;[php]&lt;br /&gt;if($this-&amp;gt;statusCode != 200) header(&quot;HTTP/1.1 $this-&amp;gt;statusCode &quot; . self::$status_codes[$this-&amp;gt;statusCode]);&lt;br /&gt;[/php]&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Fri, 20 Jun 2008 10:44:47 +1200</pubDate>
			<author>Sam Minnee</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=101859</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=91520</link>
			<description>Heh, that last post was from me - I was logged in as Mike!  Sorry about the identity theft, Mike. ;-)&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Fri, 13 Jun 2008 11:35:05 +1200</pubDate>
			<author>Sam Minnee</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=91520</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=91471</link>
			<description>This looks suspiciously like the chunk-size characters that HTTP chunked transfers add to the stream.&lt;br /&gt;&lt;br /&gt;For this reason, I suspect that this is happening because of a quirk in your web server configuration.  Could you tell us a bit more about the web server that you're running on?&lt;br /&gt;&lt;br /&gt; * Apache, or something else?  What version?  Any non-standard modules running?&lt;br /&gt; * What version of PHP?&lt;br /&gt; * What operating system?&lt;br /&gt;&lt;br /&gt;If you could email me some details (to sam at silverstripe dot com) of where your server is running so that I could access the site myself, I could take a look at the raw HTTP output to see if I can determine what's wrong.&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Fri, 13 Jun 2008 10:24:19 +1200</pubDate>
			<author>Michael Andrewartha</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=91471</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=88343</link>
			<description>i removed all of my code and even did a fresh install - didn't solve the problem.&lt;br /&gt;i expected this, as my workaround (see previous posts) deals with untouched core files, although project code may suffer from the same problem in case a method returns something integrated in the final html output (as mentioned before)... &lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Mon, 09 Jun 2008 22:11:52 +1200</pubDate>
			<author>Matthias Schelling</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=88343</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=86104</link>
			<description>This is some odd behaviour indeed, something that I've noticed before on another SS installation as a similar problem (a strange character left above the &amp;lt;?php tag on a class), but haven't personally come across it myself.&lt;br /&gt;&lt;br /&gt;Have you tried removing all your custom project code, to leave a bare SS installation? This could help pinpoint exactly where the problem is occurring.&lt;br /&gt;&lt;br /&gt;Typically this is a good way of debugging if you've got a problem like this, as it's not actually giving any errors! (d'oh!).&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Sat, 07 Jun 2008 16:42:12 +1200</pubDate>
			<author>Sean Harvey</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=86104</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=79388</link>
			<description>finally, the characters even arrived in the frontend site itself.&lt;br /&gt;this allows me specify the problem a little better:&lt;br /&gt;the characters seem to appear whenever a string is returned by some method and integrated in the html output. in addition, the string must have reached a critical length (i can't determine the exact limit). &lt;br /&gt;whenever you 'echo' some string before the return statement, the characters are gone.&lt;br /&gt;i was wondering wheter this has to do something with output buffering.&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Wed, 28 May 2008 22:27:09 +1200</pubDate>
			<author>Matthias Schelling</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=79388</guid>
		</item>
		
		<item>
			<title>Re: weird characters in cms</title>
			<link>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=76193</link>
			<description>Thanks for the bug report, I've added to the bug tracker @ &lt;br /&gt;&lt;br /&gt;http://open.silverstripe.com/ticket/2529&lt;br&gt;&lt;br&gt;Posted to: weird characters in cms</description>
			<pubDate>Wed, 21 May 2008 10:33:26 +1200</pubDate>
			<author>Tim Copeland</author>
			<guid>http://www.silverstripe.com/site-builders-forum/show/74605?showPost=76193</guid>
		</item>
		

	</channel>
</rss>
