I have an ongoing problem that the css which hides the hidden field for a form repeatedly fails for anonymous users only, even with css aggregation off.
Clearing block cache fixes the problem, but it returns immediately. Clearing the theme registry does not fix it. I have a feeling it is not happening on Bartik, but hard to be sure on the basis of a few tests, so arguably it is theme issue. It is not happening to other forms on the site. The problem is with the search box on http://www.hiltonbooks.co.uk/full-catalogue-page. It shows up differently in different browsers.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | disable_honeypot_for_search-1332972-3.patch | 706 bytes | geerlingguy |
Issue fork honeypot-1332972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #1
john_b commentedDisabling Cache Blocks in Performance cures the problem. So just now the page linked above is OK.
Comment #2
geerlingguy commentedI'll take a look into this; it may be a bug with the way Drupal core caches blocks; the CSS should still apply correctly, though the way I'm adding the CSS is new to Drupal 7, and I may be missing something important.
Comment #3
john_b commentedThanks. The strange thing is that it was not affecting the block created with Contact form in Block module.
There is a dev version of the problem site with no confidential data in it, just ask if you want login details.
Comment #4
geerlingguy commentedI've decided to simply turn off Honeypot for search forms; typically, search forms are not targeted by spammers, and though this module could help deter DoS through search (a bot sends tons of search requests in a short period of time), this module isn't aimed at rate control or things like that.
So, I've attached a patch that I'll commit and release in 1.8.
Comment #5
geerlingguy commentedCommitted to 7.x: http://drupalcode.org/project/honeypot.git/commit/42f349d
and to 6.x: http://drupalcode.org/project/honeypot.git/commit/589d73f
Comment #6
john_b commentedThanks. Installed and working.
Since a second, non-Honeypot issue remained in my css with block cache on, I suspect it is related to my use of Custom Search Module, which was not working well with theme css and possibly with Honeypot css.