Hello,
I installed the newest version random block and it was working fine. The problem is that now that I have finished uploading all the galleries then changed the url of each gallery * you know the message rename this gallery so its not so generic * Well I did that too all of them and now the random block will not display any of the images. I deleted random block and reinstalled it about 4 times and now I have to say I give up. Anyone have an idea of what may be wrong? Should I rename all the galleries back to album1, album2, etc or is there something else I am missing. Any help would be greatly appreciated.
Thank you
Doug
Posts: 3474
Either:
a)Adjust block-random.php and change the cache to expire immediately, so that the album stats are always updated. This will slow the random script down, especially if you have a very large site.
define(CACHE_EXPIRED, 0);
or...
b) Simply remove the albums/block-random.cache file. However, since it's owned by the webserver user and not you, you'll need to write a short PHP script to delete the file. Then the file will be recreated next time the random script is called.
The good news is that we're going to soon integrate the random block more into Gallery, so that it will automatically update when you do things like change album names, add photos, etc.
-Beckett (
)
Posts: 2
Well I woke up this morning and wala its working. I do appreciate your reply and helpful tips. Thats good news to hear about the integration soon. Although I have been using gallery for 9 months this is the first, like I said minor problem I have had. Installation and everything were smooth.
Thanks again
Doug
Posts: 3474
Yep. Currently the cache expires in 86400 seconds. That's 24 hrs.