Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: meelis 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.
-
Reconfigure and reboot does not work?
-
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.
-
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
-
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
-
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:
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
/* 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?
-
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:
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
/* 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
-
Php is the standard sme7 version.
Now I'll try to modify the registry.php.
-
I've wrote this in registry.php using template 620
// 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
-
I've wrote this in registry.php using template 620
// 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
-
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:
-
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:
(http://www.thebennetthome.com/contribs/horde.jpg)
then just click on the icon and your sidebar should re-appear. It is a toggle.
John
-
I know it!! :D
This is what I have (with Firefox, IE or Opera is the same... so is not browser fault)
(http://umbertomassari.dyndns.org/horde_screen.jpg)
-
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.
(http://www.thebennetthome.com/contribs/horde-italian.jpg)
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
-
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:
-
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:
You shouldn't lose any data because that information is stored in the mysql db. I also don't think it's a translation issue. I set my preferred language to italian and french and I see the sidebar as well. One post from the horde archives mentioned someone had to change the sql backend in horde/conf.php to null, login and the sidebar worked, then changed it back to sql and the sidebar continued to work. But, there was no detail on what caused this and why.
I am loading a new test server to try to duplicate this. Did you upgrade to horde 3.1 from my horde 3.0 add-on rpms?
You may have to take this issue up on the horde list for final resolution.
John
-
I'm waiting for your updated rpms!! :)
I upgraded from your 3.0 Horde rpms.
-
I'm waiting for your updated rpms!! :)
I upgraded from your 3.0 Horde rpms.
You will know when it's updated when you see kronolith-2.1.4. I forgot to push it up. :oops:
John
-
Do you think it's better uninstall all the old 23 rpms before update?
-
Do you think it's better uninstall all the old 23 rpms before update?
Can't say for sure since I can't duplicate this issue, but it shouldn't hurt anything as all data is stored in the mysql DB. I think I would copy my entire horde directory first so I have a backup.
On my test server I just did a yum remove horde, and the 20 horde rpm's are being removed. Then follow that with a yum localinstall *.rpm, then a signal-event email-update. You shouldn't have to post-upgrade and reboot since the db tables have already been created.
John