Koozali.org: home of the SME Server

Horde menu problem

Offline meelis

  • ****
  • 112
  • +0/-0
Horde menu problem
« on: November 24, 2006, 07:29:19 AM »
After i upgrade horde, imap&... to  horde 3.1 i cannot see leftside menu, but all other things works fine.

mbachmann

Horde menu problem
« Reply #1 on: November 24, 2006, 01:47:16 PM »
Reconfigure and reboot does not work?

spanna

Horde menu problem
« Reply #2 on: November 24, 2006, 04:29:42 PM »
Hi,

You mean the menu is there but you can't expand entries, or the menu is actually blank?

If it's the first, it's an issue with IE7. If it's the second, I have no idea.

Offline meelis

  • ****
  • 112
  • +0/-0
Horde menu problem
« Reply #3 on: November 27, 2006, 06:59:39 AM »
Quote from: "spanna"
Hi,

You mean the menu is there but you can't expand entries, or the menu is actually blank?

If it's the first, it's an issue with IE7. If it's the second, I have no idea.


Yes, menu is there but no links, i watch registry and there configured imp=active

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde menu problem
« Reply #4 on: December 01, 2006, 03:44:16 AM »
Quote from: "meelis"
Quote from: "spanna"
Hi,

You mean the menu is there but you can't expand entries, or the menu is actually blank?

If it's the first, it's an issue with IE7. If it's the second, I have no idea.


Yes, menu is there but no links, i watch registry and there configured imp=active


I can not duplicate this issue.  Did you check the md5sums?  imp=active doesn't activate the sidebar it only activates imp.  What are in your logs (/var/log/messages).  If possible do a signal-event post-upgrade ; signal-event reboot, then check the logs.  Pay attention to the mysql.init events and see if you are getting any errors.

John
......

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #5 on: December 01, 2006, 05:55:26 PM »
I have a strange but similar problem on a server after upgrading horde (install-> post-upgrade -> reboot done): only in administrator webmail the sidebar is empty.
From my log:

Code: [Select]
HORDE[3658]: [imp] Login success for admin@MY_DOMAIN [xxx.xxx.xxx.xxx] to {localhost:143} [on line 152 of "/home/httpd/html/horde/imp/redirect.php"]
Dec  1 17:37:27 server-gateway 3pY[3658]: PHP Notice:  Undefined index:  name in /home/httpd/html/horde/services/portal/sidebar.php on line 174
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 fd=7 ACCEPT from IP=127.0.0.1:35974 (IP=0.0.0.0:389)
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=0 BIND dn="" method=128
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=0 RESULT tag=97 err=0 text=
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=1 UNBIND
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 fd=7 closed
Dec  1 17:42:38 server-gateway httpd: PHP Notice:  Undefined index:  name in /home/httpd/html/horde/services/portal/sidebar.php on line 174
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 fd=7 ACCEPT from IP=127.0.0.1:36056 (IP=0.0.0.0:389)
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=0 BIND dn="" method=128
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=0 RESULT tag=97 err=0 text=
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=1 UNBIND
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 fd=7 closed


In sidebar.php on line 174 I have

Code: [Select]
/* Check if the current user has permission to see this
* application, and if the application is active.
* Administrators always see all applications. */
if ((Auth::isAdmin() && $params['status'] != 'inactive') ||
    ($registry->hasPermission($application) &&
    ($params['status'] == 'active'))) {
    $prefs_apps[$application] = _($params['name']);
            }


What's the problem?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde menu problem
« Reply #6 on: December 01, 2006, 06:17:26 PM »
Quote from: "progitto"
I have a strange but similar problem on a server after upgrading horde (install-> post-upgrade -> reboot done): only in administrator webmail the sidebar is empty.
From my log:

Code: [Select]
HORDE[3658]: [imp] Login success for admin@MY_DOMAIN [xxx.xxx.xxx.xxx] to {localhost:143} [on line 152 of "/home/httpd/html/horde/imp/redirect.php"]
Dec  1 17:37:27 server-gateway 3pY[3658]: PHP Notice:  Undefined index:  name in /home/httpd/html/horde/services/portal/sidebar.php on line 174
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 fd=7 ACCEPT from IP=127.0.0.1:35974 (IP=0.0.0.0:389)
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=0 BIND dn="" method=128
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=0 RESULT tag=97 err=0 text=
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 op=1 UNBIND
Dec  1 17:37:28 server-gateway slapd[3374]: conn=4 fd=7 closed
Dec  1 17:42:38 server-gateway httpd: PHP Notice:  Undefined index:  name in /home/httpd/html/horde/services/portal/sidebar.php on line 174
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 fd=7 ACCEPT from IP=127.0.0.1:36056 (IP=0.0.0.0:389)
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=0 BIND dn="" method=128
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=0 RESULT tag=97 err=0 text=
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 op=1 UNBIND
Dec  1 17:42:38 server-gateway slapd[3374]: conn=5 fd=7 closed


In sidebar.php on line 174 I have

Code: [Select]
/* Check if the current user has permission to see this
* application, and if the application is active.
* Administrators always see all applications. */
if ((Auth::isAdmin() && $params['status'] != 'inactive') ||
    ($registry->hasPermission($application) &&
    ($params['status'] == 'active'))) {
    $prefs_apps[$application] = _($params['name']);
            }


What's the problem?


Try setting the gollem-menu directive in horde/registry.php to inactive and see if the error goes away and if the sidebar works.  I have this same error on my test server, but my sidebar works fine.  Are you using this with php 5 by chance?

John
......

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #7 on: December 01, 2006, 06:26:04 PM »
Php is the standard sme7 version.
Now I'll try to modify the registry.php.

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #8 on: December 02, 2006, 11:24:49 AM »
I've wrote this in registry.php using template 620
Code: [Select]
// 620AppRegistryGollem
$this->applications['gollem'] = array(
    'fileroot' => dirname(__FILE__) . '/../gollem',
    'webroot' => $this->applications['horde']['webroot'] . '/gollem',
    'name' => _("File Manager"),
    'status' => 'inactive',
    'menu_parent' => 'myaccount',
    'provides' => 'files',
);

$this->applications['gollem-menu'] = array(
    'status' => 'hidden',
    'app' => 'gollem',
    'blockname' => 'tree_menu',
    'menu_parent' => 'gollem',
);


but it's the same  :( ...... sidebar still look empty

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde menu problem
« Reply #9 on: December 02, 2006, 03:28:22 PM »
Quote from: "progitto"
I've wrote this in registry.php using template 620
Code: [Select]
// 620AppRegistryGollem
$this->applications['gollem'] = array(
    'fileroot' => dirname(__FILE__) . '/../gollem',
    'webroot' => $this->applications['horde']['webroot'] . '/gollem',
    'name' => _("File Manager"),
    'status' => 'inactive',
    'menu_parent' => 'myaccount',
    'provides' => 'files',
);

$this->applications['gollem-menu'] = array(
    'status' => 'hidden',
    'app' => 'gollem',
    'blockname' => 'tree_menu',
    'menu_parent' => 'gollem',
);


but it's the same  :( ...... sidebar still look empty


The only other suggestions I have are to check that the md5sums match, re-install the rpms, then do a signal-event post-upgrade ; signal-event reboot and look through /var/log/messages to see if you have any errors, and change the horde options to not display the sidebar, save, then display the sidebar.

I still can't duplicate this.  When you state that the sidebar is empty only for admin, do you have the sidebar frame showing, or a small icon in the upper left.  I screen shot would be great to see.

Lastly, how was the server installed, meaning, did you load sme 7 fresh, yum update, then upgrade to horde 3.1?

John
......

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #10 on: December 02, 2006, 07:06:16 PM »
There is only the small icon of sidebar, nothing else.
I've tryed also to turn off the sidebar, save en re-turn on without results.
On monday morning I'll post the screenshot and the other server contribs component installed.
Thanks for your help and good weekend!  :pint:

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde menu problem
« Reply #11 on: December 02, 2006, 07:50:39 PM »
Quote from: "progitto"
There is only the small icon of sidebar, nothing else.
I've tryed also to turn off the sidebar, save en re-turn on without results.
On monday morning I'll post the screenshot and the other server contribs component installed.
Thanks for your help and good weekend!  :pint:


If this is what you see:


then just click on the icon and your sidebar should re-appear.  It is a toggle.

John
......

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #12 on: December 03, 2006, 09:36:05 AM »
I know it!!  :D
This is what I have (with Firefox, IE or Opera is the same... so is not browser fault)


Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde menu problem
« Reply #13 on: December 04, 2006, 12:17:08 AM »
It would have been nice if you had stated you were using Italian as the language in the initial post.  :wink:  I don't know what else to tell you, it works fine for me using IE6.



You never stated if you verified the MD5SUMS.  You could download and re-install the rpm's again as I already suggested.  If you do that, you might as well wait until the mirrors sync as I am currently re-uploading them with with the most current versions I am using.

John
......

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
Horde menu problem
« Reply #14 on: December 04, 2006, 08:57:21 AM »
Quote from: "mrjhb3"
It would have been nice if you had stated you were using Italian as the language in the initial post.  :wink:
 
 :oops:   I forgot to tell you this.....
...but I found the problem!!! If I login as admin in webmail using english all seems ok, if I try to do this with another language the problem remains.
Would be a translation problem?
I think I'll try to uninstall-reinstall with your new rpm.
Another question to you John: if I uninstuall the packages (I presume with yum remove _rpm_name_) and then reinstall will I lost the bookmarks and calendar entries?

Sorry for my terrible english but in english exam I took 18/30....  :roll: