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:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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.