The module (both 4.7.x-2.0 and HEAD as of this date) works fine when logged in, not for anonymous user.
Anonymous user gets "jah error:" (followed by date and time in MSIE, says "jah error: OK" in FF). Permissions are set for anonymous to download files.

Even when give anonymous ALL rights, same error.

Logged in user gets the files just fine, so it does not seem to me to be a java setting.

gil

Comments

Capnj’s picture

Disabled caching and it works now for anonymous user. Re-enabling the cache instantly repeats the error.
Cache was set to a minimum 6 hours.
Re-enabling and setting minimum to 'none' allows anonymous to get the listing.
Setting to 1 minute, still works.
Setting (again) to 6 hours, still works.
Exit the browser and come back, still works.

So far I'd say a good flushing of the cache was needed. Apparently reducing the minimum time from 6 hours to none is what caused that to happen. I've now set it at (an arbitrary) 5 minutes, uploading additional files, and the listing is dynamically created correctly.

gil

rondev’s picture

I do the same. I empty the cache (module Devel) after I modified files in Fileshares folders. Then anonymous users can see them correctly.
Ronan

rondev’s picture

I do the same. I empty the cache (module Devel) after I modified files in Fileshares folders. Then anonymous users can see them correctly.
Ronan

JamieR’s picture

Anyone have an idea of how to work around this issue? Clearly cached pages don't function well for the fileshare module... is there a way to have the page not cache? Caching and the ajax-ish functionality don't really make sense together.

JamieR’s picture

Title: JAH error for anonymous user » Drupal Caching Conflict
greensky’s picture

What's needed is a call to clear the cache when items are added or deleted from a fileshare module. I don't know how to clear it for that specific fileshare, but the cache_clear_all() function will clear the cache for your entire site. Ideally you would only clear the cache for the fileshare module you just changed.

rolodmonkey’s picture

Status: Active » Closed (won't fix)

Module abandoned