Permission error when caching is enabled
Permalink
Hi all,
since I activated caching on the new site, it is was faster, but in 1 out of 2 times, you get an error when trying to edit a page. You can see the errors in the attached file.
I am running concrete 5.6.0.2
This is how the caching directive in the config looks like:
define('CACHE_LIBRARY', 'apc');
Cache settings in concrete are:
Basic Cache: on
Overrides Cache: on
Full page Cache: off
This is, what the log shows:
Exception Occurred: /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/core/models/permissions.php:71 Unable to get permission key for view_edit_interface (0)
#0 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/tools/edit_block_popup.php(18): Concrete5_Model_Permissions->__call('canViewEditInte...', Array)
#1 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/tools/edit_block_popup.php(18): Permissions->canViewEditInterface()
#2 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/startup/tools.php(29): include('/usr/www/users/...')
#3 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/dispatcher.php(122): require('/usr/www/users/...')
#4 /usr/www/users/corporpy/concrete/startup/updated_core_check.php(6): require('/usr/www/users/...')
#5 /usr/www/users/corporpy/concrete/dispatcher.php(20): require('/usr/www/users/...')
#6 /usr/www/users/corporpy/index.php(2): require('/usr/www/users/...')
#7 {main}
Any idea, what the problem might be? It started, when we activated the APC and added the config directive.
since I activated caching on the new site, it is was faster, but in 1 out of 2 times, you get an error when trying to edit a page. You can see the errors in the attached file.
I am running concrete 5.6.0.2
This is how the caching directive in the config looks like:
define('CACHE_LIBRARY', 'apc');
Cache settings in concrete are:
Basic Cache: on
Overrides Cache: on
Full page Cache: off
This is, what the log shows:
Exception Occurred: /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/core/models/permissions.php:71 Unable to get permission key for view_edit_interface (0)
#0 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/tools/edit_block_popup.php(18): Concrete5_Model_Permissions->__call('canViewEditInte...', Array)
#1 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/tools/edit_block_popup.php(18): Permissions->canViewEditInterface()
#2 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/startup/tools.php(29): include('/usr/www/users/...')
#3 /usr/www/users/corporpy/updates/concrete5.6.0.2/concrete/dispatcher.php(122): require('/usr/www/users/...')
#4 /usr/www/users/corporpy/concrete/startup/updated_core_check.php(6): require('/usr/www/users/...')
#5 /usr/www/users/corporpy/concrete/dispatcher.php(20): require('/usr/www/users/...')
#6 /usr/www/users/corporpy/index.php(2): require('/usr/www/users/...')
#7 {main}
Any idea, what the problem might be? It started, when we activated the APC and added the config directive.