coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: XHunter on December 25, 2006, 08:09:17 AM

Title: CSS Error in Firefox!
Post by: XHunter 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.
Title: Re: CSS Error in Firefox!
Post by: Joachim Müller 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.
Title: Re: CSS Error in Firefox!
Post by: XHunter 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.
Title: Re: CSS Error in Firefox!
Post by: XHunter 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 ^.^
Title: Re: CSS Error in Firefox!
Post by: Joachim Müller 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.
Title: Re: CSS Error in Firefox!
Post by: XHunter 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.