HI all ,

Im continously getting this error whenever i try to access the link admin/menu

user error: Duplicate entry 'menu:1:en' for key 1
query: INSERT INTO cache (cid, data, created, expire, headers) VALUES ('menu:1:en', 'a:3:{s:10:\"path index\";a:348:{s:11:\"admin/block\";s:1:\"6\";s:16:\"admin/block/list\";i:-2;s:21:\"admin/block/configure\";i:-3;s:18:\"admin/block/delete\";i:-4;s:15:\"admin/block/add\";i:-5;s:13:\"node/add/blog\";s:3:\"204\";s:4:\"blog\";s:3:\"205\";s:4:\"book\";s:2:\"10\";s:13:\"node/add/book\";s:1:\"7\";s:15:\"admin/node/book\";s:1:\"8\";s:22:\"admin/node/book/orphan\";s:1:\"9\";s:10:\"book/print\";i:-13;s:21:\"admin/logs/useragents\";s:3:\"215\";s:30:\"admin/logs/useragents/browsers\";s:3:\"216\";s:30:\"admin/logs/useragents/crawlers\";s:3:\"217\";s:13:\"admin/comment\";s:2:\"11\";s:18:\"admin/comment/ in /home/bharatcs/public_html/includes/database.mysql.inc on line 66.

Fatal error: Maximum execution time of 30 seconds exceeded
in /home/user2/public_html/includes/bootstrap.inc on line 369

What should i do ?
I tried replacing the old user.module and menu.inc with the latest 4.6 drupal files. But itz also not working

I would be very much grateful if anyone could please do help me in solving this issue.

thanks in advance
neo

Comments

bslade’s picture

I think some of these duplicate cache entry errors have been fixed for Drupal 4.6 and up. What version of Drupal are you using? There's no way to tell online, but you can look at the file CHANGELOG.txt in your web-root directory.

Ben in DC

hotneomatrix’s picture

Im using drupal 4.6.0 in my server.
When this error came i jst tried replacing the menu.inc as well as menu.module and user.module.
But none of these helped me .

Anyone please do help me.
thanks in advance
neo

bslade’s picture

Oh, so this might be some installation/updated related thing where menu id's have changed.

Try deleting the data in the cache (if you have SQL access to your database). The command would be "delete from cache;" (assuming you've already made your drupal db the current db using the "use" command).

As a fallback, you can also disable your cache under Admin->Settings.

Ben in DC

hotneomatrix’s picture

Hi bslade..
thanks for your message. But i have already did that several times.But unforuntely the cache error is coming again.

im now thinking of replacing the 4.6.2 with the latest version. But i wonder whether the themes and all other settings will go wrong if i do in that way?

bslade’s picture

Also take a look at the "settings" table, you might have to increase the "id" value for the row where name="menu_mid" to the maximum mid value (+ 1 ?) found in the menu table (this is just a guess on my part)

Ben in DC

druvision’s picture

I've looked at Drupal's changelog.txt, but I haven't seen an occurance of the word 'cache' since version 4.4.

I am currently using drupal 4.6.1.

Please advise

Thanks in advance,

Amnon
-
Personal: Bring Dolphin's Simple Joy to your Work - Job - Career
Professional (Drupal) sites: Small Business Web Hosting Strategies, עסקים ברשת - מדריך ליזם

GN’s picture

see http://civicspacelabs.org/home/node/13578
Short description: after updating/upgrading CS to 0.81 we cointually got a "cannot set cookie, headings already sent" message at the top of every page.
Turns out it was a blank line at the end of the "settings.php" file.

hotneomatrix’s picture

Hello Gn, i checked the settings.php file therez no new line in that file.

im still unable to get what exactly the error is .

Im not getting error when i access any other page except the admin/menu

druvision’s picture

For the sake of completeness of discussion, look at the following, newer threads:

HdI fix: cache problem - duplicate entry (discussion should be continued here)

and

"MyISAM considered harmful. Or "Why enabling Drupal's cache can kill a server".