Advanced search  

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

Pages: [1]   Go Down

Author Topic: Different results, same source code  (Read 6077 times)

0 Members and 1 Guest are viewing this topic.

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Different results, same source code
« on: January 17, 2006, 05:15:35 pm »

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
« Last Edit: January 17, 2006, 08:55:54 pm by Bonanza »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different results, same source code
« Reply #1 on: January 17, 2006, 11:32:22 pm »

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)
Logged

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #2 on: January 17, 2006, 11:53:37 pm »

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.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different results, same source code
« Reply #3 on: January 18, 2006, 12:01:47 am »

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*  ;).
Logged

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #4 on: January 18, 2006, 12:10:05 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Different results, same source code
« Reply #5 on: January 18, 2006, 12:14:34 am »

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

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #6 on: January 18, 2006, 12:42:15 am »

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

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #7 on: January 18, 2006, 05:35:06 pm »

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

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Different results, same source code
« Reply #8 on: January 19, 2006, 12:57:49 am »

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

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #9 on: January 19, 2006, 09:21:06 am »

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
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Different results, same source code
« Reply #10 on: January 20, 2006, 12:41:29 am »

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

Bonanza

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Different results, same source code
« Reply #11 on: January 20, 2006, 03:52:32 pm »

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.
« Last Edit: January 20, 2006, 06:07:21 pm by Bonanza »
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.