Hi,
After I've changed some settings in /admin/content/node-type/profile/profile it spit out this error:
user warning: Duplicate entry 'user/%/edit/profile' for key 'PRIMARY' 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 ('user/%/edit/profile', 'a:1:{i:1;a:1:{s:16:\"me_category_load\";a:4:{i:0;s:4:\"%map\";i:1;s:6:\"%index\";i:2;s:1:\"0\";i:3;s:6:\"%index\";}}}', 'a:1:{i:1;s:18:\"me_category_to_arg\";}', 'content_profile_page_access', 'a:2:{i:0;s:7:\"profile\";i:1;i:1;}', 'me_handler', 'a:4:{i:0;a:4:{i:0;s:4:\"user\";i:1;s:12:\"%me_category\";i:2;s:4:\"edit\";i:3;s:7:\"profile\";}i:1;s:25:\"content_profile_page_edit\";i:2;s:7:\"profile\";i:3;i:1;}', 11, 4, 'user/%/edit', 'user/%', '', 'check_plain', 'a:1:{i:0;s:7:\"Profile\";}', 128, '', '', '', 1, 'modules/node/node.pages.inc') in C:\wamp2\www\drupal6test\includes\menu.inc on line 2423.
My current settings are:
[*] Display the full content
[v] Include an edit link
[v] Show a link to the content profile creation page, if there no profile
Profile edit tab:
[*] Show a secondary tab below the user's edit tab
User Registration
[ ] Use on Registration
[ ] Use on administrative user creation form
Hide form fields:
[ ] Title
[ ] Other form elements (except for required CCK fields)
The Weight is set to 0 by default.
Is this a bug, or did I do something wrong?
Comments
Comment #1
fureigh commentedChanging the contents of the “Type” field from ‘profile’ to something else (such as ‘content_profile’) should eliminate the conflict.
(Drupal’s squawking because core already has something called ‘profile’ — namely, standard user profiles — and Content Profile set you up by not suggesting that you use something else.)
If you used a different fix, please do tell.
Comment #2
fagosee http://drupal.org/node/535598