Current time: 12-23-2024, 07:57 PM Hello There, Guest! (LoginRegister)


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

Posts: 5
Joined: Mar 2008
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 Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Undefined index: USER_INITIAL_LANG
Do you use an Nightly or RC3 from sf.net?
03-04-2008 10:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh Offline
Newbie
*

Posts: 5
Joined: Mar 2008
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 Offline
Banned

Posts: 3,561
Joined: Jul 2007
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!
03-04-2008 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh Offline
Newbie
*

Posts: 5
Joined: Mar 2008
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  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 Offline
Newbie
*

Posts: 5
Joined: Mar 2008
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 Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
03-04-2008 10:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jimmyh Offline
Newbie
*

Posts: 5
Joined: Mar 2008
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 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)