I use authcache with the latest version of cacherouter with db-cache. After some days the Configure and Structure-menu items disappear and I don't have permissions to access /admin/settings and /admin/build, but I can access for example /admin/settings/performance. I think that these problems appear in connection with hundreds of "Duplicate entry"-error messages in the log. The error message can look like this:

Duplicate entry 'batch' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('batch', '', '', '1', 'a:0:{}', 'system_batch_page', 'a:0:{}', 1, 1, '', 'batch', '', 't', '', 4, '', '', '', 0, 'modules/system/system.admin.inc') in /www/public_html/includes/menu.inc on line 2423.

When I disable a module the menu is correct again, probably because the cache is cleared.

This problem started when I installed authcache with cacherouter. I've also tried with file-cache, but the problem where more often then.

I also use modules like Boost(with crawler), OG, Views and CCK.

Comments

djudd’s picture

I'm only beginning to learn AuthCache myself, so I can't swear this isn't an issue with the module.

However, I've seen what you are describing before when I turned my php memory limit too low. Even after turning it back up, I had lost access to admin/build and admin/settings until I cleared my sessions table.

Jonah Ellison’s picture

Component: User interface » Code
Category: bug » support
Status: Active » Closed (won't fix)

The "duplicate entry" error is caused by a race condition within Drupal. Upgrading to the latest Drupal version should resolve this.