Users cannot select language - returns script error Users cannot select language - returns script error
 

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

Users cannot select language - returns script error

Started by wellandweb, November 23, 2004, 04:38:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wellandweb

I am using cpg132 with the Mac OSX theme on a Unix server.

The gallery has installed fine except that users cannot select the display language from either the language selection list or by clicking on the flags at the bottom of the screen.

When the mouse hovers over the flags, the browser shows the link as  http://mysitenamehere.co.uk/execscriptdir/php.cgi?lang=whatever_language_you_click_on

This is obviously the wrong path to the language files but I cannot find how to change this to the correct path of http://mysitenamehere.co.uk/cpg132/lang/

Thank You

Joachim Müller

This is usually caused by improper server setup - make sure your server vars are properly populated (in your case: $_SERVER["SCRIPT_NAME"] ). If you can't do this, edit include/functions.inc.php and populate it manually be editing the line $cpgChangeUrl = $_SERVER["SCRIPT_NAME"]."?";(not recommended though, as this var is being used in other places as well, so you're bound to run into troubles in other places as well).

Joachim