unable to login

Started by rboll, March 05, 2005, 06:22:51 PM

Previous topic - Next topic

rboll

Hi All,

I spent the whole day trying to integrage SMF into Mambo...

...but in the end with no success  :'(

Configuration:

PHP built On:       Linux stripples.devel.redhat.com 2.4.21-1.1931.2.274.entsmp #1 SMP Tue Jun 24 11:18:10 EDT 2003 i686 i686 i386 GNU/Linux
Database Version:    3.23.58
PHP Version:    4.2.2
Web Server:    Apache/2.0.40 (Red Hat Linux)
WebServer to PHP interface:    apache2filter
Mambo Version:    Version: Mambo 4.5.1a Stable [Three For Rum] 05/10/2004 16:12 GMT


SMF is installed in the same database as Mambo.
SMF ist installed at the same directory level like Mambo.
SMF Verson 1.0.2
SMF-Bridge Version 3.02

I followed the instructions of the thread SMF <-> Mambo Bridge (Combined Readme)

BUT I AM NOT ABLE TO LOGIN!

When a new user is registered, he will be added to MOS & SMF userbase.


Any suggestions/ideas?

Regards,

Ralf.

Orstio


rboll

Hi All,

After a long night and supported by "Orstio" it is working!  :D

Things you should check if you cannot login:

read the thread http://www.simplemachines.org/community/index.php?topic=25718.0

check if the settings in the file .../path2your.smf.installation/settings.php are correct.
verify that you are using the latest smf login module for mambo (currently from the 3.0.2 bridge package). DO NOT USE older versions (e.g. because you'd like to have the login module in your local language)
if the readme tells you to "apply the mambo.tar.gz with "package mamager" it means you have to browse to .../path2your.smf.installation/  and go to package manager in the admin menue of SMF. If you are not able to login to your SMF, you can add the changes that will be made by the package manager manually. To do that, you have to edit the ../path2yourMambo/components/com_smf/smf.php. Search for the line:

'maintain' => array('Admin.php', 'Maintenance'),

and insert after that line the following two lines from the mambo.tar.gz file:

'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout'),

Regards,

Ralf.

Orstio

QuoteIf you are not able to login to your SMF, you can add the changes that will be made by the package manager manually. To do that, you have to edit the ../path2yourMambo/components/com_smf/smf.php. Search for the line:

'maintain' => array('Admin.php', 'Maintenance'),

and insert after that line the following two lines from the mambo.tar.gz file:

'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout'),


You didn't actually have to do that.  Clicking the update link in the bridge config AFTER installing the mambo.tar.gz would have done that for you automatically.

rboll

Hello,

I still have some problems,

When I use the Login Module (mod_sfm_login.php) to register an new user, the register link referres to http://www.myhomepage.de/smf/index.php?action=register

If I create a user that way - the user is only registered in SMF.

When I use the register link inside the forum which referres to http://www.myhomepage.de/index.php?option=com_smf_registration&task=register
, the user is registered both in Mambo and SMF.

How can I modify the Login Module (mod_sfm_login.php) to point to http://www.myhomepage.de/index.php?option=com_smf_registration&task=register so that registration can be done from both mambo and SMF?

Ralf.

Kindred

grumph...   another person who has not read the other threads.....

this has been discussed about 30 times now.
you have either a) not run mambo.tar.gz or b) have one of those wierd hosts that has issues with it...
if b), then you can change index.english.php in your smf theme...
Сл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."

rboll

Kindred,

thanks for your nice comment, but if scroll up a little bit, you can read that I HAVE done that:

Searched for the line:

'maintain' => array('Admin.php', 'Maintenance'),

and insert after that line the following two lines from the mambo.tar.gz file:

'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout')

So I guess I have another problem...

Kindred

hmm....

damit, orstio changed that on me too....

that file used to also have a change to index.english.php.

none-the-less, the fact remains that this issue is discussed in at least 5 other threads, just on this first page...

(don't mind me too much, I'm just a grumpy old man...)

do B...
Сл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."

chadness

In other words, find one of the many threads that discusses the changes you need to make to index.english.php, and implement it.  Make the change in your own language file if you are using a different one.

rboll

Hi All,

finally I got the SMF running fully integrated into mambo.

But - none of all the threads and readmes really solved my problem. And I am sure, a lot of people are not willing to spend that much time. A lot of people will give up integrating SMF into Mambo.

Don't get me wrong - I think SMF is the best Forum software ever for Mambo.

From my point of view, there should be only one installation documentation available - and not a lot of different versions with comments for older versions of bridge. And even if I download the latest version of the bridge, the documentation is confusing. One overview readme that says read all the other in the subdirectory, a readme in a subdirectory says first read the other readme and so on.
The combined readme is also confusing, because it referres at some parts to older version, in some parts the doc is wrong (e.g. file names, directories, names of zip files).
Maybe it is a clear document for everyone who is deeply involved in that project but it's not for a beginner.

So from my point of view, a clear documentation and an overview how all the components of the bridge work together would make SMF really the most popular Form Software for Mambo.

Regards,

Ralf.

Kindred

I've fixed the older version and file/dir names in the combined readme...
Сл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."

Advertisement: