6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4520] convert_imp_filters not working
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__..__ . . [ __[__]| \| | [_./| ||__/|___\__|
Comment
> Running convert_imp_filters.php generates the following error message > > > > Oct 12 14:01:19 HORDE [error] [ingo] Failed retrieving prefs for : DB > Error: unknown error [on line 251 of > "/usr/share/pear/Horde/Prefs/sql.php"] > > > > This is due to the fact that Ingo::getUser() returns an empty string > instead of the username which is currently migrated. > > > > > > The following diff (inspired by the way convert_prefs_to_sql.php > works) fixes the problem: > > > > 44a45,47 > >> /* Initialize authentication backend. */ > >> $auth = &Auth::singleton($conf['auth']['driver']); > >> > > 50a54,57 > >> if (empty($user)) { > >> continue; > >> } > >> > > 52a60,62 > >> $auth->setAuth($user, array()); > >> $_SESSION['ingo']['current_share'] = ':' . $user; > >> > >
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