CSS Error in Firefox! CSS Error in Firefox!
 

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]

Main Menu

CSS Error in Firefox!

Started by XHunter, December 25, 2006, 08:09:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

XHunter

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.

Joachim Müller

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.

XHunter

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.

XHunter

*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 ^.^

Joachim Müller

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.

XHunter

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.