News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

User Databases

Started by gobeavs, April 23, 2005, 01:23:20 AM

Previous topic - Next topic

gobeavs

When I try to login or logout, it gives an error message similar to this -

" smf_main(/home/www/gobeavs.coconia.net/forum/Sources/MOS_SMF.php): failed to open stream: No such file or directory "

I went through all 4 of the steps during install, so the user databases shoudl be synched...:(

And a side note: Is there a way to change the name of the admin in the SMF-Forum? I was being dumb and named it the same as one of my regular users in Mambo...which I think may cause issues down the road when the databases do synch.

Orstio

Quotefailed to open stream: No such file or directory

That says it all.  The file MOS_SMF.php is not in your SMF Sources directory.  You can find it inside the package in step 1.

QuoteAnd a side note: Is there a way to change the name of the admin in the SMF-Forum? I was being dumb and named it the same as one of my regular users in Mambo...which I think may cause issues down the road when the databases do synch.

This won't cause you any errors, but what it will do is this:  SMF will recognize you as an admin, and Mambo will not.  You will not be able to login as the Mambo admin, because that name/password combination does not exist in SMF.  You will be able to log into your Mambo administration panel with the Mambo admin, but not with the SMF admin.

Here's an example, where the SMF admin is named "Bob", and the Mambo admin is named "Mamboguy":

Bob:

logging in through bridge login:
permissions:  SMF admin, Mambo user
cannot login to Mambo admin

Mamboguy:

cannot login through bridge login (SMF will return user not found)
can login to Mambo admin

Kindred

but, to answer your question, yes... you can change the username in SMF.

Go into the database check out the smf_members table (or is it smf_users?)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Puc conDoin

Quote from: Orstio on April 23, 2005, 07:48:25 AM
This won't cause you any errors, but what it will do is this:  SMF will recognize you as an admin, and Mambo will not.  You will not be able to login as the Mambo admin, because that name/password combination does not exist in SMF.  You will be able to log into your Mambo administration panel with the Mambo admin, but not with the SMF admin.

Wasn't there a tool to dump your Mambo users to SMF? What if you make your Mambo super-admin, administrator in SMF after this?

Orstio

QuoteWasn't there a tool to dump your Mambo users to SMF? What if you make your Mambo super-admin, administrator in SMF after this?

Yes, there is a mos2smf script.

After running that script, making the Mambo super-admin an admin in SMF would solve the issue as well.

gobeavs

Ok...thank you for all of your help again...just one more hitch :D

When registering a new user, it registers fine in Mambo, but in SMF it gives a "Database Error" message, and tells me to talk to the admin....I can then just use the mos2smf script and it transfers the new user from mambo fine though.

gobeavs

Solved the problem! Somehow my database prefixes got all messed up, so I fixed it and now it works. Thank you again.

Advertisement: