Posted by idnorton on December 16, 2008 at 10:03pm
Jump to:
| Project: | cosign |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | ksteinhoff |
| Status: | closed (fixed) |
Issue Summary
When cosign is incorrectly configured (in my case, not enabled in the apache or .htaccess config) this error presents.
Seems that it checks for the $_SERVER['REMOTE_USER'] variable, which isn't set as cosign isn't configured correctly.
I can't find an error_handler function in any of the code base on my installation, so I've switched it to using drupal_error_handler which has an additional argument for context. The context argument seems to only be used for debugging database errors so I've passed zero (which I'm not sure is the right thing to do).
Please see the attached patch.
| Attachment | Size |
|---|---|
| cosign-error-handler.patch | 532 bytes |
Comments
#1
thanks.
#2
fixed in 6.x-1.5
#3
Automatically closed -- issue fixed for two weeks with no activity.