Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CSS Error in Firefox!  (Read 4084 times)

0 Members and 1 Guest are viewing this topic.

XHunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
CSS Error in Firefox!
« on: December 25, 2006, 08:09:17 am »

Well I'm trying to get a Image Gallery up on my site, and every time I view the image gallery the CSS dose not load, no matter what theme I have it on.

I've check my error logs in Firefox and this is what it shows

Error: The stylesheet http://rockmanamv.com/multimedia/gallery/themes/classic/style.css was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://rockmanamv.com/multimedia/gallery/index.php
Line: 0

My Image gallery is obviously located here
http://rockmanamv.com/multimedia/gallery/index.php

and it only seems that firefox is having this problem because I've check out the gallery in Opera and IE7, and they both load the CSS fine.
« Last Edit: December 26, 2006, 09:40:31 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CSS Error in Firefox!
« Reply #1 on: December 25, 2006, 10:56:57 am »

You're running cpg1.4.8. Upgrade as suggested in our docs to the most recent stable release cpg1.4.10. Among other things, this should fix your broken stylesheet as well.
Logged

XHunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CSS Error in Firefox!
« Reply #2 on: December 25, 2006, 09:20:21 pm »

hmm odd.. I download and installed the cpg 1.4.10 (stable) and its still giving me the same error

Error: The stylesheet http://rockmanamv.com/multimedia/gallery/themes/hardwired/style.css was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://rockmanamv.com/multimedia/gallery/index.php
Line: 0

and whats weirder is that I can view other peoples Image Gallerys that are also cpg, and they load just fine.

I'm going to clear my Cache and see if that helps.
Logged

XHunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CSS Error in Firefox!
« Reply #3 on: December 25, 2006, 09:31:17 pm »

*Apologizes for the double post*

heres a visual picture of what it looks like on my end.
http://i30.photobucket.com/albums/c345/XHunter17/cpg.jpg

any suggestions are gladly accepted ^.^
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CSS Error in Firefox!
« Reply #4 on: December 26, 2006, 02:23:10 am »

It seems that your stylesheet got corrupted during upload. Make sure that you have used the proper FTP mode and that you have used a "real" FTP app (instead of some crap like the MS Frontpage uploader). Compare your stylesheet (http://rockmanamv.com/multimedia/gallery/themes/hardwired/style.css) to the corresponding one of our demo (http://coppermine-gallery.net/demo/cpg14x/themes/hardwired/style.css) - they differ.
Logged

XHunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CSS Error in Firefox!
« Reply #5 on: December 26, 2006, 08:43:40 am »

ok I got it to work with the help of my friend. it seems all I had to do was add

<?php
 header('content-type:text/css');
 ?>

at the very top, with no spaces or line breaks.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.