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.
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.
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 »
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.
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.
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