Platform: Zurmo 2.8.0 on Debian 7 (wheezy) on linode VPS.
- Installed per installation docs, without memcache, as it was not installed on server.
- Install worked, started testing for suitability to our needs, but was too slow to be usable.
- Installed packages memcached and php5-memcache on server.
- Then configured Zurmo instance to use memcache, as described here (edited relevant config files): http://zurmo.org/wik...ystem-explained
- Then restared apache, memcached, mysql.
- Logged in as super user - saw significant performance improvements on cached actions and no problems as super user.
- Logged in as ordinary user - Zurmo throws security errors on attempts to access data that existed previous to memcache install and config.
Sample error from application.log - just trying to look at accounts listing right after logging in - user had no errors on this prior to adding memcache:
------------------
2014/09/24 21:24:09 [error] [exception.AccessDeniedSecurityException] exception 'AccessDeniedSecurityException' in /our-path-to/zurmo/app/protected/modules/zurmo/models/SecurableItem.php:499
Stack trace:
#0 /our-path-to/zurmo/app/protected/modules/zurmo/models/OwnedSecurableItem.php(461): SecurableItem->checkPermissionsHasAnyOf(1, Object(User))
...big long stack trace...
REQUEST_URI=/zurmo/app/index.php/accounts/default
HTTP_REFERER=http://our-path-to/z...e/default/index
------------------
Additional info:
- Clearing cache temporarily removes this error in some cases, not in others; error returns on second attempt to access pre-existing data in most cases, always returns eventually.
- Also tried Admin->Developer tools->Rebuild security cache - did not fix, no effect/no benefit, same errors in same situations.
Related:
- No info in install docs re adding memcache on already installed instance.
- Found one related post: http://zurmo.org/for...-after-install/ ...which does not answer question "is it supposed to work to add memcache to a pre-existing instance?"
- This post: http://zurmo.org/fea...n-running-zurmo ...is 2.5 years old but has still not made it into install docs/system requirements!