ispCP - Board - Support
SOLVED | Undefined index: USER_INITIAL_LANG - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: SOLVED | Undefined index: USER_INITIAL_LANG (/thread-2632.html)



SOLVED | Undefined index: USER_INITIAL_LANG - Jimmyh - 03-04-2008 09:44 PM

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


RE: Undefined index: USER_INITIAL_LANG - gOOvER - 03-04-2008 10:02 PM

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


RE: Undefined index: USER_INITIAL_LANG - Jimmyh - 03-04-2008 10:03 PM

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

I use RC3 from sf.net

//Jimmy


RE: Undefined index: USER_INITIAL_LANG - gOOvER - 03-04-2008 10:14 PM

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

Can you post this file, please!


RE: Undefined index: USER_INITIAL_LANG - Jimmyh - 03-04-2008 10:22 PM

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

Can you post this file, please!

Ok, here it is as an attachment. Smile

[attachment=326]


RE: Undefined index: USER_INITIAL_LANG - Jimmyh - 03-04-2008 10:28 PM

Jimmyh Wrote:[quote=gOOvER]
This line is empty Smile
http://www.isp-control.net/ispcp/browser/trunk/gui/include/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


RE: Undefined index: USER_INITIAL_LANG - joximu - 03-04-2008 10:41 PM

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


RE: Undefined index: USER_INITIAL_LANG - Jimmyh - 03-05-2008 01:07 AM

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