Home arrow Forum synch problem after doing 76 of 500+
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 12:28:24 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  synch problem after doing 76 of 500+
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: synch problem after doing 76 of 500+  (Read 4659 times)
Trail
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
synch problem after doing 76 of 500+
« on: May 07, 2005, 01:08:34 AM »

The last synch step is bugging me out..

Failed: Please enter a valid Username:. No spaces, more than 2 characters and contain 0-9,a-z,A-Z

I only have 76 users of about 500 imported.. it won't do them all, and that is the error message i get. Sad

User number 76 is called administrator and is definately the default administrator. Seems it couldnt overwrite it or something and stopped with a silly error message.
« Last Edit: May 07, 2005, 01:18:49 AM by Trail » Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: synch problem after doing 76 of 500+
« Reply #1 on: May 07, 2005, 01:18:02 AM »

I believe there are some user data in SMF that uses characters that are invalid to mambo.

Right now, all I can advise is for you to check the SMF member table and see which user might be causing it. Check for funky looking usernames.
Logged
Trail
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: synch problem after doing 76 of 500+
« Reply #2 on: May 07, 2005, 01:19:34 AM »

lol was just editing my post to add that number 76 is admin Smiley
Logged
Uncle Buck
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: synch problem after doing 76 of 500+
« Reply #3 on: May 07, 2005, 03:23:34 AM »

I had the same problem when I tried to sync.

The problem turned out to be the member AFTER the one it reported as being a problem as that user had only 2 letters as a username.

Once I changed the username to three letters and re-sync'd, it went without a hitch.
Logged
Trail
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: synch problem after doing 76 of 500+
« Reply #4 on: May 07, 2005, 01:35:18 PM »

It now complains:

Failed: This e-mail is already registered. If you forgot the password click on \"Lost your Password\" and new password will be sent to you.

I tried this query

SELECT count(  *  ) ,  `emailAddress`
FROM  `smf_members`
GROUP  BY  `emailAddress`
HAVING count(  *  )  > 1;

And got zero rows. What gives?
Logged
Uncle Buck
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: synch problem after doing 76 of 500+
« Reply #5 on: May 07, 2005, 06:45:16 PM »

That was another problem that I had with sync.

I had a test account in SMF and one in Mambo. It turned out that I had used slightly different usernames but had used the same e-mail address so the sync thought they were different people with the same e-mail.

Once I changed the test account usernames to be EXACTLY the same, the sync worked fine.

Hope that helps.
Logged
Hengis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 20


View Profile WWW
Re: synch problem after doing 76 of 500+
« Reply #6 on: May 08, 2005, 05:29:52 AM »

I think my synch went without a hitch.

What's the best way to check that all of my SMF members are now Mambo members?
Logged

Trail
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: synch problem after doing 76 of 500+
« Reply #7 on: May 09, 2005, 05:53:04 PM »

You can use phpmyadmin for that.. or just check your backend usermanager Wink


Me? im -still- cursing.. it won't synch Sad
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: synch problem after doing 76 of 500+
« Reply #8 on: May 10, 2005, 04:10:12 AM »

You can use phpmyadmin for that.. or just check your backend usermanager Wink

Me? im -still- cursing.. it won't synch Sad
Your error is about a duplicate email. You're syncing an SMF user w/c email is already in mambo. Do you know how to query it manually?
Logged
Trail
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: synch problem after doing 76 of 500+
« Reply #9 on: May 10, 2005, 08:46:09 AM »

The only user in mambo was administrator with a unique email adress, i never registered that email on the VB that converted to SMF.

That one existing user in Mambo was deleted by me too.. I EMTIED the usertable of mambo.. it was entirely empty.. (strange thing is that i held my non existing session in the backend lol).. but even then it didn't synch..
Logged
paulyiend
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: synch problem after doing 76 of 500+
« Reply #10 on: October 28, 2005, 09:19:56 AM »

Your error is about a duplicate email. You're syncing an SMF user w/c email is already in mambo. Do you know how to query it manually?

Cowboy I've got this problem as well, can you supply the code that will find out which fields in the database have the same email addresses please? I'm assuming after I find out which fields need to be deleted that the sychron. process will work?

PY
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: synch problem after doing 76 of 500+
« Reply #11 on: October 28, 2005, 10:31:28 AM »

You have to manually query it from SMF table for now.

Here's how you find the email from SMF that already exist in Joomla:
Code:
SELECT jos1.username, jos1.email, smf.memberName, smf.emailAddress
FROM smf_members smf, jos_users jos1
LEFT JOIN jos_users jos ON smf.memberName = jos.username
WHERE jos.username is NULL
AND jos1.email = smf.emailAddress
so for example:
user "test1" with email "test1@test.com" is in Joomla.
and "test111" with email "test1@test.com" is in SMF.
You see that test1 and test111 is using the same email!
The query will give you:
"test1", "test1@test.com", "test111", "test1@test.com"
therefore, you have to change "test111" email from smf_members.

Here's how you find duplicate emails from singel table, example SMF:
Code:
SELECT memberName, emailAddress,
COUNT(emailAddress) AS NumOccurrences
FROM smf_members
GROUP BY emailAddress
HAVING ( COUNT(emailAddress) > 1 )
Logged
paulyiend
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: synch problem after doing 76 of 500+
« Reply #12 on: October 28, 2005, 10:34:41 AM »

Great stuff will give this a whirl and let you know. Thanks Cowboy  Cheesy
Logged
paulyiend
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: synch problem after doing 76 of 500+
« Reply #13 on: October 28, 2005, 11:01:28 AM »

Hi Cowboy, slight problem haven't upgraded to Joomla yet, its next on my to-do list  Grin You refer to jos1 table can you give the equivalent of this in mambo. Obviously jos_user would be the same as mos_user but what does jos1 relate to?

Once I've got this information I'll create simple php page that your members can then use to find this information and be presented with it via html.
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: synch problem after doing 76 of 500+
« Reply #14 on: October 28, 2005, 11:04:33 AM »

you don't need to change "jos1", it's the alias to the table. All you need to change is the table name.
so... "jos_users" will be "mos_users"
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login