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

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.