Can't view site in Internet Explorer

  • mark1882
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #17060 by mark1882
I've built site using the Sportal template.
www.testsitegct.niwebs.co.uk/

It works perfect in all browsers except IE. When I try to view in IE I get the following message (see attachment);
Do you want to open or save testsitegct_niwebs_co_uk.css from www.testsitegct.niwebs.co.uk ?

I'm using Joomla 2.5 and the 2.5 ver of the Sportal template.

I have tried unistalling all the modules & plugins I installed but it still wouldn't work.

I can access the back end in IE ok.

I've never come across this before so any help would be much appreciated.

Thanks
Mark

Attachments:
Last edit: 12 years 9 months ago by mark1882.

Please Log in to join the conversation.

More
12 years 9 months ago #17069 by ivan.milic
In files:

css/template_css.php
css/template_css_ie78.php

you have this line:

header("Content-type: text/css");

remove it in both of them.
The following user(s) said Thank You: mark1882

Please Log in to join the conversation.

  • mark1882
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago #17092 by mark1882
Thanks Ivan, that's fixed it! :)

ivan.milic wrote: In files:

css/template_css.php
css/template_css_ie78.php

you have this line:

header("Content-type: text/css");

remove it in both of them.

Please Log in to join the conversation.

More
11 years 11 months ago #24846 by micke@sanda.nu
Hello,
I have exactly the same problem, see: www.sanda.nu but i do not have header("Content-type: text/css"); i any of the above mentioned files. i am using hot flashes template.
/Thank you in advance,
/Micke

Please Log in to join the conversation.

More
11 years 11 months ago #24860 by ivan.milic
Maybe some component you are using adds false header information, or has echo.... before joomla generates it's header

Please Log in to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum