2009-08-15, 06:55 PM
I'll post this as a bug if you are using memcache and put two forums to the same memcache instance. Why you would do this? About the same reason why you might want to use one database for multiple cms in a domain.
If you have two forums in the same domain or even in different domains pointing to the same memcache server, they will access the same objects. This will affect you when setting up your forum and getting the forum data from the first forum and probably vice versa.
To replicate: Simply setup one forum in /forum1 set to use memcache. Go to "forums and posts" admin area and change categories and add two misc forums. On second forum set up in /forum2 to use memcache (same as first). If you try to access "forums and posts" you will see the listing of forum1.
Solution: allow a global key setting to separate the cache like the cookie setting(or just use that setting to prefix the objects).
Please document this in the config file for the next release. I am just testing mybb so I don't know what the existing behavior extends to beyond what i noticed.
If you have two forums in the same domain or even in different domains pointing to the same memcache server, they will access the same objects. This will affect you when setting up your forum and getting the forum data from the first forum and probably vice versa.
To replicate: Simply setup one forum in /forum1 set to use memcache. Go to "forums and posts" admin area and change categories and add two misc forums. On second forum set up in /forum2 to use memcache (same as first). If you try to access "forums and posts" you will see the listing of forum1.
Solution: allow a global key setting to separate the cache like the cookie setting(or just use that setting to prefix the objects).
Please document this in the config file for the next release. I am just testing mybb so I don't know what the existing behavior extends to beyond what i noticed.