Summary | IMP and other Apps show "error when communicating with the server" when hooks.php or hooks.local.php exists |
Queue | Horde Base |
Queue Version | 5.0.1 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | steffen.hau (at) rz (dot) uni-mannheim (dot) de |
Created | 11/09/2012 (4624 days ago) |
Due | |
Updated | 11/19/2012 (4614 days ago) |
Assigned | |
Resolved | 11/09/2012 (4624 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
As you are ignoring the issue, I'll give up and ask on the
mailinglist, wether there are others out there with the same issue..
Perhaps you will then start looking at that issue.
hooks.local.php, same error. The reason I used local was, that theese
files won't be overwritten by the next update (as suggested in the
INSTALL files).
I have taken a look into the webserver logs and have seen some error 500:
ssl-access_log:
134.155.35.13 - - [09/Nov/2012:14:05:37 +0100] "GET
/imp/dynamic.php?page=mailbox HTTP/1.1" 200 30863
134.155.35.13 - - [09/Nov/2012:14:05:37 +0100] "GET
/static/e993ccecfd3454c22f296d295325a5f8.css HTTP/1.1" 304 -
134.155.35.13 - - [09/Nov/2012:14:05:37 +0100] "GET
/static/ac85b6408e105108d76d394724cfddde41ade39c.js HTTP/1.1" 304 -
134.155.35.13 - - [09/Nov/2012:14:05:37 +0100] "GET
/static/634188a82f10342aea878e200e12af88a769b207.js HTTP/1.1" 304 -
134.155.35.13 - - [09/Nov/2012:14:05:37 +0100] "GET
/themes/default/graphics/search-topbar.png HTTP/1.1" 304 -
134.155.x.y - - [09/Nov/2012:14:05:38 +0100] "GET
/imp/themes/default/graphics/reload.gif HTTP/1.1" 304 -
134.155.x.y - - [09/Nov/2012:14:05:38 +0100] "POST
/services/ajax.php/imp/listMailboxes HTTP/1.1" 500 1475
134.155.x.y - - [09/Nov/2012:14:05:38 +0100] "POST
/services/ajax.php/imp/viewPort HTTP/1.1" 500 34200
ssl-error_log:
[Fri Nov 09 14:05:37 2012] [error] [client 134.155.x.y] PHP Fatal
error: Exception thrown without a stack frame in Unknown on line 0
[Fri Nov 09 14:05:38 2012] [error] [client 134.155.x.y] PHP Fatal
error: Exception thrown without a stack frame in Unknown on line 0,
referer: /imp/dynamic.php?page=mailbox
[Fri Nov 09 14:05:39 2012] [error] [client 134.155.x.y] PHP Fatal
error: Exception thrown without a stack frame in Unknown on line 0,
referer: /imp/dynamic.php?page=mailbox
These error 500 turn into 200, if no hooks file is present. For me it
looks like a bug, why should I discuss that on a mailing list instead
of reporting it in a bug tracker system?
Best regards,
Steffen
this to the mailing list.
New Attachment: hooks.local.php
there is an error?
I don't agree with you:
- The error is displayed even with an empty hooks.local.php file..
- If the file consists of only a return statement, the error is gone.
- The error starts, when I put a "class Horde_Hooks" in the hooks file
(the authusername hook gets executed though)
I don't know where the "error when..." is coming from.
State ⇒ Not A Bug
Please use the mailing list to ask for support.
http://www.horde.org/mail/ contains a list of all available mailing lists.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ IMP and other Apps show "error when communicating with the server" when hooks.php or hooks.local.php exists
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
I need to enable the authusername hook to ensure, that the provided
usernames are converted to all lower case. If I copy hooks.php.dist to
hooks.local.php and enable the authusername function, I get
periodically "Error when communicating with the server" error messages
in imp and other apps. Removing hooks.local.php "solves" leads to the
error message no longer showing up.
This happens in openSUSE 11.3 as well as in an Debian unstable.
Best regards,
Steffen