forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: trooper on July 12, 2006, 01:29:55 pm

Title: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 01:29:55 pm
I have just installed CPG1.4.8 upon my webserver.

But when I access it in Firefox 90% of the themes looks frogkinged up and the font is just a mess.
But in Internet Explorer everything is fine.

When I check the demo of CPG on the main site I get no graphical errors at all.

I have two different installations of this on my webserver.
1. The gentoo portage version if 1.4.8.
2. Downloaded the source and unpacked and set it up.

I have sought through this and I can't get it to work correctly.

http://www.troopern.net/test/cpg148/ (http://www.troopern.net/test/cpg148/) Does this look awful for you in Firefox? It does to me.

Any help to resolve this issue would be great, I'd hate do have to use IE for this gallery all the time.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 02:07:56 pm
your style.css file didn't load on F.F !
I'm not sure but check your .htaccess file for HTTP_USER_AGENT restriction
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 02:37:41 pm
Tho I don't have a .htaccess file in the folder currently.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 02:44:37 pm
I have 3rdparty CSS editor (web developer toolbar) on FF and when I load it your page is just fine and when remove it all css gone I think that it was user agent blocking
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 02:50:16 pm
Well that was strange...

I find it odd that the demo works just fine, but my own doesn't.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 03:00:06 pm
do you have any .htaccess on root or gallery folder?
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 03:07:01 pm
There's no .htaccess file in the test version of CPG or the sharp one I've set up. So they are both identical.
And no root htaccess either.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 03:24:28 pm
let's check this out:
please unzip the attachment under root of your gallery and then browse test.htm by ff
this file has 2 simple text line ,one has a external style and other one has it's own a style properties
if you can seen them bold and size(24px,large) & color(dark red) for both are the same then I'm wrong ;)
please put them on the root of your test gallery (it could better if you copy them on themes foldertoo)
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 03:29:56 pm
This is the result:
http://www.troopern.net/test/cpg148/test.html

The text was not bold in both lines, just the styled one and not the CSS one.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 03:40:47 pm
- I have set a style for body on style.css so the first text should be same as a 2nd text!
- as you can see the first one didn't have any style applied , so you have problem with style.css loading with FF
- if you check it with IE you find both line are the same
- ask your host for support .
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 03:56:09 pm
Yeah it seems to be my FF that's the problem.
I have to check it.
The webserver is mine all mine, so I'm the one to check stuff there..

I'll have to dig some to try to solve this then.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 12, 2006, 04:01:41 pm
This is not your FF , I seen the issue with mine FF too!
as I said before you should chack for any restriction on FF
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 12, 2006, 05:16:50 pm
The thing is it's only CPG that this error occurs with, any other site on my webserver is working correctly with CSS and styles.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Joachim Müller on July 12, 2006, 10:17:37 pm
All websites but yours, so there is some restriction in place on your server - maybe on a higher-level folder that you're not allowed to access. Unless the server is yours to administer, you can't say for sure that there is not .htaccess file or similar that does what bmossavari tells you repeatedly.
Contact your webhost.

Joachim

1. The gentoo portage version if 1.4.8.
what's that? Please rephrase and post a link to where you got the sources from
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Nibbler on July 12, 2006, 11:30:24 pm
Don't use packages - download the original version from us.

Firefox objects to your css

Quote
Error: The stylesheet http://www.troopern.net/test/cpg148/themes/classic/style.css was not loaded because its MIME type, "text/plain", is not "text/css".
Source File: http://www.troopern.net/test/cpg148/
Line: 0

I think there's some apache mime setting that needs a tweak.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 13, 2006, 11:29:34 am
Don't use packages - download the original version from us.

Firefox objects to your css

I think there's some apache mime setting that needs a tweak.

I've got one that's packaged.. and that's just the same as yours but it's through portage and is not modified since it's pure source.
One version, the link I pasted is the pure source taken from coppermine's main page.

The webserver is mine to administer, and I put the gallery in it's own 'root' folder, and it's not within another websites folder.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Sami on July 13, 2006, 12:24:15 pm
I agree with Nibbler
if you check your javascript Consol you can see the error
your server send sytle.css as a text/plain so FF will drop it !
your server has a wrong MimeType setting
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 13, 2006, 01:48:08 pm
After having to edit the mimetypes for CSS to text/css it works absoultely fine now.
Thanks for all the help!
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Joachim Müller on July 13, 2006, 01:58:24 pm
I've got one that's packaged.. and that's just the same as yours but it's through portage and is not modified since it's pure source.
How can you know that it's the very same thing? What's "pure source" to you? How do you check "purity"? Did you diff it? Do you know what "diff" is? Please post a link to the page you got that other package from.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: trooper on July 16, 2006, 08:15:29 pm
This is where I downloaded the pure source:
http://prdownloads.sourceforge.net/coppermine/cpg1.4.8.zip?download

The other version I installed through Gentoo Portage.
Title: Re: Looks good in IE but not in Firefox... :(
Post by: Joachim Müller on July 16, 2006, 08:44:22 pm
Well, I know our download link - I was refering to the other package you got (the Gentoo stuff). Anyway, this discusssion is leading nowhere, don't mind. You probably didn't download anything from Gentoo, but used an auto-installer. Auto-installers are not recommended, they are not the real, genuine thing.