News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

No CSS with Mozilla Firebird

Started by Wissi, March 14, 2004, 12:44:18 PM

Previous topic - Next topic

Wissi

Hey,
I've installed SMF Public 4 Beta.

When I use Mozilla Firebird there is no CSS, not with Default Theme and not with Classic Theme.
But everything is ok when I use Internet Explorer.
In this Forum (SMF- Community Board) I have no problems with CSS.

Whats wrong?



Forum version: SMF 1.0 Beta 4 Public
Current SMF version: SMF 1.0 Beta 4 Public
PHP version: 4.3.4
MySQL version: 4.0.17-standard
Server version: Apache
GD version: bundled (2.0.15 compatible)



dev



Skoen

Weird, cause I get no problems in my Mozilla Firebird on either my own forum or the SMF community.

Here is the information for my own forum where I have installed SMF Beta 4 Public.

Forum version: SMF 1.0 Beta 4 Public
Current SMF version: SMF 1.0 Beta 4 Public
PHP version: 4.3.4
MySQL version: 3.23.58
Server version: Apache/1.3.29 (Unix) PHP/4.3.4
GD version: bundled (2.0.15 compatible)
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


Wissi

I also have no problems with your forum.

Here is the link http://usa-austausch.net/smf/index.php

So it seems not to be a general problem, must be my fault...


dev



bostasp

Have you removed the classic theme at all?

Chris Cromer

That is the weirdest thing I have seen... the link to the css file is there. I checked and the file exists... I typed it into my browser and it loaded it.

But it isn't coloring it...
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

Wissi

No, it's still there and i can use it.
And the CSS-Files are also there.

dev



Gobalopper

Your server is sending .css files as text/plain in the headers which may be the reason for this.

Wissi

How can i change this?

When I do a Detailed Version Check, there are on the 'Default Templates' many '??' . Is this normal?


dev




Chris Cromer

Yes that is normal. As for how to fix it... are you the host of the server? If not ask your host to correct it... if so... then wait for a reply on how to do it.
Chris Cromer

"I was here, here I was, was I here, sure I was" - The little voice in my head.

Wissi

My host says that he has never seen any option for css in the server-options and he dont knows what to change.
Does anyone know what must be changed?

I had no problems with YABB 1 SP1 and YABB SE.
I've tried out YABB 1 SP2 Beta today and there is the same problem.


dev



Gobalopper

Are you guys running Apache? If you are you would edit the httpd.conf file to include that mime type.

Ben_S

If you are on a cpanel server, you can do it through your cpanel
Liverpool FC Forum with 14 million+ posts.

Wissi

#12
Quote from: Gobalopper on March 15, 2004, 02:33:36 PM
Are you guys running Apache? If you are you would edit the httpd.conf file to include that mime type.

Ok, what does he have to edit there?


He sent me this from the httpd.conf:
Quote#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

But he fears that when he changes this, the server will not run very well.


dev



[Unknown]

There should be something like... (note: I DO NOT know Apache well)

AddType text/css .css

-[Unknown]

Elden

Good guess.

Just add that to httpd.conf.  The webserver may need a restart as well for it to become effective.
Visit the PlanetGloom Forums.

Advertisement: