[imp] Some problem with imp 3.2RC2

Stefan Westerberg weasel-imp at blakulla.net
Sun Feb 16 03:27:08 PST 2003


Citerar Jan Schneider <jan at horde.org>:
> > 1 - Buttons in the Compose Window and others didn’t get translation to
> > Swedish
> 
> The translations for these buttons are probably missing. Contact the
> translator or the i18n list.

Well ok, but it worked with imp 3.1  

> > 3 - If I try to logon to https://<hostname>/ I don’t get the cached
> > username
> > but if I add login.php or change from default language to another
> > language and
> > back it works.
> 
> No idea what your talking about here.

Ok, In imp 3.1 when I wrote the address like "https://mail.examples.com" it 
got rewritten like "https://mail.example.com/login.php", imp 3.2 RC2 don't do 
this. The cached username/password don't show up when I click in the username 
field until I have added the login.php to the URL address.

 
> > 4 – Logging of also work strange, It leaves the following URL for the
> > page:
> >
> https://<hostnam>/login.php?reason=logout&url=https%3A%2F%2F<hostname>%
2Fhorde%
> > 2Flogin.php
> > If I then try to login again I get the following error message:
> > Notice: Undefined index: status in /var/www/horde/lib/Registry.php on
> > line 156
> 
> Your registry.php configuration file is not complete.
> 
> > Fatal error: Call to undefined function: imp_set_fullname()
> > in /var/www/horde/templates/login/user.inc on line 4
> 
> Probably a follow up error.
>  
> Jan.
Well no, other have hade the same problem with the logout function, this fixed 
it:

> On Tue, 2003-02-11 at 10:04, Patrick Boutilier wrote:
> Try changing lines 52 to 57 of imp/templates/menu/menu.inc from:
> 
> 
> /* Logout */
> if ($registry->getMethod('auth/logout') == 'imp') {
>      Menu::printItem(Horde::url($registry->getParam('webroot',
'horde') 
> . '/login.php?reason=logout'), _("Logout"), 'logout.gif', 
> $registry->getParam('graphics', 'horde'));
> } else {
>      Menu::printItem(Horde::applicationUrl('login.php?reason=logout'),
> _("Logout"), 'logout.gif', $registry->getParam('graphics', 'horde'));
> }
> 
> 
> to:
> 
> 
> /* Logout */
> if ($registry->getMethod('auth/logout') == 'imp') {
>      Menu::printItem(Horde::applicationUrl('login.php?reason=logout'),
> _("Logout"), 'logout.gif', $registry->getParam('graphics', 'horde'));
> 
> } else {
> Menu::printItem(Horde::url($registry->getParam('webroot', 'horde') . 
> '/login.php?reason=logout'), _("Logout"), 'logout.gif', 
> $registry->getParam('graphics', 'horde'));
> }
> 
> 
> In other words reverse the logic.
> 
> 
> The logic was changed from 3.1 to 3.2RCx . Somebody asked about this on 
> the list but I never saw a reply as to why it was changed.




More information about the imp mailing list