Sometimes I have the following messages
# user warning: Duplicate entry 'og/manage/%' 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 ('og/manage/%', 'a:1:{i:2;s:9:\"node_load\";}', '', 'og_is_group_member', 'a:2:{i:0;i:2;i:1;b:0;}', 'og_manage', 'a:1:{i:0;i:2;}', 6, 3, '', 'og/manage/%', 'Manage membership', 't', '', 4, '', '', '', 0, '') in /hsphere/local/home/d1pa40pr69/bzpzd.org.ua/includes/menu.inc on line 2385.
# user warning: Duplicate entry 'admin/help/dblog' 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 ('admin/help/dblog', '', '', 'user_access', 'a:1:{i:0;s:27:\"access administration pages\";}', 'help_page', 'a:1:{i:0;i:2;}', 7, 3, '', 'admin/help/dblog', 'dblog', 't', '', 4, '', '', '', 0, 'modules/help/help.admin.inc') in /hsphere/local/home/d1pa40pr69/bzpzd.org.ua/includes/menu.inc on line 2385.
# user warning: Duplicate entry 'og/subscribe/%' 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 ('og/subscribe/%', 'a:1:{i:2;s:9:\"node_load\";}', '', 'node_access', 'a:2:{i:0;s:4:\"view\";i:1;i:2;}', 'og_subscribe', 'a:1:{i:0;i:2;}', 6, 3, '', 'og/subscribe/%', 'Join group', 't', '', 4, '', '', '', 0, '') in /hsphere/local/home/d1pa40pr69/bzpzd.org.ua/includes/menu.inc on line 2385.
and there are about a hundred of such a "user warnings" (actualy concerning all installed modules, as far as I can see, being a newbie to Drupal) appeared on any node page while any user tries to change/submit any type of node. And sometimes that messages do not appear and nodes are edited/submitted without any probems. Is it a server-side problem or I should fix something in Drupal, or both?
Comments
Check Sequences Table
I recently experienced a similar problem on one of my sites. It was caused by my copying and renaming the database tables in preparation for an upgrade (lesson learned--don't do that). The sequences table stores the table and column names as data and the next available ID number for each. If this gets out of sync you'll have the sort of behavior you are describing (sometimes adding new content will work, sometimes it won't, depending on the next ID that is stored in the sequences table and whether you already have database table rows with that ID number).
Thanks, but
what did you do to fix it?
Denis Poltavets, MD
I mean
how to guarantee that it willl not happen, as I received this behavior almost immediately after fresh install (3 users, 1 OG, 2 blog-posts).
Denis Poltavets, MD
No Sequences Table in Drupal 6
I'm just noticing that you are on Drupal 6. My problem was on a Drupal 5 installation and when I look at the D6 database schema I don't see a sequences table. Checking the D6 node table I see that the nid column has the auto_increment attribute set which sort of eliminates the need for the sequences table (at least for nodes).
Same here
I just got the same warning, 72 pages worth! Example:
user warning: Duplicate entry 'admin/help/globalredirect' 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 ('admin/help/globalredirect', '', '', 'user_access', 'a:1:{i:0;s:27:\"access administration pages\";}', 'help_page', 'a:1:{i:0;i:2;}', 7, 3, '', 'admin/help/globalredirect', 'globalredirect', 't', '', 4, '', '', '', 0, 'modules/help/help.admin.inc') in /home/.urena/ccd/drupal/includes/menu.inc on line 2385.
I just upgraded to Drupal 6.9 and was hoping the upgrade would resolve sever outages I was having and instead got this new series of errors. I don't know if these issues are related but suddenly anonymous visitors cannot view my site pages beyond the index after a page refresh (CTRL + refresh). The age comes back whenever I send any query to the database, for example make any changes to settings or save anything in Drupal. But after a CTRL+refresh the page is gone again.
I've tried all the obvious things: turning on all permissions, switching themes to Garland, turning off modules, upgrading Drupal and all modules.
I have a multisite install and the problem is across both my drupal sites however the error messages above just appeared for one of the sites. I definitely didn't touch the database aside from upgrading and changing setting through Drupal but I did notice that one site asked me to run a database update script which I did.
This may or may not be connected but I'm hosted on Dreamhost and there were concurrent email problems. I noticed on my the Drupal status page that Drupal shows PHP 5 while the webserver lists PHP 4.47. I don't see how I can upgrade to Drupal 5 through Dreamhosts webpanel anymore.
Any ideas on how to fix this mess or what is causing these problems?!
Update
I think the source of my user warnings had something to do with Pathauto. In any event, I haven't seen the errors again, so the problem seems to have been fixed.
The other issues were totally unrelated and all had different sources. The refresh issue is connected to Google Analytics filters, my ISP was the source of the email outage and the version of PHP is actually version 5, so compatible.