plugin parameter change not detected unless I clear the database cache
clemitt
Joined: 2009-03-11
Posts: 1 |
Posted: Wed, 2009-03-11 03:44 |
Hi, Firstly, this is my first time on the forum, even though I have been using gallery2 now for a few years, and I just want to congratulate you on a great product. I've developed a voting module (similar to the polling module on Gallery1). I'm just having a problem with my plugin parameters. I have two plugin parameters which determine which stage of voting we are in (these are set within "Edit Album > Album tab" and this all works fine). However, I have a couple of callbacks / blocks that get these plugin parameters, and the only way I can get the changed values to be picked up by the blocks is by clearing the database cache via the site admin > maintenance menu. Any ideas, is there something I should be doing in the code to make sure it always gets the real value (I assume it is picking up a cached value from somewhere). Note: when I work on my development pc (xampp on windows) I have no problem changing the values. Its only when I run it on the test site that I hit this issue - performance acceleration is definitely turned off as I had a similar issue with this previously. System info: |
|