I think I have a very confused cache.
I installed the latest version of the random block (the one that allows you to choose an album to show). When I installed other albums after that, the block did not see them in the drop-down.
I then moved some pictures from one album to another and I started getting index out of bounds errors. I assumed this was because it was still looking for instances of a particlular album that no longer existed.
I tried going back to a previous version of the random block (that does not allow for selecting specific albums) and the out of bounds errors stayed.
Finally, I deleted the album the I moved the pictures out of. Now, I get "No photo chosen." about as often as I was getting the put of bounds errors (but no more out of bounds errors).
Also, an album I added after I installed the newest version of the block does not show up in the random photo block at all.
I tried going in an setting the CACHE_EXPIRED value to 1, thinking it would force a refresh of the cache after 1 second. No dice.
So, now I just have a very confused cache. I think.
How can I reset the entire caching mechanism?
Posts: 77
Hi,
rename or delete block-random.cache file in the album directory.
But remenber it's only recreated if you are not logged in your PN-Site.
Thats a known issue but I have no time to fix it at the moment. Sorry.
Joerg