Post Reply  Post Thread 
SOLVED | Undefined index: USER_INITIAL_LANG
Author Message
Jimmyh
Newbie
*


Posts: 5
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #1
SOLVED | Undefined index: USER_INITIAL_LANG

Hi!

I've just installed ispcp rc3 on my debian etch and everything seemed to work fine until i try to reach the loginpanel then i just gets these messages:

Notice: Undefined index: USER_INITIAL_LANG in /var/www/ispcp/gui/include/i18n.php on line 38

Notice: Undefined index: USER_INITIAL_LANG in /var/www/ispcp/gui/include/i18n.php on line 38

Notice: Undefined index: USER_INITIAL_LANG in /var/www/ispcp/gui/include/i18n.php on line 38

Notice: Undefined index: USER_INITIAL_LANG in /var/www/ispcp/gui/include/i18n.php on line 38


Iv'e googled it and searched in this forum but it doesnt seem as anyone have had this problem Smile

Anyone have any idea what the issue is and how i solve it?

Best regards,
Jimmy

This post was last modified: 03-05-2008 01:08 AM by Jimmyh.

03-04-2008 09:44 PM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,530
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #2
RE: Undefined index: USER_INITIAL_LANG

Do you use an Nightly or RC3 from sf.net?


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
03-04-2008 10:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh
Newbie
*


Posts: 5
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #3
RE: Undefined index: USER_INITIAL_LANG

gOOvER Wrote:
Do you use an Nightly or RC3 from sf.net?


I use RC3 from sf.net

//Jimmy

03-04-2008 10:03 PM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,530
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #4
RE: Undefined index: USER_INITIAL_LANG

This line is empty Smile
http://www.isp-control.net/ispcp/browser...e/i18n.php

Can you post this file, please!


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
03-04-2008 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh
Newbie
*


Posts: 5
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #5
RE: Undefined index: USER_INITIAL_LANG

gOOvER Wrote:
This line is empty Smile
http://www.isp-control.net/ispcp/browser...e/i18n.php

Can you post this file, please!


Ok, here it is as an attachment. Smile


.php File  i18n.php (Size: 5.11 KB / Downloads: 3)

03-04-2008 10:22 PM
Find all posts by this user Quote this message in a reply
Jimmyh
Newbie
*


Posts: 5
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #6
RE: Undefined index: USER_INITIAL_LANG

Jimmyh Wrote:
[quote=gOOvER]
This line is empty Smile
http://www.isp-control.net/ispcp/browser...e/i18n.php

Can you post this file, please!


I might have done something wrong with the file. I tried to upload the one you refered to instead and now i get the same errormessage but it says line 42 instead.

//Jimmy

03-04-2008 10:28 PM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,537
Group: Moderators
Joined: Jan 2007
Status: Online
Reputation: 47
Post: #7
RE: Undefined index: USER_INITIAL_LANG

The line numbers changed since RC3... :-)

normally the Variable is set in
ispcp-lib.php:$cfg['USER_INITIAL_LANG'] = 'lang_English';

so, I wonder why it's not set in your system.
Is there no other error that comes before or after the mentioned?

/J


2008-03-16 ispCP RC4 released!!!
03-04-2008 10:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh
Newbie
*


Posts: 5
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #8
RE: Undefined index: USER_INITIAL_LANG

Hi again!

The issue is solved! I couldnt find out what was wrong so i decided to reinstall it. After i've done that it worked fine, so i must have missed something the first time. Smile

Thanks for your quick answers!

Best regards,
Jimmy

03-05-2008 01:07 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |