IPB 3.3.4 to VB4.2.0 Impex wrong plz help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sisterhood
    New Member
    • Oct 2009
    • 19

    IPB 3.3.4 to VB4.2.0 Impex wrong plz help

    i have convert starting all right, but when import members this wrong:


    ImpEx Database error

    mysql error: Invalid SQL:
    SELECT
    m.*,
    pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
    ,pf.field_1 AS aim_name,pf.field_2 AS msnname,pf.field_4 AS icq_number,pf.field_8 AS yahoo
    FROM ipb3members AS m
    LEFT JOIN ipb3profile_portal AS pp ON (m.member_id = pp.pp_member_id)
    LEFT JOIN ipb3pfields_content AS pf ON (m.member_id = pf.member_id)
    ORDER BY m.member_id
    LIMIT 0, 2000


    mysql error: Unknown column 'pp.notes' in 'field list'


    i have try this is not working:
    plz help me :_)




    In upload/impex/systems/ibp3/000.php

    Find
    PHP Code:
    pp.notes, pp.links, pp.bio, pp.ta_size, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type


    Change it to
    PHP Code:
    pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type


    Save and reupload over your current 000 file. and re-run the import from the start.
    This is a temporary workaround for the issue if you need to import now. These fields are no longer present in IBP 3.1
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24359
    • 5.7.X

    #2
    Try removing pp.notes given that it can't find that...
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • sisterhood
      New Member
      • Oct 2009
      • 19

      #3
      i have try........then nothing happened......

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24359
        • 5.7.X

        #4
        Can you post that complete section of the file here please
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • sisterhood
          New Member
          • Oct 2009
          • 19

          #5
          The orginal thread is this:




          i have the same problem and i remove pp.notes and nothing happens. no user import

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24359
            • 5.7.X

            #6
            Can you post that complete section of the file here please
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • sisterhood
              New Member
              • Oct 2009
              • 19

              #7
              Originally posted by Trevor Hannant
              Can you post that complete section of the file here please

              ??


              i have only this message:


              ImpEx Database error

              mysql error: Invalid SQL:
              SELECT
              m.*,
              pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
              ,pf.field_1 AS aim_name,pf.field_2 AS msnname,pf.field_4 AS icq_number,pf.field_8 AS yahoo
              FROM ipb3members AS m
              LEFT JOIN ipb3profile_portal AS pp ON (m.member_id = pp.pp_member_id)
              LEFT JOIN ipb3pfields_content AS pf ON (m.member_id = pf.member_id)
              ORDER BY m.member_id
              LIMIT 0, 2000


              mysql error: Unknown column 'pp.notes' in 'field list'

              Comment

              • Trevor Hannant
                vBulletin Support
                • Aug 2002
                • 24359
                • 5.7.X

                #8
                Please post the section of file impex/systems/ibp3/000.php that you have changed.
                Vote for:

                - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                Comment

                • sisterhood
                  New Member
                  • Oct 2009
                  • 19

                  #9
                  Originally posted by Trevor Hannant
                  Please post the section of file impex/systems/ibp3/000.php that you have changed.

                  Original:

                  $details_list = $Db_object->query("
                  SELECT
                  m.*,
                  pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
                  " . (!empty($pfarray) ? ',' . implode(',', $pfarray) : '') . "
                  FROM {$tableprefix}members AS m
                  LEFT JOIN {$tableprefix}profile_portal AS pp ON (m.member_id = pp.pp_member_id)
                  " . (!empty($pfarray) ? "LEFT JOIN {$tableprefix}pfields_content AS pf ON (m.member_id = pf.member_id)" : '') . "
                  ORDER BY m.member_id
                  LIMIT {$start_at}, {$per_page}
                  ");


                  my changes without pp.notes




                  $details_list = $Db_object->query("
                  SELECT
                  m.*,
                  pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
                  " . (!empty($pfarray) ? ',' . implode(',', $pfarray) : '') . "
                  FROM {$tableprefix}members AS m
                  LEFT JOIN {$tableprefix}profile_portal AS pp ON (m.member_id = pp.pp_member_id)
                  " . (!empty($pfarray) ? "LEFT JOIN {$tableprefix}pfields_content AS pf ON (m.member_id = pf.member_id)" : '') . "
                  ORDER BY m.member_id
                  LIMIT {$start_at}, {$per_page}
                  ");

                  Comment

                  • Trevor Hannant
                    vBulletin Support
                    • Aug 2002
                    • 24359
                    • 5.7.X

                    #10
                    So what's your error now - if you've removed pp.notes then you can't be getting that error...
                    Vote for:

                    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                    Comment

                    • sisterhood
                      New Member
                      • Oct 2009
                      • 19

                      #11
                      sorry but my problem is obvious, why the same question?



                      when i remove pp.notes freeze the import have always wrong:


                      ImpEx Database error

                      mysql error: Invalid SQL:
                      SELECT
                      m.*,
                      pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
                      ,pf.field_1 AS aim_name,pf.field_2 AS msnname,pf.field_4 AS icq_number,pf.field_8 AS yahoo
                      FROM ipb3members AS m
                      LEFT JOIN ipb3profile_portal AS pp ON (m.member_id = pp.pp_member_id)
                      LEFT JOIN ipb3pfields_content AS pf ON (m.member_id = pf.member_id)
                      ORDER BY m.member_id
                      LIMIT 0, 2000


                      mysql error: Unknown column 'pp.notes' in 'field list'

                      Comment

                      • Trevor Hannant
                        vBulletin Support
                        • Aug 2002
                        • 24359
                        • 5.7.X

                        #12
                        If you've removed it from the file on your server, you wouldn't be seeing that:

                        ImpEx Database error

                        mysql error: Invalid SQL:
                        SELECT
                        m.*,
                        pp.notes, pp.signature, pp.avatar_location, pp.avatar_size, pp.avatar_type
                        After making the change, you have uploaded the file back to the right place?
                        Vote for:

                        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                        Comment

                        • sisterhood
                          New Member
                          • Oct 2009
                          • 19

                          #13
                          i have very very bad english :-(

                          i have take this file:

                          impex/systems/ibp3/000.php

                          edit:

                          without pp.notes and then return to server.

                          Import again starting and freeze

                          Comment

                          • borbole
                            Senior Member
                            • Feb 2010
                            • 3074
                            • 4.0.0

                            #14
                            Originally posted by sisterhood
                            i have very very bad english :-(

                            i have take this file:

                            impex/systems/ibp3/000.php

                            edit:

                            without pp.notes and then return to server.

                            Import again starting and freeze
                            Did you overwrite the old file? If you did, then try to re-run the import from the start.

                            Comment

                            • sisterhood
                              New Member
                              • Oct 2009
                              • 19

                              #15
                              Originally posted by borbole
                              Did you overwrite the old file? If you did, then try to re-run the import from the start.

                              please believe me i have everything try it out....everything, nothings works

                              Comment

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