Results 1 to 2 of 2

Thread: State issue

  1. #1
    Beaker
    Guest

    Default State issue

    I'm getting the following error while executing the state SQL patch.
    Any thoughts on why & what I need to do to fix this?

    Thanks!

    /*---------------------------------------------------------------------*/
    Try to execute 1th query at line 2

    INSERT INTO `ProfilesDesc` ( `ID` , `name` , `namedisp` , `namenote` , `extra` , `type` , `order` , `visible` , `check` , `because` , `group_mark` , `group_text_b` , `group_text_a` , `to_db` , `show_on_page` , `get_value` , `get_value_db` , `search_type` , `search_cols` , `search_hide` , `search_extra` , `search_order` , `search_default` , `search_where` , `match_field` , `match_type` , `match_extra`)
    VALUES (
    '', 'State', '_State', '', 'global $prof; return $prof[\'state\'];', 'r', '4.1', 'user,memb,adm', '', '', '', '', '', '1', '0', '', '', 'check', '3', '1', '', '10.1', '', '', '', 'none', '')

    [MySql Server DMO Error][ErrNo:1062][Description: Duplicate entry 'State' for key 2]

    /*---------------------------------------------------------------------*/

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Re: State issue

    Quote Originally Posted by Beaker
    I'm getting the following error while executing the state SQL patch. Any thoughts on why & what I need to do to fix this?
    Yes - you already have a record in the ProfilesDesc table.

    Smoge


    Quote Originally Posted by Beaker
    INSERT INTO `ProfilesDesc` ( `ID` , `name` , `namedisp` , `namenote` , `extra` , `type` , `order` , `visible` , `check` , `because` , `group_mark` , `group_text_b` , `group_text_a` , `to_db` , `show_on_page` , `get_value` , `get_value_db` , `search_type` , `search_cols` , `search_hide` , `search_extra` , `search_order` , `search_default` , `search_where` , `match_field` , `match_type` , `match_extra`)
    VALUES (
    '', 'State', '_State', '', 'global $prof; return $prof[\'state\'];', 'r', '4.1', 'user,memb,adm', '', '', '', '', '', '1', '0', '', '', 'check', '3', '1', '', '10.1', '', '', '', 'none', '')

    Duplicate entry 'State' for key 2]
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Country-State dependency
    By animas in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 05-14-2008, 12:36 PM
  2. Add State
    By kewdah in forum Dolphin General Discussion v5.3 to v5.6.5
    Replies: 1
    Last Post: 07-17-2007, 10:52 AM
  3. Add State to quicksearch
    By Roland1975 in forum FAQ & HOWTO
    Replies: 7
    Last Post: 04-18-2007, 04:54 AM
  4. 2 Letter State To Full State Translation
    By Smoge in forum FAQ & HOWTO
    Replies: 0
    Last Post: 08-18-2005, 11:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •