I'm not sure, but after installing this module my site went down twice due to the following database error:#1226 - User 'testuser' has exceeded the 'max_questions' resource (current value: 30000).

Could there be a connection and the database error?

For the record, its a testsite where i, as a siteadmin am the only user.

Comments

held69’s picture

Version: 6.x-1.0-rc1 » 6.x-1.0
Priority: Normal » Critical

I also received an error message in my recent logs:

Duplicate entry 'admin/content/node-type/story/groups/%/remove' 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/content/node-type/story/groups/%/remove', 'a:1:{i:5;N;}', '', 'user_access', 'a:1:{i:0;s:24:\"administer content types\";}', 'drupal_get_form', 'a:3:{i:0;s:23:\"fieldgroup_remove_group\";i:1;s:5:\"story\";i:2;i:5;}', 125, 7, '', 'admin/content/node-type/story/groups/%/remove', 'Edit group', 't', '', 4, '', '', '', 0, '') in /home/mysite/html/mysite.com/includes/menu.inc op regel 2385.

Could this indicate there is something wrong in the menu?
I've now uninstalled the module.
Things look stable for now as for the last few days i couldn't browse thru my site longer then an hour.
After that i received the 'max exceeded the max message', which took my site down for an app. 90 minutes. Then it went online again

By the way i'm running d 6.6

I have found a duplicate thread here in which i posted as well http://drupal.org/node/342193

held69’s picture

mmmm i really could use some help on this one.
Paul?

Anonymous’s picture

Quick fix to the menu_router "Duplicate error .." problem (where it occurs?) is to replace

db_query("INSERT INTO {menu_router}
with
db_query("REPLACE INTO {menu_router}

in _menu_router_build() under includes/menu.inc

My current thinking is this problem is some kind of database locking issue
http://drupal.org/node/246653

Hope to look at this some more very soon.

Best, Paul

JamesK’s picture

Applying the D6 patch in #251792: Implement a locking framework for long operations helps to solve this but you also need to edit og_content_type_admin.module for:

/**
 * Implementation of hook_init().
 */
function og_content_type_admin_init() {
  menu_router_build(TRUE);
  node_types_rebuild();	
}

to

/**
 * Implementation of hook_init().
 */
function og_content_type_admin_init() {
  menu_rebuild();
  node_types_rebuild();
}
Anonymous’s picture

Status: Active » Fixed

This problem should be resolved with #330135 .

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.