coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: nuepel on June 17, 2007, 08:29:38 PM

Title: error: "Not in Coppermine..."
Post by: nuepel on June 17, 2007, 08:29:38 PM
Hi,
I have installed coppermine in joomla. then I want to chang the language file turkish.php in ISO-8859-9.
I have upload the new language file. then I can't open my admin side and my webpage. On webpage is appeared "Not in Coppermine...".
my webpage : www.gindor.de (http://www.gindor.de)
Title: Re: error: "Not in Coppermine..."
Post by: Sami on June 18, 2007, 10:23:04 AM
check your turkish.php it should have

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}

at the beginning just after copyright comments

Not an install issue, moving ...
Title: Re: error: "Not in Coppermine..."
Post by: nuepel on June 21, 2007, 09:54:21 PM
first I checked turkish.php, but it didn't work.
then I have checked turkish.php in joomla language file, and it was ok...
thanks a lot....
Title: Re: error: "Not in Coppermine..."
Post by: Sami on June 22, 2007, 08:21:41 AM
So you had

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}

on your joomla's language file!

BTW you shouldn't remove that from coppermine's turkish.php file

Thanks for resolving :)