2895
You have to install the profile module and create the used profile fields: member_id,lastname,firstname,addr1,addr2,city,state,zip,country,home_phone,work_phone
In your SQL query the user_profile table is now called profile_profile. I doubt the memberid field, I think it could be left out of the custom profile vars by replacing it with profileid.