CHARSET/BOM affecting theme? Help needed.

CHARSET/BOM affecting theme? Help needed.

by Shaun Daubney -
Number of replies: 4
Hi all,

Wondering if anyone can help. I have 2 servers, one live production site at College and one test site on my mac.

Both are running 1.9.5 and running exactly the same theme. The only difference is, the test one was a clean install on a virtual OSX server, while the production one is on a dedicated Windows system and has been through various upgrades in the past few years.

The difference is, the test server looks 100% spot on perfect, all the time. The production one has issues in the admin area. In Safari, Firefox, Opera, etc it has an annoying but not fatal gap at the top and sometimes a BOM error. But in IE7... everything's totally messed up and horrible.

It can't be the theme because it works perfectly on the test server, so questions...

1. What could be causing the problems on the production server?

2. How do I solve it?

Thanks in advance guys.

Shaun

Attachment Untitled-1.jpg
Average of ratings: -
In reply to Shaun Daubney

Re: CHARSET/BOM affecting theme? Help needed.

by Shaun Daubney -
Hmmm, maybe it is the theme but it only seems to do this... in IE. Awful program! and only in the Admin area.

Any ideas?
Attachment moodleerror.jpg
In reply to Shaun Daubney

Re: CHARSET/BOM affecting theme? Help needed.

by Thomas Hanley -

Hi Shaun,

I really don't know anything about servers. Had a quick Google on this and the only possibility I can come up with is maybe it is do with the character set being used.

If your Text Editor ( ie: Notepad on windows ) has a problem saving your files as utf-8, get another text editor. Lots of the Freely available ones are capable of saving in utf-8. also, be certain to save the file "without BOM". If you save it "with BOM", there will be some peculiar characters one the first line of the file when the server issues the file for rendering and trust me, it is a pain to get rid of those things.

The Meta tag used is <meta http-equiv="content-type" content="text/html; charset=utf-8" />.

http://www.trap17.com/index.php/Small-Html-Problem_t52230.html

Worth a check though.

~thomas

In reply to Thomas Hanley

Re: CHARSET/BOM affecting theme? Help needed.

by Shaun Daubney -
bizarre, can't seem to solve it. Does the same thing on Stanard Theme too, bu more noticable with my theme because of the menu and fixed width.
In reply to Shaun Daubney

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.