Language Default and Theme not set in Config Language Default and Theme not set in Config
 

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

Language Default and Theme not set in Config

Started by jimcintosh, July 14, 2007, 08:21:04 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jimcintosh

I just installed Coppermine yesterday and everything seems to be running great. I changed a number of Coppermine configuration options (nothing radical, just the gallery name, gallery description and so forth). I've created and album and uploaded a photo and am very happy with the results. I have just one problem. When I go into Config as the administrator and change either the default language or theme and save the new configuration, when I go back into Config the default language is back to English and the theme is back to Classic.

In other words, if I change the gallery name and save the new configuration, when I go back into Config the new gallery name is there. If, on the other hand, I change either the default language or the theme and save the new configuration, when I go back into Config the language is back to English and the theme is back to Classic. It is as if these two options (and, from what I've seen, only these two) are not being saved by the Config program or that the Config program is overridding these two options whenever I go back into it.

Does anyone have a clue as to why Config either isn't saving these options or is reverting back from what I specified?

Coppermine: 1.4.12, php: 4.4.6; Site: http://www.ofmbolivia.org/galeria/

phill104

If you look in the manual there is a suggestion as to why this could be. Have you tried this

Quote"Character encoding" is probably set (or has been set sometime ago) to UTF-8 on your config page.
When UTF-8 is selected, Coppermine chooses your language file based on your browser configuration and stores the value in a cookie. This overrides the value stored in the CONFIG.
To fix that:


Set "Character encoding" to Default (language file)
Then call the script with http://yoursite.com/coppermine_dir/index.php?lang=xxx (this will reset the cookie)
It is a mistake to think you can solve any major problems just with potatoes.

Nibbler


jimcintosh

Quote from: Nibbler on July 14, 2007, 09:56:25 PM
Reset your theme here - http://www.ofmbolivia.org/galeria/index.php?theme=xxx
Reset your language here - http://www.ofmbolivia.org/galeria/index.php?lang=xxx

Then you will see what is set in config correctly.
That did it. Thanks very much for your help!

RoarinRow

Quote from: jimcintosh on July 15, 2007, 04:54:31 AM
That did it. Thanks very much for your help!

That worked for me too, thanks!   8)
SMF 2.0 RC4
TP 1.0 RC1
Wordpress 3.0.4