News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

No web admin on new 10.04 install[FIXED]

Started by kyfalcon, September 08, 2011, 05:27:54 PM

Previous topic - Next topic

kyfalcon

I tried to go into the web admin from my core on a new 10.04 install. Fill in the user/password and a blank screen comes up. When I hit refresh I get the drop downs but there is nothing in the left hand frame.

I need to swap my nics and remember doing this from the web admin.

Anyone else see this? Any ideas.

kyfalcon

Ok here is some entries in my apache2 error log.

[Thu Sep 08 17:40:41 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: UserLanguage in /var/www/lmce-admin/include/config/config.inc.php on line 11, referer: http://127.0.0.1/lmce-admin/index.php?section=login
[Thu Sep 08 17:40:46 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: UserLanguage in /var/www/lmce-admin/include/config/config.inc.php on line 11, referer: http://127.0.0.1/lmce-admin/index.php?section=userHome
[Thu Sep 08 17:42:22 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: UserLanguage in /var/www/lmce-admin/include/config/config.inc.php on line 11, referer: http://127.0.0.1/lmce-admin/index.php?section=userHome
[Thu Sep 08 17:59:07 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: userLoggedIn in /var/www/lmce-admin/include/config/config.inc.php on line 10
[Thu Sep 08 17:59:08 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: userLoggedIn in /var/www/lmce-admin/include/config/config.inc.php on line 10, referer: http://localhost/lmce-admin/
[Thu Sep 08 17:59:08 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Sep 08 17:59:08 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: userLoggedIn in /var/www/lmce-admin/include/config/config.inc.php on line 10, referer: http://localhost/lmce-admin/
[Thu Sep 08 17:59:08 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: userLoggedIn in /var/www/lmce-admin/include/config/config.inc.php on line 10, referer: http://localhost/lmce-admin/index.php?section=userHome
[Thu Sep 08 17:59:09 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Sep 08 17:59:11 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Sep 08 17:59:11 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Sep 08 17:59:11 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: userLoggedIn in /var/www/lmce-admin/include/config/config.inc.php on line 10, referer: http://localhost/lmce-admin/index.php?section=login
[Thu Sep 08 17:59:17 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: UserLanguage in /var/www/lmce-admin/include/config/config.inc.php on line 11, referer: http://localhost/lmce-admin/index.php?section=login
[Thu Sep 08 17:59:22 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined index: UserLanguage in /var/www/lmce-admin/include/config/config.inc.php on line 11, referer: http://localhost/lmce-admin/index.php?section=login

Foxi352

It's with the new multilingual backend works.

Can you post me the first 20 lines or your config.inc.php please. Will check a.s.a.p.

I suppose the build has been done while checking in, and that not all files of your install are up to date ....

kyfalcon

I'm at work right now, will apt-get update work or should I pull from svn? Or better yet just wipe it and do a complete reinstall.

kyfalcon

Did a complete reinstall. Same problem.  Here are the first 20 lines.

<?PHP
     
     // language to fall back if a CONST does not exist in users language, or if the whole language file is missing
     $GLOBALS['fallbacklang']='en';
     
     // temp to not break old php files not yet translated
     $GLOBALS['lang']=$GLOBALS['fallbacklang'];
     
     // set language to user language if logged in, else set it to fallback language
     if((isset($_SESSION['userLoggedIn'])) && ($_SESSION['userLoggedIn']== true)) {
        if(isset($_SESSION['UserLanguage']))
           $GLOBALS['userlang']=$_SESSION['UserLanguage'];     
        else
           $GLOBALS['userlang']=$GLOBALS['fallbacklang'];   
     } else {
        $GLOBALS['userlang']=$GLOBALS['fallbacklang'];
     }
     $_SESSION['skin']=0;
     

kyfalcon

apt-get update

apt-get upgrade

pulled the latest which had the fix