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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Characters at top of page bug - Breaking Silverstripe.com too!


Go to End


4 Posts   1629 Views

Avatar
Hamish

Community Member, 712 Posts

19 August 2008 at 8:07am

Hi guys, have had a look around about this problem, found this forum thread and this ticked.

I'm seeing four characters output before all other html under certain browsers.

Importantly, I'm also seeing this at silverstripe.com through IE7.

It's a wierd bug - but if I go to silverstripe.com with IE7, the html looks like this:

5958
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
   <head>
      <base href="http://silverstripe.com/" />

But through FF3 I don't see the "5958".

The issue is breaking my website at http://all.or.nothing.net.nz - it seem to be fine from home on Ubuntu with FF3, but from a winXP machine it's broken in both IE7 and FF3 (although at least IE7 will display it - FF3 just throws an XML parsing error). I'm using basically the latest daily build.

This is very urgent - it's breaking your own site after all. If I go to the silverstripe.com community page it can't load the CSS either (screenshot attached) -- I assume that characters break the base ref tag, so it can't find the css any more - at least at silverstripe.com there is some styling.

The ticket has been open since June too and it hasn't been fixed in the trunk.

Thanks

Avatar
Hamish

Community Member, 712 Posts

19 August 2008 at 11:19am

Edited: 19/08/2008 11:26am

Note that I've tried the silverstripe site on a number of different machines, same issue. I'm sure it's not just me seeing this :)

Also seeing it on Scottius' new site:

http://www.geobase.info/.

I'll try to attach a screen shot.

It occurred to me that I've only seen this when viewing SS sites through a firewall. Don't know how that could make a difference though.

Avatar
Hamish

Community Member, 712 Posts

19 August 2008 at 11:26am

Edited: 19/08/2008 11:28am

Screen shot from GeoBase
--edit: ok, that didn't work, but there is definitely an issue.

Avatar
Fuzz10

Community Member, 791 Posts

20 August 2008 at 10:35pm

hmmm.. It doesn't display that behaviour over here....

Pretty interesting to hear what you find out though.. ;-)