Home arrow Forum Another login problem after upgrade to Joomla 1.0.3
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 04:16:25 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Another login problem after upgrade to Joomla 1.0.3
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 3 [4] Go Down Print
Author Topic: Another login problem after upgrade to Joomla 1.0.3  (Read 11653 times)
Shunt
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #45 on: November 13, 2005, 01:08:52 PM »

Well I finally got mine to work again but am not sure what the fix is. I have completely wiped out and reinstalled everything 2 or 3 times with no luck. (...)

This is not really an optiont for me, cause mu forum is being used live and I can afford to lose messages/users.
Logged
Rick Henson
Joomla Pro
**

Karma: +3/-0
Offline Offline

Posts: 82


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #46 on: November 13, 2005, 01:22:36 PM »

Shunt,

Yea I was not saying that it was good for all, luckily for me I had very little in the forum. I was just passing on info so that hopefully it would help to resolve this problem.

You might go into your mysql admin site and back up all of your SMF tables then try what I did. If it works then you could go back and restore the tables and at worst it won't work again and at best maybe it it will work.

Good luck,

Rick
Logged

Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2
JSMF 1.1 RC2 patch1
JSMF CB Plugin 1.0.1
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #47 on: November 13, 2005, 05:56:19 PM »

you know, a bridge like this should not be that difficult..

Start at the login screen (wherever it is) and duplicate it's inputs
Do the same for the logout screen

unless the authentication portion of SMF is very poorly (not modularly written) with login/logout entry points all over the place with different mechanisms for login/logout so it is impossible to find them all, indeed with PHP being an interpreted language, you can build code on the fly and execute it and you would never know without methodically tracing through the bloody code. Sad

What if we tried something else... maybe something with the .htaccess file so when the SMF not logged in error gets triggered we rewrite to a backdoor log in module (for either SMF/Joomla), that way we would not change code in either one?


... when I click on the SMF link, if I am not logged in,  it will call it's error screen (which gets redirected by .htaccess to my special PHP which explicitly checks the Joomla login status and if ok, does the log in to SMF and continues on to the page?

I would suggest that for testing you maintain an unwrapped/unmodded plain SMF install as well. No software is bug free and if the bug is in SMF we cry at the bridge in vain! Cheesy with a standalone SMF we can at least verify some behaviours for consistency, no?

I notice that the SMF at Joomla.org does not keep me logged in forever either (even if I say please)
 Cheesy

Hey! What if...We have SMF completly installed, unmodded...
We clone our users from Mambo/Joomla into SMF (which we can do -or can we? I remember hearing that the password encryption in SMF is different than the MD5 in joomla?)

well assuming they can, we just have our users maintain two logins and keep SMF allways logged in (or mostly allways)

That would give us the seamless interaction we seek?
Logged
Shunt
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #48 on: November 18, 2005, 01:18:27 AM »

All that's needed to fix it is giving the login module an item ID when sending the info the the login2.php from smf, my problem is the redirect url is not located close to the actual login form, so basically it could be anywhere.

Anyone know where it's located?
Logged
Jesse
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #49 on: November 24, 2005, 12:27:09 PM »

Bump, same problem here, not authorized...
Logged
spacebass5000
Guest
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #50 on: December 27, 2005, 04:45:20 PM »

I have just completed banging my head on the same problem. Everything works as it should as long as I do not make the Component's mainmenu link accessible by those in the "registered" group. Upon doing so, I am presented with the following error upon login:

"You are not authorized to view this resource. You need to login."

Apache version: 1.3.33 (Unix)     
MySQL versio: 4.0.25-standard-log    
PHP version:4.4.0
Joomla Version: Joomla! 1.0.4 Stable
SMF Version: SMF 1.1 RC1
Logged
Pages: 1 2 3 [4] 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
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login