Hi all,
I have recently installed Moodle on Solaris 10. I am using one of the standard themes, but swapped the logos, and everything appears to be fine with all other settings.
The problem is that firefox is not correctly loading the site: HERE The site looks fine on both Safari and IE, the problem seems to only be with FIrefox. Also all other Moodle sites load fine. I do not even know where to start so any advice would be greatly appreciated...
Thanks
Robb
Sorry, I should have been more clear. It is loading, and the text is loading (as well as the forms for username, password, etc.). The problem is that they are not organized on the page. The site is available at http://edu.cnue.ac.kr/english
Other moodle sites are loading fine. I have checked the site from a Mac and XP computer. I have attached a screenshot to show how the site is loading--the text and theme are not in the correct places.
Thanks for any help, and do not hesitate to ask for more information if required.
Regards
Robb
Other moodle sites are loading fine. I have checked the site from a Mac and XP computer. I have attached a screenshot to show how the site is loading--the text and theme are not in the correct places.
Thanks for any help, and do not hesitate to ask for more information if required.
Regards
Robb
Yes, I changed to formal white to check to see if there is anything that is different... no luck, still the same issue. One of the largest inconveniences is that I use a Mac, and Safari doesn't load the HTML editor, only Firefox will...
I will get one of the admins to take a look at the config.php file tomorrow and hope that there is a stray line somewhere...
Thanks for the suggestions.
I will get one of the admins to take a look at the config.php file tomorrow and hope that there is a stray line somewhere...
Thanks for the suggestions.
... if the HTMLEditor is not loading in Safari, or in IE, then there I would suggest something else is going on. Do you have any extraneous or unusual code in the config.php or index.php?Was there any issue at all in the setup process? I do not know how Solaris is configured to use web servers, so I assume it is using Apache, or is it a Sun native? Long shot that one, but never know. I am assuming that both PHP and MySQL were the products of choice and they are set up and running properly. Perhaps you need a look little further afield.
You set up a test server then migrated it? Or was it a straight installation to a production site?
You set up a test server then migrated it? Or was it a straight installation to a production site?
Hi Colin,
The HTML editor is working fine in IE. The problem is that Safari does not allow the HTML editor to load (this is a constant with Safari, not only for me or my site). Solaris is running Apache, PHP and MySQL, but no lines of code have been added. Installation was normal, etc. I keep thinking that config.php might be the answer, and I will get the admin guys to look it over again (I don't have access to check). But if you, or anyone else, thinks of anything....
Thanks again.
The HTML editor is working fine in IE. The problem is that Safari does not allow the HTML editor to load (this is a constant with Safari, not only for me or my site). Solaris is running Apache, PHP and MySQL, but no lines of code have been added. Installation was normal, etc. I keep thinking that config.php might be the answer, and I will get the admin guys to look it over again (I don't have access to check). But if you, or anyone else, thinks of anything....
Thanks again.
This is very odd...
I can certainly confirm the problem but I'm rather annoyed with myself that I can't see why
Using Firebug, it is telling me that there are no styles but viewing the source I can see the links. I can click through the links and load the CSS pages which look OK.
Very odd...
So, what *did* you change? Even if it seems unrelated to this problem. What non-core code of any kind have you added (or taken away). Anything!
I can certainly confirm the problem but I'm rather annoyed with myself that I can't see why
Very odd...
So, what *did* you change? Even if it seems unrelated to this problem. What non-core code of any kind have you added (or taken away). Anything!
Hmm, seems like the style sheet is not being applied in Firefox. It loads fine when you browse directly to it, its a guess but I'd say this has something to do with the redirect to here http://203.234.120.27/english/login/index.php.
Perhaps (somehow) because of this Firefox is not loading/applying the stylesheet? A longshot but not sure what else to suggest.
Perhaps (somehow) because of this Firefox is not loading/applying the stylesheet? A longshot but not sure what else to suggest.
Well.... I tried it with the error console in Firefox and it shows no errors.
Again in Firebug, it shows the two GETs for the styles.php loading successfully. Return code 200.
Another possibility I have seen is a misconfigured server returning the wrong mime type. Not this time though.... both files are happily text/css.
A puzzle wrapped in an enigma!
Again in Firebug, it shows the two GETs for the styles.php loading successfully. Return code 200.
Another possibility I have seen is a misconfigured server returning the wrong mime type. Not this time though.... both files are happily text/css.
A puzzle wrapped in an enigma!
I don't like the look of this in the headers being returned for the style sheet....
Content-Type: text/css;charset=euc_kr
Which is presumably Korean?? In particular, it's not an acceptable charset in the GETs Accept-Charset header (ISO-8859-1, utf-8)
So... my money is on a misconfigured web server.
Content-Type: text/css;charset=euc_kr
Which is presumably Korean?? In particular, it's not an acceptable charset in the GETs Accept-Charset header (ISO-8859-1, utf-8)
So... my money is on a misconfigured web server.
It is at least comforting to see that I am not the only one lost on this one...
Non-code changes:
Installed:
Nanogong module
Quickmail
email list (and removed it)
Installed a few themes
Changed the logos for formal white theme. No themes are loading correctly.
I have not made any changes to the php, any scripts, etc.
Hope that helps.
Non-code changes:
Installed:
Nanogong module
Quickmail
email list (and removed it)
Installed a few themes
Changed the logos for formal white theme. No themes are loading correctly.
I have not made any changes to the php, any scripts, etc.
Hope that helps.
Rob,
See above. Pretty sure it's your Apache config returning a bogus charset. I'm out of my depth re. how to fix it though.
You probably need to start here (or something like it):
http://httpd.apache.org/docs/1.3/mod/mod_mime.html
See above. Pretty sure it's your Apache config returning a bogus charset. I'm out of my depth re. how to fix it though.
You probably need to start here (or something like it):
http://httpd.apache.org/docs/1.3/mod/mod_mime.html
Moodle is a bit strange in that the css file is generated on the fly by a php script. I guess it is possible that has something to do with it. The headers for the CSS file are created by the PHP script but do not contain a charset (as far as I can see). This makes me think that something is rewriting the headers and that can only really be the web server.
That charset came from somewhere - it's probably unusual enough to track down where it's getting set and work back from there.
I wouldn't 100% discount a Moodle problem - I just don't think so.
That charset came from somewhere - it's probably unusual enough to track down where it's getting set and work back from there.
I wouldn't 100% discount a Moodle problem - I just don't think so.
Hi,
Not sure if anyone is still interested in trying to isolate this issue, but I am! I am weary of installing an upgrade as we are mid-session right now, and I don't want any interruptions (I have never done an upgrade and am thus worried it would require a lot of time if something went wrong).
So, is there anything else that I can do short of an upgrade?
Thanks again for the suggestions thus far,
Robb
Not sure if anyone is still interested in trying to isolate this issue, but I am! I am weary of installing an upgrade as we are mid-session right now, and I don't want any interruptions (I have never done an upgrade and am thus worried it would require a lot of time if something went wrong).
So, is there anything else that I can do short of an upgrade?
Thanks again for the suggestions thus far,
Robb
I see that this problem is more on connection on website try again to install another one.... And observe the procedure on how you do it maybe you miss something that I could not figure right now... Again more on config.php and connecting to website.. check both of them and also your server were your moodle is installed....
I downloaded the moodle-cnue.php page and the english/theme/cnue_custom/styles.php page to try and see if I could fix your problem locally. I pointed to styles.php directly in the css link and the styles loaded. Have you checked the file path names? Are there capitals missing? Or spaces? IE is more lenient with case and spaces than Firefox. Just a thought as it seems to work for me.
I think Howard is correct that the character set is the problem. I can see with Firebug that the HTTP request for the CSS is successful however when I go to the CSS tab for styles.php it says there are no styles rules. Clicking edit on the CSS tab will show the contents of the CSS, though so it seems like the browser cannot parse the styles because character set sent by your server is invalid.
The character set should have a hyphen ('euc-kr') instead of an underscore as it is now ('euc_kr') according to the official character sets at http://www.iana.org/assignments/character-sets
The character set should have a hyphen ('euc-kr') instead of an underscore as it is now ('euc_kr') according to the official character sets at http://www.iana.org/assignments/character-sets