This error only occurs with anonymous users as I found. Hook_init explains the problem http://api.drupal.org/api/function/hook_init/5 .
This patch moves the contents of the hook_init in this module to hook_menu.
Thanks!
DaveA
| Comment | File | Size | Author |
|---|---|---|---|
| jq_maphilight.07292008.patch | 945 bytes | davea |
Comments
Comment #1
WorldFallz commentedNice catch-- and thanks so much for the patch. It will be included in the next release (should be this weekend).
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
Mysterious Britain commentedThanks for the patch, davea. I'm trying to patch the file using Cygwin but have not had any success, I either get end-of-line or hunk failed errors.
WorldFallz - please could you release a patched version of the module or, at the very least could someone post up their patched jq_maphilight.module file?
Regards,
Neil.
Comment #4
Mysterious Britain commentedI managed to patch the file manually, thanks to some informative threads on patching in the forum.
Here's the fully patched jq_maphilight.module code for anyone who needs it:
Comment #5
WorldFallz commentedI apologize to all for not getting to this sooner. I've had some pressing issues that have recently sucked up my free time. I've just committed the patch from the op of this issue as well as a couple of other minor items from other issues. The dev snapshot should be updated within 12 hours.
Leaving this active until I confirm the dev snapshot updates.
Comment #6
WorldFallz commentedCommitted-- thanks!
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.