Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203 Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203
 

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

Undefined index: user_lang in /var/www/cpg/include/init.inc.php on line 203

Started by RubberDuck, August 21, 2005, 10:59:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RubberDuck

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.

Nibbler

Looks like you're running an old version of init.inc.php. Verify using the versioncheck.php

RubberDuck

Got that right ... uploaded the actual file and everything works fine.
Thanks.