Different results, same source code Different results, same source code
 

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

Different results, same source code

Started by Bonanza, January 17, 2006, 05:15:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bonanza

I set up a second gallery based on my project_vii theme. The first site works fine, the second site is strange, people using english browsers  told me that nothing will be displayed (see test results below). Both galleries are configured identically. I validated both sites:

First site:
http://validator.w3.org/check?verbose=1&uri=http://www.volker-ackermann.com/gallery/index.php

Second site:
http://validator.w3.org/check?verbose=1&uri=http://www.diemut-fronober.de/gallery/index.php

and it gets different results ?! Why that, line 1  in http://www.diemut-fronober.de/gallery/index.php is marked as wrong (no doctype found) but it is the same than in http://www.volker-ackermann.com/gallery/index.php if you check the source.  I am confused, what did I do wrong?

Test results:

http://www.volker-ackermann.com/gallery/index.php
Windows XP German
IE 6 - ok
Firefox 1.5 - ok
Windows XP English
IE 6 - ok
Firefox 1.5 - ok
Suse Linux 10.0 German
Firefox 1.07 - ok
Konqueror 3.4.2 - ok
Apple OS English
Netscape 7.2 - ok
IE for Mac 5.2 - ok
Safari 2.0.2 for Mac - ok
Firefox 1.5 - ok

http://www.diemut-fronober.de/gallery/index.php
Windows XP German
IE 6 - ok
Firefox 1.5 - ok
Windows XP English
IE 6 - ok
Firefox 1.5 - failed
Suse Linux 10.0 German
Firefox 1.07 - ok
Konqueror 3.4.2 - ok
Apple OS English:
Netscape 7.2 - failed
IE for Mac 5.2 - failed
Safari 2.0.2 for Mac - failed
Firefox 1.5 - failed


Bonanza

Joachim Müller

compare the language sections in coppermine's config. You might want to post screenshots as well (attach them to your posting using additional options when composing your message).
As far as I can see, both are set up to use utf-8 encoding, so another blind guess would be to check the english language file - make sure it isn't broken for the page you're having issues with.
English looks fine for me though (http://www.diemut-fronober.de/gallery/index.php?lang=english)

Bonanza

Isolated the problem a litle bit. If I copy the english language file back to the lang directory (moved all lang files except german) it works with the english firefox browser. GauGau I think you tested it exactly at the moment I copied back the english language file for testing, please retest it: http://www.diemut-fronober.de/gallery/index.php  .
I only want to use the german lang file and it works fine for me with my first site even when you use an english browser/os. Both sites have the same language settings and only the german lang file availabe, first site works with foreign browser too, second site not.


Joachim Müller

works as expected for me: after you  removed the english language file, the page displays in german for me even when trying to force english. However, I have a german browser as well, so maybe another supporter should look into this *hint*  ;).

Bonanza

Theoretically you are right, it works fine for http://www.volker-ackermann.com/gallery/index.php but not for http://www.diemut-fronober.de/gallery/index.php .
Both sites have only the german lang file and the same language settings. Second site displays blank page with english firefox, first site everthing is fine with english firefox. strange is that english IE works with both sites.

The page is simply blank and the page soure is: <html><body></body></html> and I get the error in the first line if english language file is not present:
http://validator.w3.org/check?verbose=1&uri=http://www.diemut-fronober.de/gallery/index.php

Joachim Müller

if you're going to use German only, I recommend switching from utf-8 to Western (iso-8859-1), as the benefit of utf-8 won't aplly for you then.

Bonanza

Want to use utf-8 to have the possibility/flexibility to add other languages later. Something must be different between the two sites, one site is working fine the other not. I have checked every setting - all equal, both have utf-8, german lang and only the german lang file available.

Bonanza

Yes, that would be great if another supporter could check, why the site http://www.diemut-fronober.de/gallery/index.php did not falllback to german if accessed for example with an english firefox on an english OS.

Paver

I'm using Windows XP English and in both IE 6 and Firefox, I see a blank page for that second site.  There's nothing for me to troubleshoot since it's completely blank.  You mentioned that it worked for IE 6, but on my computer, it does not.  My languages settings for both browsers is English only.  The first site works fine in both, as you said.

Bonanza

Try in firefox adding German as language. Tools - Options - Languages - Add German[de] . Move German to top
You should now be able to see http://www.diemut-fronober.de/gallery/index.php

Paver

Ok.  I added German to Firefox, moved it to the top, went to the page, and it loaded up fine.  I then removed German, and afterwards the site still came up fine.  I don't know if I have to close Firefox to unload German.  I cannot do that now, and it probably doesn't matter anyhow.

I tried the site in IE6, it still didn't load.  Then I added German, left it at the bottom, and the page still didn't load.  I moved it to the top, then the site loaded fine.  I removed German, the site was still loading fine.  I closed IE6, re-opened it, and the site still loaded fine, even though "German" is definitely not in the language list.  I cleared my cookies, and then the site no longer loaded up.

I don't know if any of this is useful, but there it is.

Bonanza

#11
Thank you Paver for your effort! I thought it would be helpful, if you could see the site and check the page source. I have absolutely no idea why it works with one site but not with the other. Hopefully your testing result gave other supporters the input for some new ideas why this site did not work. All I could do at the moment is to describe and isolate the problem as best as I can.