News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.