Announcement

Collapse
No announcement yet.

forum import

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • forum import

    Hello! (I need your fast help)
    When I try to import forums from vB 3.7.3 to vB 3.7.4 I receive such error:
    Code:
    ImpEx Database errormysql error: Invalid SQL: 
                        INSERT INTO body_build26forum
                        (
                            styleid, title, options,
                            displayorder, parentid, importforumid,
                            importcategoryid, description, replycount,
                            lastpost, lastposter, lastthread,
                            lastthreadid, lasticonid, threadcount,
                            daysprune, newpostemail, newthreademail,
                            parentlist, password, link, childlist,
                            title_clean, description_clean,
                            showprivate, lastpostid, defaultsortfield,
                            defaultsortorder
                        )
                        VALUES
                        (
                            '',
                            'Main Category',
                            86017,
                            '1',
                            '-1',
                            '1',
                            '0',
                            'Main Category Description',
                            '0',
                            '0',
                            '',
                            '',
                            '0',
                            '0',
                            '0',
                            '-1',
                            '',
                            '',
                            ',',
                            '',
                            '',
                            '',
                            'Main Category',
                            'Main Category Description',
                            '',
                            '',
                            '',
                            ''
                        )
                    
    
    mysql error: Duplicate entry '32767' for key 1
    
    mysql error number: 1062
    
    Date: Tuesday 31st 2009f March 2009 10:44:36 PM
    Database: body_build26
    MySQL error:
    Where is a problem?

  • #2
    I haven't used impex, but the number 32767 in an error usually suggests the field is not big enough to hold the number.

    Jerry will know for sure though
    Lats...

    Comment


    • #3
      ok thanks, but how to fix it? I tried to use this:


      But it doesn't work.

      Comment


      • #4
        It looks like you maxed out on the number of forums you can create (all forumids are not reused).

        To fix this you would have to change every 'forumid' field in the database from smallint(5) to int(10).
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          There must be a massive amount of forums in there, or impex got stuck in a loop on forums and filled up the forum table.

          I'd investigate what's going on with the table.
          I wrote ImpEx.

          Blog | Me

          Comment


          • #6
            To fix this you would have to change every 'forumid' field in the database from smallint(5) to int(10).
            It has helped me. Thanks Steve!
            Last edited by hed; Wed 1 Apr '09, 10:34am.

            Comment


            • #7
              You can't get the exact same error if you made that change to all those fields. What is the exact error?
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X