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: Cannot change language in config page  (Read 3378 times)

0 Members and 1 Guest are viewing this topic.

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Cannot change language in config page
« on: February 07, 2004, 12:30:49 am »

Running Apache 1.3.27, PHP v. 4.3.3, mySQL client API 3.23.49

Trying to switch language in config screen does not have any effect - the changes is not reflected next tim I go to config, nor in the DB.

I can still add pictures, change other config options.

Any ideas?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Cannot change language in config page
« Reply #1 on: February 07, 2004, 12:47:13 am »

Did you actually upload the other language files?

Did you remember to hit the apply modifications button at the bottom of the page?
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Cannot change language in config page
« Reply #2 on: February 07, 2004, 01:20:50 am »

I unzipped the full package and, looking at the unzipped directory, in the subdir "lang", there are quite a few files named like "swedish.php", "finnish.php".

From the look of the content in those files, it seems OK.

Tried to switch to several different languages, but no one seems to work...
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Cannot change language in config page
« Reply #3 on: February 07, 2004, 01:34:22 am »

Can you provide a link?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Cannot change language in config page
« Reply #4 on: February 07, 2004, 01:42:40 am »

Quote from: "hyperion"
Can you provide a link?


If the URL is enough - http://medlem.spray.se/naasgransen/coppermine

This is hosted at a free web hotel.
I have a mirror site setup at home - offline - and it behaves exactly the same...
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Cannot change language in config page
« Reply #5 on: February 07, 2004, 01:59:16 am »

I can successfully force the language change.

http://medlem.spray.se/naasgransen/coppermine/index.php?lang=french

Do you have a database tool like PHPMyAdmin available?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Cannot change language in config page
« Reply #6 on: February 07, 2004, 10:01:51 am »

I was also able to change the language, to Swedish.

As a workaround, do what hyperion did, just replace french with swedish, and tell your users to do the same.  They only need to do this once, as the cookie remembers their setting.

But we want to find out why it is not updating when you click the 'save new configuration' button.  Try a test to see if other changes take effect.
Try changing the 'last additions' from 'lastup,2', to 'lastup,3'.
Do you get an extra line of thumbs?
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Cannot change language in config page
« Reply #7 on: February 07, 2004, 11:25:49 am »

try this: use a tool like phpMyAdmin, go to the cpg11d_config table and look for the entry "lang" and set it to "swedish" (without the ending ".php").
Then run this in your browser http://medlem.spray.se/naasgransen/coppermine/?lang=xxx (will reset the language for you). If your page displays in swedish, you should be fine...

GauGau
Logged

pero

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Cannot change language in config page
« Reply #8 on: February 08, 2004, 12:07:03 am »

Great with the workaround - thanks alot!
(a peculiar thing is that after doing what hyperion did (.../index.php?lang=swedish), when I opened the config page, the language was set to Swedish...)

Tried changing from lastup,2 to lastup,3 - this works.
Tried enabling debug mode - works.

After taking two deep breaths and thinking a bit, I got this feeling of deja vu. At work, we've had somewhat similar things happening, and reading gaugau's last post regarding resetting the cookie, I got really suspicious.

Tried removing all cookies in my browser and whoosh - the problem went away! (at least from what I can see now - I will test this more thorough and let you know if something turns up).
So, it seems as if this was a cookie related issue. Don't know if it is something that needs further digging or analysis.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Cannot change language in config page
« Reply #9 on: February 08, 2004, 12:14:22 am »

it may have been a browser thing, with your browser not refreshing.

Anyway, glad it's working for you now.  :wink:
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.