coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: RubberDuck on August 21, 2005, 10:59:24 PM

Title: Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203
Post by: RubberDuck on August 21, 2005, 10:59:24 PM
I get the following error on the very top when I login:
Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203

line 203 looks like this:
        define('USER_GROUP_SET', '(' . $USER_DATA['group_id'] . ($USER_DATA['user_lang'] != '' ? ',' . $USER_DATA['user_lang'] : '') . ')');

What does that exactly mean and how can I fix it? Didnt find anything when I used the search.
Title: Re: Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203
Post by: Nibbler on August 21, 2005, 11:27:19 PM
Looks like you're running an old version of init.inc.php. Verify using the versioncheck.php
Title: Re: Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203
Post by: RubberDuck on August 22, 2005, 01:53:30 AM
Got that right ... uploaded the actual file and everything works fine.
Thanks.