Hello,
My SMF Bridge is acting strange, when i tried it for the first time it worked good, it synced the new admin account from SMF to Modx. But when i add users to Modx to sync to SMF the page turns white after clicking the link and nothing is synced to SMF. What is happing? Where can i look?
I’ve got a fresh install of Modx and SMF.
ModX version: 0.9.6
SMF version: 1.1.3
Bridge: 1.0
Thank in advance,
Ruben
no it wasn’t, i used different names for the modx and smf admins, and the smf admin account is now an modx web user. it worked once... also when i add a user in modx it doesn’t show op in smf. and sync gives me only a white page.
hi,
i have a SMF (1.1.3) with about 400 post and now want to integrate the user management into my Modx installation.
I managed to install the SMF Bridge, but everytime i try to sync the users i get the this error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’-ba.smf_settings (variable,value) VALUES(’integrate_pre_include’,’/is/htdocs/wp1’ at line 1 »
SQL: REPLACE INTO dbxxx-ba.smf_settings (variable,value) VALUES(’integrate_pre_include’,’/is/htdocs/xxx_PZT0GFMMQL/www/assets/modules/smforum/smf.integrate.inc.php’);
Modx and SMF are both in the same database and i have no clue what this error means also i wasn’t able to follow the complete discussion in this thread. Is this plugin outdated or whats going on?
Im planing some other projects and i really like the idea of having ONE single user management for these projects. Is there any chance for me to get this working?
Thanks for any help
Moosa
P.S. does it matter when my Manager-Admin (not Web User) and SMF Admin have the same names?
And now its even getting worse. I tried to register a WebUser (via WebLoginPE) and got this error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’-ba.smf_members WHERE BINARY memberName = ’Xxx’’ at line 1 »
SQL: SELECT memberName FROM dbxxx-ba.smf_members WHERE BINARY memberName = ’Xxx’
[Copy SQL to ClipBoard]
The registration process worked before without any problems (and it looks like its still working despite the SMF part). Anybody has an idea where to look? Or is it senseless to keep on trying to get this working?
Moosa
If i’m not mistaken - i’m not a mySQL expert - you cannot use a dash in the database name. You could try renaming it and adjust your config files accordingly.
I got the bridge working fine, I only had to hack the code so that full names get synch’d if you add or change a user in Modx. Normally, you’d only get the login name as the full name in SMF. Minor problem I guess.
Another thing, I had problems using the same username for both the SMF and the MODX database, when I used different users it worked fine. I don’t know if that’s going to work if you use a single DB.
Any SQL experts in here?
hmm, when the dash really isn’t allowed im in trouble because its a preset from my webhoster. I can only change the last two characters.
I’m just wondering why everything else in this database is working without any problems? I mean my modx and SMF installation are in this database and they never complained.
But im afraid you are right, it sounds logical to me and explains the error message :’(
another thing you could try is to backquote the database name in your settings, like `dbxxx-blabla`, or hack the code in the right place to include those.