Page 1 of 1
[solved] - IE and Templates problem
Posted: Mon Sep 18, 2006 12:41 pm
by Raphael M
Hello
I have a weird problem.
The Internet Explorer does not load any templates, when accessing my blog.
Also no images are loaded, even the ones from the media library.
In Firefox ( under Linux and Windows) everything is ok.
I have only two templates installed. The default one and one selfmade Template (just the default one with a modifyed stylesheet).
Apache mod_rewrite is active and working good.
All paths and permalinks are ok and the rights and permissions seem ok too.
I hope somebody can help.
The URL is:
http://missfeldt.net/blog
Re: IE and Templates - problem
Posted: Mon Sep 18, 2006 1:12 pm
by garvinhicking
Hi!
It doesn't work for me either in FF.
Calling
http://missfeldt.net/blog/serendipity.css gives me a weird 406 HTTP error. Please check with your provider how's that happening.
You might need to switch off URL rewriting, then everything should work.
It definitely looks like a webserver issue...
Best regards,
Garvin
Posted: Mon Sep 18, 2006 1:18 pm
by Raphael M
Ups, the 406 Error was me!
I was trying to solve the template problem, and that lead to the 406 error.
It should work now (no 406 error anymore) but still the template problem.
btw, the Admin-Template works in IE.
And when I use the Template Switcher in IE, the templates are loading.
But when I access the blog by the plain URL, the templates do not load.
Re: IE and Templates - problem
Posted: Mon Sep 18, 2006 1:18 pm
by garvinhicking
Hi!
I believe your Apache is having some mod_negotiation or other module loaded that does not regard the 'virtual' serendipity.css properly. So unless you can disable that one you won't be able to use URL rewriting in s9y.
Sadly I don't know which module is causing this trouble exactly, so maybe your provider can help?
Regards,
Garvin
Posted: Mon Sep 18, 2006 1:20 pm
by Raphael M
Ups,
please see my posting above

Posted: Mon Sep 18, 2006 7:34 pm
by garvinhicking
Hi!
The 406 problem is still the same.
Please disable URL Rewriting, then it should work. Also contact your sysadmin to try to solve the 406 Header problem.
HTH,
Garvin
Posted: Mon Sep 18, 2006 7:55 pm
by judebert
I'm getting the 406 error in FF and IE. But when I visit
http://missfeldt.net/blog/ in either browser under WinXP, I see the entire, properly styled blog.
Cache error?
Posted: Mon Sep 18, 2006 8:19 pm
by Raphael M
URL rewriting is disabled and now it works.
But this is bad, because I need clean URLs.
I dont understand this 406 error thing. In many years I never had any of this problems with my host (even Wordpress worked good for a long time without any of these problems)
I hope I can solve these problems, because I need clean URLs, and I still can´t understand the 406 error.
( what dows it mean ?? )
For now, everything seems to work right in both IE and Firefox. (since i disabled URL rewriting).
But this is no solution for the problem
The strange thing is, when URL rewriting is on, everything works without problems in Firefox (with Linux and WinXP) and I even can access the "virtual" file
http://missfeldt.net/blog/serendipity.css
But it does NOT work with the Internet Explorer.
I do not believe that this is only a mod_rewrite problem. If it was, it would not work in no browser I guess.
Thanks for the help so far.

Still trying to solve the problem...
Posted: Mon Sep 18, 2006 8:31 pm
by garvinhicking
Hi!
I have never heard of 406 either. I believe it could be the "mod_speling" apache module. Serendipity ships with a "serendipity.css.php" file which might confuse that module.
You might just edit your .htaccess file with mod_rewrite and change "serendipity.css" to "serendipity-stylesheet.css" or something like that, and appropriately change it in your index.tpl template file.
But the better solution would be to find out why that 406 error happens. You're the first in my nearly 4 years of Serendipity that has this error- you should feel proud.
The strange thing is, when URL rewriting is on, everything works without problems in Firefox (with Linux and WinXP) and I even can access the "virtual" file
http://missfeldt.net/blog/serendipity.css
But it does NOT work with the Internet Explorer.
I do not believe that this is only a mod_rewrite problem. If it was, it would not work in no browser I guess.
Hm, it really does not work for me in both browsers...
Best regards,
Garvin
Posted: Tue Sep 19, 2006 11:35 am
by Raphael M
I have never heard of 406 either. I believe it could be the "mod_speling" apache module. Serendipity ships with a "serendipity.css.php" file which might confuse that module.
This could be...
I´ll ask my provider.

Posted: Tue Sep 19, 2006 1:55 pm
by Raphael M
Ok, this is funny.
I installed another serendipity blog beside my "real" blog, just to test some things to solve the problem.
I thought, it can not be that these problems I have only appear to happen with the Internet Explorer, and not with Firefox or any other browser I have tested ( including Opera and Konqueror too )
And after a while of trial and error with the "TestBlog", which was configured the exactly same way than my original blog, I remembered a problem I had a long time ago when I was learning the magic of Apaches mod_rewrite.
And I remembered the (simple as can be) solution for this problem.
So I tryed the simplest easyest thing in the world:
- created an empty file in the blogs directory and named it
serendipity.css
This (oh magic) solved the problem.
It seems that some browsers seem to depend on real existing files and folders, and might have problems with some "virtual" files.
Well, I will now give it a try at my blog...
Hope there are no 406 errors anymore and I hope everything is fine now...
Thanks all for the help, so far.
Ill be back, hopefully not with this problem, but sure with some others

Posted: Tue Sep 19, 2006 4:28 pm
by judebert
We'll be here!
Sounds like Internet Explorer isn't handling HTTP redirection properly.
Posted: Thu Sep 21, 2006 4:05 pm
by Raphael M
Yes, it seems so.
Problem is solved. Thanks everybody for the help

I really enjoy working with Serendipity. It´s a real good piece of software.
btw, I marked the topic as [solved]