6.0.0-beta1
9/3/25

[#7603] Unable to load IMP/MIMP/DIMP
Summary Unable to load IMP/MIMP/DIMP
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester jouva (at) moufette (dot) com
Created 10/29/2008 (6153 days ago)
Due
Updated 11/09/2008 (6142 days ago)
Assigned 11/09/2008 (6142 days ago)
Resolved 11/09/2008 (6142 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/09/2008 08:11:23 PM Chuck Hagenbuch State ⇒ Not A Bug
 
11/09/2008 06:56:02 PM Chuck Hagenbuch Comment #15
State ⇒ Feedback
Reply to this comment
Okay.. is there any info that you could give us for a developer to 
reproduce the problem, perhaps?
11/09/2008 06:54:34 PM jouva (at) moufette (dot) com Comment #14 Reply to this comment
Actually it doesn't appear to deal with ticket #7117 as this isn't 
procmail nor maildrop related. I use IMAP. It may be 
IMAP_Search/IMAP_Search_Query related.
11/09/2008 04:06:35 PM Chuck Hagenbuch Comment #13
State ⇒ Not A Bug
Reply to this comment
Sounds to me like followup is needed in #7117 and that this can be 
closed, then. Thanks for all of your tracing!
11/09/2008 05:05:02 AM jouva (at) moufette (dot) com Comment #12 Reply to this comment
Scratch that. I have the changes as per ticket #7117 and ingo and 
horde/imp still have issues with "Destination"-based filter rules.
11/09/2008 05:01:14 AM jouva (at) moufette (dot) com Comment #11 Reply to this comment
AHA! It turns out I had rules that were broken due to ticket #7117 and 
this broke ingo to the point where loading those rules later would not 
work AND even affected its ability to filter upon login THUS affecting 
Horde's ability to show up at all!



I see you guys fixed it JUST the other day. I hope. Close please.
11/07/2008 12:48:53 AM jouva (at) moufette (dot) com Comment #10 Reply to this comment
It depends how you set up Ingo. I think the default is in user preferences.
Ok. That's probably where they were. I added them all back and it 
broke again. So I deleted them again and it loads again. I'm going to 
add them one by one and see if any in particular break it.
11/06/2008 08:41:42 PM Chuck Hagenbuch Comment #9 Reply to this comment
I couldn't seem to find it though. Are filters stored in the datatree?
It depends how you set up Ingo. I think the default is in user preferences.
11/06/2008 06:18:54 AM jouva (at) moufette (dot) com Comment #8 Reply to this comment
Welp I didn't WANT to do this w/o looking at data but I fixed it. For 
now, atleast. I deleted all of my filters and I was able to get in 
just fine. I'll see later on if filters will break it or if it was 
just something bad about an old filter.



I couldn't seem to find it though. Are filters stored in the datatree?
11/06/2008 05:43:34 AM jouva (at) moufette (dot) com Comment #7 Reply to this comment
Already ahead of you there and JUST found something deeper. It seems 
to be happening upon filtering on login. It doesn't get past this in 
the loginTasks:



$imp_filter->filter('INBOX');



I DID just recently notice I was behind on the SQL for ingo. None of 
the "shares" tables were in there, so I added all of the related 
lines. Still no changes in this issue though even after going in and 
logging out and logging back in.
11/06/2008 05:31:22 AM Chuck Hagenbuch Comment #6 Reply to this comment
Okay... can you dig into that function then? This isn't a general 
problem right now - no developer that I know of is having it - so we 
really need as specific a diagnosis as possible to try and help you. 
Thanks!
11/06/2008 05:17:26 AM jouva (at) moufette (dot) com Comment #5 Reply to this comment
Aha, seems to fail whenever it calls:

IMP_Session::loginTasks();
11/06/2008 04:35:24 AM Chuck Hagenbuch Comment #4 Reply to this comment
You need to run a debugger or put in some echo statements to see where 
it's breaking, then.
11/06/2008 04:31:56 AM jouva (at) moufette (dot) com Comment #3 Reply to this comment
"Doesn't load" as in it's blank. It doesn't get past redirect.php on 
its own upon loading after login, and if I just give it /horde, the 
left frame is blank. And /horde/imp is blank. Same for dimp and mimp. 
Other modules are fine.



And yeah my first thought was a segfault, but I didn't find anything 
in the apache error logs.
11/06/2008 02:04:40 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
What do you mean by "doesn't load"? Have you checked your httpd logs 
for segfaults or other errors? And what changed when this started?
10/29/2008 12:27:13 AM jouva (at) moufette (dot) com Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Unable to load IMP/MIMP/DIMP
Type ⇒ Bug
Queue ⇒ IMP
Reply to this comment
For atleast the past month I've had issues loading IMP. The main horde 
page does not load unless I change the url to just /horde/ from the 
default /horde/imp/redirect.php, and the left side frame doesn't load. 
All other modules load just fine.



I would figure out what was wrong on my own, but the debug log doesn't 
say much:



Oct 28 20:17:58 HORDE [debug] [imp] Hook 
_prefs_change_hook_last_maintenance in application horde not called. 
[pid 17185 on line 1686 of "/usr/share/php/Horde.php"]

Oct 28 20:17:58 HORDE [debug] [ingo] Max memory usage: 2097152 bytes 
[pid 17185 on line 339 of "/usr/share/php/Horde/Registry.php"]

Oct 28 20:17:58 HORDE [debug] [ingo] SQL Query by Prefs_sql::store(): 
SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND 
pref_scope = ?, values: jouva@moufette.com, last_maintenance, horde 
[pid 17185 on line 210 of "/usr/share/php/Horde/Prefs/sql.php"]

Oct 28 20:17:58 HORDE [debug] [ingo] SQL Query by Prefs_sql::store(): 
UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name 
= ? AND pref_scope = ?, values: 1225239478, jouva@moufette.com
last_maintenance, horde [pid 17185 on line 244 of 
"/usr/share/php/Horde/Prefs/sql.php"]





And there are no apache errors related to this. Is there a SQL update 
for imp I might not be aware of? Or any other pieces I need to be 
aware of?

Saved Queries