Advanced search  

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]

Pages: [1]   Go Down

Author Topic: changing language file is causing incorrect display of my graphic theme  (Read 12736 times)

0 Members and 1 Guest are viewing this topic.

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58

I have this really weird problem. When I change (or only save) specific language file (in my case czech), than the graphic theme on my gallery is not displayed correctly in Internet Explorer (however in Firefox it is still ok).
Link to my gallery in english (with correct display of theme Oranje in IE):
http://santoro.ic.cz/index.php?lang=english (in
Link to my gallery in czech (with incorrect display of theme Oranje in IE):
http://santoro.ic.cz/index.php?lang=czech
See what happens in attached jpg.
Does anybody have some eplanation for this? Thanks!
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #1 on: December 04, 2007, 05:40:50 pm »

Ingor the advertising stripe on the top (it's not mine - the free webhoster implements it on my page automatically).
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #2 on: December 04, 2007, 05:47:21 pm »

Here is even a link to my page with unchanged czech language:
http://santoro.ic.cz/index.php?lang=czechunchanged
Logged

Nibbler

  • Guest
Re: changing language file is causing incorrect display of my graphic theme
« Reply #3 on: December 04, 2007, 07:07:12 pm »

If you want consistent results then use valid HTML in the first place.
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #4 on: December 04, 2007, 07:09:14 pm »

What's not valid? :)
Logged

Nibbler

  • Guest
Re: changing language file is causing incorrect display of my graphic theme
« Reply #5 on: December 04, 2007, 07:14:18 pm »

Dumping this above the <html> tag is not valid. It needs to go somewhere *inside* the page.

Code: [Select]
<!-- add search box -->
<div style="position:absolute; top:40px; right:150px">
<form method="get" action="thumbnails.php" name="searchcpg">
<input type="hidden" name="album" value="search">
<input type="hidden" name="type" value="full">
<input type="text" style="width: 150px" name="search" maxlength="255" value="" class="textinput">
<input type="submit" value="HLEDEJ">
</form>
</div>
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #6 on: December 04, 2007, 07:33:12 pm »

I tried to put it away, but it doesn't solve the problem :(
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #7 on: December 04, 2007, 08:23:27 pm »

I have this problem even with unmodified theme Oranje.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Nibbler

  • Guest
Re: changing language file is causing incorrect display of my graphic theme
« Reply #9 on: December 05, 2007, 10:30:10 am »

Probably the BOM:

Warning Byte-Order Mark found in UTF-8 File.

      The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.


Make sure you make your edits with something that doesnt create a BOM when editing UTF-8 files.
Logged

santoro

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 58
Re: changing language file is causing incorrect display of my graphic theme
« Reply #10 on: December 05, 2007, 06:44:01 pm »

I see. Thanks Nibbler.
I was using Windows Commander notepad to edit the language file. Can you recommend me some another, more proper editor?
Logged

Nibbler

  • Guest
Re: changing language file is causing incorrect display of my graphic theme
« Reply #11 on: December 05, 2007, 06:47:51 pm »

I don't use windows.

Check Tools recommended by the devs .
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: changing language file is causing incorrect display of my graphic theme
« Reply #12 on: December 06, 2007, 07:55:00 am »

Or try Notepad++
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.