17486 Posts in 4473 Topics by 1978 members
|Go to End|
12 August 2008 at 6:28am
I've run into a bit of a dead end on something. I have two servers, one development (Mac) and the other production (Linux), both running Silverstripe on Apache. On Linux, Firefox returns an XML Parsing Error on a number of my pages, but cannot specify where the error is.
It will say the error is located at Line 1, Column 1 and the error is: 208f (or some other hex value). I've attempted to remove the <?xml> header at the beginning of the Page.ss, however Firefox will still return the characters to the top of the screen as if it was part of the output.
Any thoughts would be greatly appreciated.
12 August 2008 at 11:31am
Do you have any unclosed tags or strings in the PHP files that are echoing out?
13 August 2008 at 5:15am
Thanks a lot for the response.
I really don't think so, because I can artificially create an unclosed tag error with the parser. On the development environment, it works perfectly given identical content on the page.
I can reproduce it by putting an anchor in the $Content section of a page that points to an outside URL on the production site.
If I turn off ContentNegotiation, it will just put a hex code at the top of the page, and a 0 at the bottom of the page. Is there a way this could be caused by Apache on the Linux box?
21 October 2008 at 4:04pm
I'm having the same problem, only with the admin logon form.
2148 is being prepended before the start of the document, and 0 is appended after the closing </html> tag.
Has anyone figured out exactly what causes this? It's certainly only cropped up over the last day which means some tiny little layout change I made (without testing?!), or my users that have started adding content recently.
21 October 2008 at 4:14pm
These issues are almost certainly related to the following (solved) ticked: http://open.silverstripe.com/ticket/2529
This will be fixed in the next release, but the actual solution is quite simple if you follow the instructions at the bottom.
|Go to Top|