Advertisement:
SMFPacks SEO Mod

Author Topic: IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"  (Read 7556 times)

Offline Supernaut

  • Newbie
  • *
  • Posts: 1
IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"
« on: January 12, 2011, 07:24:58 PM »
Hello,

I'm attempting to run the converter and the following error is generated:

Quote
Converting members... Unsuccessful!
This query:
SELECT
id AS ID_MEMBER, SUBSTRING(name, 1, 80) AS memberName,
joined AS dateRegistered, posts,
IF(mgroup = 4, 1, IF(mgroup > 5, mgroup + 3, 0)) AS ID_GROUP,
last_visit AS lastLogin, SUBSTRING(name, 1, 255) AS realName,
msg_total AS instantMessages, SUBSTRING(password, 1, 64) AS passwd,
SUBSTRING(email, 1, 255) AS emailAddress,
SUBSTRING(website, 1, 255) AS websiteTitle,
SUBSTRING(website, 1, 255) AS websiteUrl,
SUBSTRING(location, 1, 255) AS location,
SUBSTRING(icq_number, 1, 255) AS ICQ, signature,
IF (bday_year = 0 AND bday_month != 0 AND bday_day != 0, CONCAT('0004-', bday_month, '-', bday_day), CONCAT_WS('-', IF(bday_year <= 4, 1, bday_year), IF(bday_month = 0, 1, bday_month), IF(bday_day = 0, 1, bday_day))) AS birthdate,
SUBSTRING(aim_name, 1, 16) AS AIM, SUBSTRING(yahoo, 1, 32) AS YIM,
SUBSTRING(msnname, 1, 255) AS MSN, hide_email AS hideEmail,
SUBSTRING(IF(avatar = 'noavatar' OR INSTR(avatar, 'upload') > 0, '', avatar), 1, 255) AS avatar,
email_pm AS pm_email_notify, '' AS lngfile, '' AS buddy_list,
'' AS pm_ignore_list, '' AS messageLabels, '' AS personalText,
'' AS timeFormat, '' AS usertitle, '' AS memberIP, '' AS secretQuestion,
'' AS secretAnswer, '' AS validation_code, '' AS additionalGroups,
'' AS smileySet, '' AS passwordSalt, '' AS memberIP
FROM `hubble_mice`.ibf_members
WHERE id != 0
LIMIT 0, 500;
Caused the error:

Unknown column 'id' in 'field list'

I have searched the forum for a solution but have been unable to find one.  I have double checked the version of converter I am using etc.

If someone could help I'd appreciated it.

Tom

Offline TE

  • SMF Hero
  • ******
  • Posts: 4,209
  • Gender: Male
    • eurich.de
Re: IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"
« Reply #1 on: January 17, 2011, 11:45:22 AM »
please check the table ibf_members via phpMyAdmin.. is there a column named 'id'?
Only buddies are allowed to send me a PM and my buddy list is pretty small ;)
---------------------------------------------------
My Github profile

Offline EdisonLiu

  • Newbie
  • *
  • Posts: 2
Re: IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"
« Reply #2 on: January 19, 2011, 08:13:44 PM »
Hi,

I have the same problem. I checked the database under member, but there is a bunch ending with id.

Member_Id, Member_group_Id, org_perm_id, live_id, and twitter_id.

 So which one is the problem?

Offline TE

  • SMF Hero
  • ******
  • Posts: 4,209
  • Gender: Male
    • eurich.de
Re: IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"
« Reply #3 on: January 20, 2011, 01:28:37 AM »
EdisonLiu,
are you sure your Invision Power Board is the old 1.3 version?

if yes, then please edit invision_to_smf.sql and find:
Code: [Select]
id AS ID_MEMBERreplace with:
Code: [Select]
Member_Id AS ID_MEMBER
Only buddies are allowed to send me a PM and my buddy list is pretty small ;)
---------------------------------------------------
My Github profile

Offline UpyR

  • Newbie
  • *
  • Posts: 1
Re: IPB 3.1.3 > SMF 1.1.12 - "Unknown column 'id' in 'field list'"
« Reply #4 on: January 13, 2012, 01:00:02 PM »
Hello. After replacement as it is told above:
Quote
Caused the error:
Unknown column 'mgroup' in 'field list'