Author Topic: No web admin on new 10.04 install[FIXED]  (Read 4296 times)

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
No web admin on new 10.04 install[FIXED]
« on: September 08, 2011, 05:27:54 pm »
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.
« Last Edit: September 14, 2011, 04:34:17 pm by kyfalcon »

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: No web admin on new 10.04 install
« Reply #1 on: September 09, 2011, 12:04:53 am »
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

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: No web admin on new 10.04 install
« Reply #2 on: September 09, 2011, 09:56:49 am »
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

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: No web admin on new 10.04 install
« Reply #3 on: September 09, 2011, 03:29:16 pm »
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

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: No web admin on new 10.04 install
« Reply #4 on: September 10, 2011, 04:50:26 am »
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

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: No web admin on new 10.04 install[FIXED]
« Reply #5 on: September 14, 2011, 04:35:17 pm »
apt-get update

apt-get upgrade

pulled the latest which had the fix