Home arrow Forum Joomla Bridge don't sync user to SMF
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 03:49:48 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Joomla Bridge don't sync user to SMF
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Joomla Bridge don't sync user to SMF  (Read 2000 times)
Andreas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Joomla Bridge don't sync user to SMF
« on: November 21, 2005, 02:28:41 PM »

Hi,

we have a problem that sounds like some others.

Sysinfo:

Database Version:       4.0.25-standard-log
PHP Version:    4.4.1
Web Server:    Apache/1.3.33 (Unix)
WebServer to PHP interface:    cgi
Joomla! Version:    Joomla! 1.0.2 Stable [ Sunset ] 02-Oct-2005 16:00
SMF Version:       1.1 RC1
Joomla-SMF Bridge: 1.0.2a
Safe Mode:    OFF
Magic Quotes:    ON
Register Globals:    ON
Output Buffering:    OFF

Until this evening we used the Joomla-SMF Bridge 1.0.1b with all issues like session times. Users get registred in Joomla. Today we get some trouble with our database because some query's timed out.

Query_time: 125 Lock_time: 0 Rows_sent: 0 Rows_examined: 11652784

Code:
SELECT jos.name, jos.username, jos.email, jos.registerDate, jos.block, jos.password, jos.activation,

smf.memberName, smf.realName, smf.passwd, smf.emailAddress, smf.dateRegistered, smf.is_activated, smf.validation_code

FROM jos_users jos

RIGHT JOIN smf11_members smf ON jos.username = smf.memberName

WHERE jos.username = '<username>'

OR smf.memberName = '<username>'

LIMIT 1;

We could view some db issues since the installation. Sometimes a page refresh takes several minutes. My investigation is that this query runs into timout every time a unknown user name is used for login in Joomla. To fix this and other issues we decided to update the bridge. I unpatch the php files, uninstalled the 1.0.1b and installed the 1.0.2a.
Now new user don't get syncronised to SMF! The registration and activation works fine, but he can't log in. Existing users can log in without problems.

We need a quick help! I decided to deaktivate the Registration.

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

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: Joomla Bridge don't sync user to SMF
« Reply #1 on: November 23, 2005, 12:20:45 AM »

Well that's why 1.0.2a was released.

About your syncing issue, you need to elaborate more on that for us to help you.
Logged
Andreas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Joomla Bridge don't sync user to SMF
« Reply #2 on: November 23, 2005, 02:35:44 PM »

Ok, let me try to explain.

A few weeks ago we decided to change our CMS to Joomla. We used PHPNuke before. I made a simple script to export/import our nearly 8000 users into Joomla.
That works fine. But we had unexpected timeouts while page loading. We can't find out the error until our hoster locked the MySQL DB. The SQL I postet above caused query's what runs somtimes over 200 seconds and examed over 1 million records. I think this query is used during the login and runs dead everytime a user tries to login with an unknown username.
Because this we decided to update the Joomla Bridge to fix this problem. After the update it seems the bug is fixed. But new user accounts are not replicated from Joomla to SMF. (The other direction don't work too). A manual verify of the sync state shows "in sync" but it isn't!
For now we deactivated the registration because we don't want to downgrade the bridge.

« Last Edit: November 23, 2005, 02:37:30 PM by Andreas » Logged
Andreas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Joomla Bridge don't sync user to SMF
« Reply #3 on: November 27, 2005, 07:20:38 AM »

Hi,

today we tried to use the joomla-smf login 1.3. But without any changes. Roll Eyes We seriously need help...  Cry
Logged
afonic
Joomla Pro
**

Karma: +8/-1
Offline Offline

Posts: 84



View Profile WWW
Re: Joomla Bridge don't sync user to SMF
« Reply #4 on: November 27, 2005, 08:00:34 AM »

I am not sure I have understood your problem.

1) New users register but they are not synced to SMF?
New users should be synced when they first login, not when they register. Have you tried using SMF registration? (and not Joomla's).

2) Existing users cannot login - are not synced to SMF
Maybe the script you made missed some value and the bridge cannot sync them? You can try manually copying all Joomla users to SMF using another script.

Generally the good idea would be to get a copy of the sql and try stuff on a local server, not directly on your host. Some hosts have very low timeout times for PHP scripts, so its hard to do conversions like that.
Logged

Andreas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Joomla Bridge don't sync user to SMF
« Reply #5 on: November 27, 2005, 10:25:36 AM »

1. Yes, this is our problem. We use joomla for the new user registration. That works fine. But this users are not synced to SMF. And yes, we tried to use SMF registration. But with the same result. The users are not synced to joomla!

2. Existing users can log in without problems. We did the conversation some weeks ago. A few days ago we decided to update the bridge from 1.0.1b to 1.0.2a to fix some known bugs (like keep logged in) and our problems with the database. Some querys ran into loops of 100, 200 seconds and over one million of records. We think this was caused by logins with non existing user credentials. It seems this problem is solved too.
Logged
Pages: [1] 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