Hashcash is not working here. I have no idea, what exactly the problem is. It gives me no error at all, but the search form just does nothing and the guestbook as well just shows up the same form again, when clicking "send".

My first guess was the boost-plugin, so I disabled caching for hashcash/*, guestbook and guestbook/sign. But it is still not working at all.

Additionally, google webmaster tools tells me about a 404 for /hashcash (should that path exist?)

Matthias

Comments

sdrycroft’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide a link to your site please?

The module shouldn't conflict with Boost, as the content type is set to text/plain (which Boost shouldn't be caching). Even if Boost were caching hashcash content, you should still experience a Drupal error message - does your theme support these?

As for the 404 "/hashcash", this can be safely ignored (Google being a little presumptuous there I'm afraid).

mattis’s picture

I investigated a little more.

It works now, but only with boost disabled for "hashcash/*"

The reason why I stilll was thinking it is not working is because for anonymous the new guestbook-posts are still not available, but that might be caused by a proxy, so I'll try again, when I'm at home with no proxy.

With boost enbled for "hashcash/*" it gives me the default error message:
"Your hashcash value failed. Please ensure you have JavaScript enabled in your browser."

The address of the page is www.mountainscouts.ch

I will leave it open, as you still have to exclude "hashcash/*" from caching.

If you need more information about my boost-setup or whatever, don't hesitate.

sdrycroft’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks for this Matthias, it looks like Boost is incorrectly caching the /hashcash/% path (as seen if you visit http://www.mountainscouts.ch/hashcash/hashcash-search_theme_form and look at the source of the page). I'll look into this, as I also use Boost on my sites.

sdrycroft’s picture

This should now be fixed in the latest version (6.x-2.4), please let me know if it fixes things for you. Note, you'll need to clear your Boost cache before checking this.

Thanks, Simon

sdrycroft’s picture

Status: Active » Fixed
mattis’s picture

Title: Hashcash not working » Hashcash and caching

Thank you Simon.

It is working now.

Except for a guestbook-post not appearing straight after writing it. That is not related to a proxy, but to the drupal built-in caching, which I had to disable, but I don't think that is anyhow related to hashcash.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.