6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6042] php error on login page and a load delay because of an unauthenticated IMAP-access
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___. .__ .__. | \[__ | [__)| | |__/| |___| \|__|
Comment
> i am using kolab-2.1 (debian unstable) and horde-webmail-1.1rc1 > > > > with the patch below an error on the login.php page vanishes (when > using IMAP auth with kolab). the error was called, if all IMAP > folders of the kolab-cyrus server are accessible only for > authenticated IMAP users. > > > > Warning: Invalid argument supplied for foreach() in > /usr/local/share/_horde-versions_/horde-webmail-1.1-rc1-netzwerkteam/lib/Horde/Kolab/IMAP.php on line > 357 > > > > there is still a delay in loading the login.php page, though, as nag > tries to access some IMAP-folders prior to authentication: > > > > Dec 24 23:58:42 grimnir cyrus/imap[5860]: badlogin: localhost > [127.0.0.1] plaintext SASL(-1): generic failure: All-whitespace > username. > > Dec 24 23:58:45 grimnir HORDE[15339]: [nag] Unable to authenticate > with the Kolab IMAP server [on line 1689 of > "/usr/local/share/_horde-versions_/horde-webmail-1.1-rc1-netzwerkteam/lib/Horde/Kolab/IMAP.php"] > > > > here comes the patch... > > > > diff -r horde-webmail-1.1-rc1/lib/Horde/Kolab/IMAP.php > horde-webmail-1.1-rc1-netzwerkteam/lib/Horde/Kolab/IMAP.php > > 356,360c356,362 > > < foreach ($folders as $folder) { > > < if ($folder[1] == $this->_object_type && $folder[2] == 1) { > > < return $folder[0]; > > < } > > < } > > --- > >> if ($folders) { > >> foreach ($folders as $folder) { > >> if ($folder[1] == $this->_object_type && >> $folder[2] == 1) { > >> return $folder[0]; > >> } > >> } > >> } > > > > mike
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers