Home arrow Forum Logging in causes logout
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 02:30: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.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Logging in causes logout
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Logging in causes logout  (Read 1419 times)
robert
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 2


View Profile
Logging in causes logout
« on: July 22, 2008, 11:04:48 AM »

Hi Everyone,

Probably ill have somethat that people can answer with a URL (but searching for login problems and other similar keywords resulted in either nothing or almost the whole forum.

I have:
- Joomla (Joomla! 1.0.15 Stable)
- Community builder (1.1)
- SMF (1.1.5)
- SMF bridge (2.0.2)

After installation everything seemed to work.
I was logged in as admin and I could administer the board,
create topics posts etc.
The system all worked, at least so I thought.

Then when I logged out of joomla and logged back in
with a test user account.

I noticed that joomla logged me in properly,
but that SMF was still seiing me as my admin account.
Logging out using the logout button of SMF caused
bigger problems.

Now when I login to joomla and click the forum link
i get logged out.
Also if I click the joomla component in the admin area,
the session times out immediately.

I can log back in to the admin panel and check but this is hinky now.

The front end of the forum wont let me in any way (not even as admin anymore).

The register option takes me to the CB registration form, and the user database is in sync (at least so the bridge tells me).

I enabled debugging and came up with the stuff below (sorry for the code).

Anyone with some advice?

Code:
DEBUG
SEARCH: http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=register
REPLACE: http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&task=registers
STATUS: Found and replaced
SEARCH: http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=reminder
REPLACE: http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&task=lostPassword
STATUS: Found and replaced
SEARCH: var smf_scripturl = "http://eve.hetisallemaaljouwschuld.com/smf/index.php";
REPLACE: var smf_scripturl = "http://eve.hetisallemaaljouwschuld.com/smf/index.php";var jsmf_scripturl = "http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&Itemid=59&";var jsmf_quoteurl = "http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&Itemid=59&";
STATUS: Not found in buffer
SEARCH: option value="?board=
REPLACE: option value="board=
STATUS: Not found in buffer
SEARCH: smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf
REPLACE: jsmf_scripturl + this.options[this.selectedIndex].value.substr(jsmf_scripturl.indexOf
STATUS: Not found in buffer
SEARCH: 'http://eve.hetisallemaaljouwschuld.com/smf/index.php' + this.form.jumpto.options
REPLACE: jsmf_scripturl + this.form.jumpto.options
STATUS: Not found in buffer
SEARCH: <input type="hidden" name="hash_passwrd" value="" />
REPLACE: <input type="hidden" name="hash_passwrd" value="" /><input type="hidden" name="passwd" value="" />
STATUS: Found and replaced
SEARCH: this.passwd.value = this.passwrd.value;  this.passwd.value = this.passwrd.value;  this.passwd.value = this.passwrd.value; hashLoginPassword(this);
REPLACE: this.passwd.value = this.passwrd.value; this.passwd.value = this.passwrd.value;  this.passwd.value = this.passwrd.value;  this.passwd.value = this.passwrd.value; hashLoginPassword(this);
STATUS: Not found in buffer
SEARCH: form action="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=login2"
REPLACE: form action="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=login2"
STATUS: Found and replaced
SEARCH: form action="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=search2"
REPLACE: form action="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=search2"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=help"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=help"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=search"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=search"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?type=rss;action=.xml"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;type=rss;action=.xml"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=login"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=login"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=search;advanced"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=search;advanced"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=stats"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=stats"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=27"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=88"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=recent"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_smf&amp;Itemid=59&amp;action=recent"
STATUS: Found and replaced
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=1"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=62"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=2"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=63"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=3"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=64"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=4"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=65"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=5"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=66"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=6"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=67"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=7"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=68"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=8"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=69"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=9"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=70"
STATUS: Not found in buffer
SEARCH: href="http://eve.hetisallemaaljouwschuld.com/smf/index.php?action=profile;u=10"
REPLACE: href="http://eve.hetisallemaaljouwschuld.com/website/index.php?option=com_comprofiler&amp;task=userProfile&amp;user=71"
STATUS: Not found in buffer
  time index ex time % elapsed %
Start 1216738161.09172700 - 0.00% - 0.00%
Link Replace from cache Start 1216738161.09357600 0.001849 6.67% 0.001849 6.67%
Link Replace from cache End 1216738161.11157200 0.017996 64.89% 0.019845 71.56%
Link Replace Start 1216738161.11168500 0.000113 0.41% 0.019958 71.97%
Link Replace End 1216738161.11274300 0.001058 3.82% 0.021016 75.78%
Stop 1216738161.11945900 0.006716 24.22% 0.027732 100.00%
total - 0.027732 100.00% - -
« Last Edit: July 23, 2008, 05:39:39 AM by robert » Logged
robert
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 2


View Profile
Re: Logging in causes logout
« Reply #1 on: July 23, 2008, 05:40:28 AM »

Another note, logging into SMF directly through the normal login (not though joomla) does work without  problem.
Logged
Michael Sarfatti
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 2


View Profile
Re: Logging in causes logout
« Reply #2 on: July 30, 2008, 01:16:01 AM »

I have the identical installation setup and login problem in Joomla. Works fine when accessed directly outside of Joomla. Any advice?
Logged
Helen
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 2


View Profile
Re: Logging in causes logout
« Reply #3 on: July 30, 2008, 05:53:51 AM »

Hi,

I have exactly the install setup as robert, and had exactly the same issues, I use CB login to manage my site logging in and out.  I noticed that in the Install part of joomla-smf forum component there was a forum url that was greyed out to me "index.php?option=com_smf&Itemid=49&" and my problems started when I set this item to registered in the menu manager (mainmenu).  So I set this to public and unpublished - and created another menu item for my registered users to get to the forums. 

I also added to the site module (CB login) a login redirection url of index.php and a logout redirection url of index.php, this seems to have solved my logging in and out problems.

However the first time my users have logged in (even though bridge says users are in sync) my users have had to log in a couple of times.  I also have had to give up on using cb profile and use smf's profile as changing passwords in cb never sync'd with smf causing incorrect username and password to pop up. 

Also new users when approved / activated /sync'd (tried everything!) still on first login get told incorrect username or password popup as a dialog - however they do get logged into joomla fine - it is just smf they fail to login to - and once they go to the forum and login again there - they are sorted, but really I would like it to be seamless - so if you have any ideas how to solve that it would be much appreciated!

Hope the first bit helps you robert  Smiley


« Last Edit: July 30, 2008, 05:56:01 AM by Helen » Logged
Michael Sarfatti
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 2


View Profile
Re: Logging in causes logout - Solution found!
« Reply #4 on: July 30, 2008, 07:06:33 PM »

Uninstall Bridge version 2.0.2 and install  version com_smf_2_0_2_1.zip

Discussion and download link here:
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,4174.0

and here:

http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,4318.0

Works like a charm.

My question is why this version is not in the Download Remository?
Logged
Helen
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 2


View Profile
Re: Logging in causes logout
« Reply #5 on: July 31, 2008, 02:26:48 AM »

Thank you for the link, replaced the file as said to upgrade and all is working - sucess at last  Cheesy  Cheesy  Cheesy
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: Logging in causes logout - Solution found!
« Reply #6 on: July 31, 2008, 04:49:07 AM »

My question is why this version is not in the Download Remository?

Because there is no more development for the Bride any more. There is also no more Support for the Bridge. The Developer and the last active Moderator have left the building on June 2007 ;-)

For those that are using the bridge and need Support they have to help each other out on the forums.

-Wolverine placed an announcement on the forums that he has stopped the development I also placed an announcement that I stopped as Moderator and so on ;-)
Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
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
MamboBuzz.com
Search Contact About Advertise Blogs Topsites Submit News Register Login