[n/a: cpg1.3.0 support request]: Problem with the language files [n/a: cpg1.3.0 support request]: Problem with the language files
 

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

Main Menu

[n/a: cpg1.3.0 support request]: Problem with the language files

Started by acc, May 09, 2004, 10:57:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

acc

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

Joachim Müller


acc


Joachim Müller

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


Casper

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

http://www.assursgarage.se/galleri/index.php?lang=english

as they should, but to;

http://www.assursgarage.se/php-bin/php.cgi?lang=english



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

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 $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