forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: acc on May 09, 2004, 10:57:13 pm

Title: [n/a: cpg1.3.0 support request]: Problem with the language files
Post by: acc on May 09, 2004, 10:57:13 pm
When i try to change the language as a visitor i get this error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@b-one.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

But it works perfect when i change it in the config on admin panel.

//Acc
Title: Re: Problem with the language files
Post by: Joachim Müller on May 10, 2004, 10:55:09 am
link?
Title: Re: Problem with the language files
Post by: acc on May 11, 2004, 12:11:09 am
http://www.myhomepage.com/php-bin/php.cgi?lang=french

I got the same problem when  i want to delete Ecards
Title: Re: Problem with the language files
Post by: Joachim Müller on May 11, 2004, 12:15:04 am
what is this url supposed to do? I get redirected to a webhost ad... Small wonder, the file php.cgi doesn't exist with coppermine. Post a link to your (working) home page, so I can have a look, not some made-up url.

GauGau
Title: Re: Problem with the language files
Post by: acc on May 11, 2004, 12:25:25 am
Sorry:
Here is the link http://www.assursgarage.se/php-bin/php.cgi?lang=french   ;)
Title: Re: Problem with the language files
Post by: Casper on May 11, 2004, 12:45:19 am
The link to his gallery is http://www.assursgarage.se/galleri/ (it would have helped if you gave us this).

It is a version 1.3 gallery.  This has no support yet, as it is in beta testing stage.

The hyperlinks from the language selector flags do not direct to

Code: [Select]
http://www.assursgarage.se/galleri/index.php?lang=english

as they should, but to;

Code: [Select]
http://www.assursgarage.se/php-bin/php.cgi?lang=english


Title: Re: Problem with the language files
Post by: Joachim Müller on May 11, 2004, 07:54:07 am
improper server setup, if you ask me. The language selector is based on the var $_SERVER["SCRIPT_NAME"] to be present and point to the actual script, not some bogus "php-bin/php.cgi" crap. You could try replacing line 1462 in include/functions.inc.php that says
Code: [Select]
$cpgChangeUrl = $_SERVER["SCRIPT_NAME"]."?";to make it work, but I'd rather recommend getting the server set up properly. Although Casper is right (cpg1.3.0 isn't supported yet), this is not related to the beta state of cpg1.3.0...

GauGau