Looks good in IE but not in Firefox... :( Looks good in IE but not in Firefox... :(
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Looks good in IE but not in Firefox... :(

Started by trooper, July 12, 2006, 01:29:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trooper

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/ 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.

Sami

your style.css file didn't load on F.F !
I'm not sure but check your .htaccess file for HTTP_USER_AGENT restriction
‍I don't answer to PM with support question
Please post your issue to related board

trooper

Tho I don't have a .htaccess file in the folder currently.

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

trooper

Well that was strange...

I find it odd that the demo works just fine, but my own doesn't.

Sami

do you have any .htaccess on root or gallery folder?
‍I don't answer to PM with support question
Please post your issue to related board

trooper

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.

Sami

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)
‍I don't answer to PM with support question
Please post your issue to related board

trooper

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.

Sami

- 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 .
‍I don't answer to PM with support question
Please post your issue to related board

trooper

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.

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

trooper

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.

Joachim Müller

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

Quote from: trooper on July 12, 2006, 01:29:55 PM
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

Nibbler

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.

trooper

Quote from: Nibbler on July 12, 2006, 11:30:24 PM
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.

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

trooper

After having to edit the mimetypes for CSS to text/css it works absoultely fine now.
Thanks for all the help!

Joachim Müller

Quote from: trooper on July 13, 2006, 11:29:34 AM
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.

trooper

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.