6.0.0-git
2019-03-20

[#4208] Blank page accessing HORDE ( sessionSetup() )
Summary Blank page accessing HORDE ( sessionSetup() )
Queue IMP
Queue Version 4.1.2
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester s.conti (at) bepartners (dot) it
Created 2006-07-26 (4620 days ago)
Due 08/05/2006 (4610 days ago)
Updated 2006-10-05 (4549 days ago)
Assigned 2006-07-29 (4617 days ago)
Resolved 2006-10-05 (4549 days ago)
Milestone
Patch No

History
2006-10-05 12:20:23 Jan Schneider Comment #5
State ⇒ Not A Bug
Reply to this comment
No feedback.
2006-07-31 11:25:16 Jan Schneider Comment #4 Reply to this comment
tail /var/log/httpd/error_log:
[Mon Jul 31 09:10:27 2006] [notice] child pid 9232 exit signal Abort (6)
[Mon Jul 31 09:10:27 2006] [notice] child pid 11120 exit signal Abort (6)
[Mon Jul 31 09:10:27 2006] [notice] child pid 11123 exit signal Abort (6)
This is the important bit of information. Apache/PHP should never 
segfault, this is always a bug in PHP unless the triggering PHP code 
enters an infitine loop.

You can probably help finding that bug by tracing the coder further 
down to see where exactly the server segfaults. You should also try a 
newer PHP version.
2006-07-31 07:18:56 s (dot) conti (at) bepartners (dot) it Comment #3 Reply to this comment
How do you expect the system to still work if you comment out random lines?
Did you read my ticket? Sorry I don't want to rude/unpolite, but when 
I write "digging in the code" I mean that I Made a line by line 
debugging of the code and that I found that the line I removed were 
the cause of my logon problems. Most of all it seems that troubles are 
caused by "virtual Folders Stuffs"
Anyway, make sure that you log errors in Horde, PHP and Apache and
check the log files -- after restoring your system to an unhacked
version.
Horde returns no error in the logs: it SEEMS it is working fine...



tail /tmp/horde.log:

Jul 31 09:10:05 HORDE [notice] [horde] Login success for itnok 
[81.208.51.7] to Horde [on line 90 of 
"/home/7296236591/www/web/webmail/login.php"]

Jul 31 09:10:15 HORDE [notice] [imp] Login success for itnok 
[81.208.51.7] to {localhost:143} [on line 152 of 
"/home/7296236591/www/web/webmail/imp/redirect.php"]

Jul 31 09:12:22 HORDE [notice] [imp] Logout for itnok [81.208.51.7] 
from {localhost:143} [on line 42 of 
"/home/7296236591/www/web/webmail/imp/login.php"]

Jul 31 09:12:27 HORDE [notice] [imp] Login success for itnok 
[81.208.51.7] to {localhost:143} [on line 152 of 
"/home/7296236591/www/web/webmail/imp/redirect.php"]



PHP reports no errors (I used the E_ALL directive). No error is 
returnerd becuase the PHP process die and has no chance to give an 
error...



Apache reports that PHP died during the elaboration of the process! It 
simply doen't finish the creation of the page to be sent to the 
browser... so it send nothing!



tail /var/log/httpd/error_log:

[Mon Jul 31 09:10:27 2006] [notice] child pid 9232 exit signal Abort (6)

[Mon Jul 31 09:10:27 2006] [notice] child pid 11120 exit signal Abort (6)

[Mon Jul 31 09:10:27 2006] [notice] child pid 11123 exit signal Abort (6)

[Mon Jul 31 09:12:34 2006] [notice] child pid 10975 exit signal Abort (6)

[Mon Jul 31 09:12:34 2006] [notice] child pid 11127 exit signal Abort (6)

[Mon Jul 31 09:12:34 2006] [notice] child pid 13733 exit signal Abort (6)



I hope this will help...

If you need more details just ask me what you need...



Thanks in advance










2006-07-29 15:51:23 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
How do you expect the system to still work if you comment out random lines?



Anyway, make sure that you log errors in Horde, PHP and Apache and 
check the log files -- after restoring your system to an unhacked 
version.
2006-07-26 08:34:56 s (dot) conti (at) bepartners (dot) it Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ Blank page accessing HORDE ( sessionSetup() )
Due ⇒ 2006-08-05
Queue ⇒ IMP
Reply to this comment
I installed Horde (3.1.2) then I installed Turba (2.1.1), Kronolith H3 
(2.1.2) and Nag H3 (2.1.1). Everything worked like a charme... then I 
installed IMP H3 (4.1.2).



At the first glance I was not able to even log-in into IMP. Wrong 
username/password gave me (correctly) the possiility to re-enter 
datas. Correct username/password gave me only a blank page (Firefox).



Digging in the code I found that removing every occurance of the line

$GLOBALS['imp_search']->sessionSetup();

from lib/Folder.php, lib/Search.php and lib/Session.php give me a 
system almost functional.



This is a list of what still does not work:

1. pressing the "Folders" btn in the IMP toolbar give me a blank page

2. after sending an email I get a blank page in the composition 
toolbar (but the email has been sent correctly)

3. selecting the "Horde" link fron the left tools list to go back to 
the Horde homepage give me a blank page (if I log out from IMP 
correctly give me the horde homepage again)

4. I'm not able to save IMP preferences about Server and Folders 
(Where Virtual Folders and Default folders redirections are specified)

5. may be there is something else, but I did not notice til now...



My Server config:

PHP Version = 4.3.10 apache2filter

Webserver = Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7e PHP/4.3.10

Database = mysqlt 4.1.8-standard

O.S. = Linux kernel 2.6.11.10



My Default Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; 
it; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

Saved Queries