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:11:42 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 11651 times)
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 #30 on: November 08, 2005, 11:24:10 AM »

Here is the info from my cPanel:

Operating system Linux
Kernel version 2.4.28-ow1
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.8.4
PHP version 4.3.11
MySQL version 4.0.25-standard
cPanel Build 10.8.1-RELEASE 30
cPanel Pro 0.9.9.2 (RC8)


Now I really need some help. I have unpatched the patched files gone back to the original login modules and I still get the error.  My site is down and useless.

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
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 #31 on: November 08, 2005, 11:51:26 AM »

Well after numerous patches and unpatches, installs and uninstalls I have the login back as long as the index.php is unpatched. If anyone has any ideas how to get this to work please let me know. I guess in the mean time I will have to look for other solutions as I really need an operational forum for my site.

Thanks,

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
SIGHUP
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7



View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #32 on: November 09, 2005, 12:00:26 AM »

I just gave up on it and used Joomlaboard.

Logged
rupert
Joomla Newbie
*

Karma: +2/-4
Offline Offline

Posts: 30


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #33 on: November 10, 2005, 08:04:21 AM »

I have the same problem- so it's present on 1.0.1a, 1.0.1b, 1.0.2a and on Apache and IIS from the looks of things :-(

And have tried the SMF-Joomla 1.3 login mod and it still fails!

WHY?  I would really like to continue to use SMF and get this to work.

PLEASE Cowboy please help us out - there are at least 3 of us with this problem, Rick on Apache 1.3.33 and me on IIS6.
« Last Edit: November 10, 2005, 08:46:42 AM by rupert » Logged
jj
Joomla Pro
**

Karma: +5/-2
Offline Offline

Posts: 53


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #34 on: November 10, 2005, 08:56:47 AM »

I have the same problem- so it's present on 1.0.1a, 1.0.1b, 1.0.2a and on Apache and IIS from the looks of things :-(

And have tried the SMF-Joomla 1.3 login mod and it still fails!

WHY?  I would really like to continue to use SMF and get this to work.

PLEASE Cowboy please help us out - there are at least 3 of us with this problem, Rick on Apache 1.3.33 and me on IIS6.

What is the 'login problem' of which y'all speak?? Don't sound very helpful to me at all to just shout help without a clear description of exactly what is happening, what your configuration is and an indication of what assistance you need!

For example, at our Republican Rape Crisis Training Centers, we teach the women to, instead of screaming "RAPE", scream instead
"Help!, I am being assaulted by a man with a very large (censored) shoes! I am 36-24-35! Please send cigarettes!"
Logged
rupert
Joomla Newbie
*

Karma: +2/-4
Offline Offline

Posts: 30


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #35 on: November 10, 2005, 09:16:11 AM »

jj read the start of the thread!
Logged
Pete
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #36 on: November 10, 2005, 12:24:41 PM »

I have the same problem others have described. Once I apply the patch to index login doesn't work anymore. So I did some chasing through the code to see where it was failing.

In administrator/components/com_smf/functions.smf.php

funcion doMamboSMF

This line:    $validcode = isValidUser($data, $username, $password); returns a 1 and invokes a URL GET redirect.
index.php?option=com_smf&action=login2&hash_passwrd=0&user=me&passwrd=password&cookielength=15
(with my real password Wink )

I cant find any code that operates off action=login2, what should it be doing at this point?
Up till now I've only seen it validate the data and issue the redirect.

If I set $validcode to 0 it logs in to Joomla only.

SMF Bridge - 1.02a
SMF - 1.1 rc1
Joomla 1.03
Apache/1.3.29 (Unix) PHP/4.3.6 mod_ssl/2.8.16 OpenSSL/0.9.7d
MySQL     3.23.49
Logged
jj
Joomla Pro
**

Karma: +5/-2
Offline Offline

Posts: 53


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #37 on: November 10, 2005, 04:08:28 PM »

jj read the start of the thread!

Smiley I DID!

But what exactly is the login prob?

Is it timing out? Is it rejecting the login alltogether?

I'm using Joomla 1.03 with SMF RC1 JH bridge 1.02 (latest) and I'm not experiencing those probs.

I am however running totally locally with JoomlaStarterKit (PHP5 & PHP4, two machines)

Login problems to me mean you can't LOG in, or you can't STAY logged in..
which is it? Smiley

Sometimes the hardest part of asking for help is knowing EXACTLY what to say- If we were that expert we probably would've just fixed it ourselves!

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 #38 on: November 10, 2005, 04:14:12 PM »

What we are talking about as stated in 3 or 4 places in this thread is the "You are not authorized to view this resource. You need to login." problem. This has been reported in other threads as well as other boards and so far has not been seriously looked at or resolved. Since you are having problems finding these posts here in this thread here are links to them:

http://www.joomlahacks.com/component/option,com_smf/Itemid,94/expv,0/topic,746.msg3268#msg3268
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/expv,0/topic,746.msg3285#msg3285
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/expv,0/topic,747.msg3153#msg3153
http://www.joomlahacks.com/content/view/102/99/ (In the comments)

If you have any ideas that have not been mentioned in already then we could sure use some help with this so that we can use our boards.

Thanks,

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
rupert
Joomla Newbie
*

Karma: +2/-4
Offline Offline

Posts: 30


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #39 on: November 10, 2005, 04:21:56 PM »

With the index.php patched I when loggin into Joomla I get

Fatal error: Cannot redeclare db_query() (previously declared in D:\inetpub\vhosts\boiledsweets.com\subdomains\dev\httpdocs\forum\Sources\Subs.php:234) in D:\Inetpub\vhosts\boiledsweets.com\subdomains\dev\httpdocs\forum\Sources\Subs.php on line 234

If I reload the page I am actually logged in.  However if I logout I get the same error.

As I have stated before the install is correct and all settings are correct. 

Tried Joomla 1.0.1, 1.0.2 and 1.0.3
Tried SMF-Bridge 1.0.1, 1.0.1a, 1.0.1b, 1.0.2 and 1.0.2a
SMF 1.1 rc1
Logged
Pete
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 6


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #40 on: November 11, 2005, 11:20:08 AM »

I had one of those 'middle of the night' thoughts on this problem.

My SMF menu item is "Registered" as I only want registered users to have the link. I realized that the "You are not authorized.." is the same message a guest would get if he tried to use the URL directly.

So I changed the link from registered to public and it all works fine now. Seems the Bridge is logging into SMF first and Joomla second.
Logged
jj
Joomla Pro
**

Karma: +5/-2
Offline Offline

Posts: 53


View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #41 on: November 11, 2005, 11:38:53 AM »

that has to be it. My Forums menu is on the USER menu, so they would only see it if logged in. hmmm... I guess menu placement may be a relevant thing to post with configuration info hmmm?
Logged
SIGHUP
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7



View Profile
Re: Another login problem after upgrade to Joomla 1.0.3
« Reply #42 on: November 12, 2005, 01:52:00 AM »

Actually yes, this is one of the problems. I can second that, I had registered or special permission set on some menu items and when removed the problem went away but then it came back.

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 #43 on: November 13, 2005, 09:39:56 AM »

IMPORTANT

What I found out:

The "You are not authorized to view this resource. You need to login." message appears on ANY forum page when the url it entered WITHOUT an itemid.

Examples:
Quote
index.php?option=com_smf
index.php?option=com_smf&action=login
index.php?option=com_smf&action=login2
Will ALL give the same error

BUT
Quote
index.php?option=com_smf&Itemid=2
index.php?option=com_smf&Itemid=19&action=login
index.php?option=com_smf&Itemid=666&action=login2
THE value of the itemid var does not matter, as long as it's there and it's not empty or 0

To get rid of it for now I manually edited my login/user module and changed the login form to a simple link pointing to the smf login page. But this means loggin on will always redirect to the forums, and it's kind of inconvenient for users to have to leave their current and look it back up after logging on.
Hope this helps.
« Last Edit: November 13, 2005, 09:43:49 AM by Shunt » 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 #44 on: November 13, 2005, 12:00:48 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 last time I just uninstalled all forum components, went in through FTP and wiped out all remnants of SMF, with into mysql and wiped all SMF tables. Then I reinstalled SMF from scratch, reinstalled the joomla components and it all started working. I am trying to get a good backup now while it works so if anything goes wrong I can just restore it. For the moment I am happy but I sure wish I knew what caused it in the first place and what the fix was in the second place.
My hope are that once RC2 comes out for CB that some improvements will be made for the Joomla/SMF integration. Although I am hearing that may not be likely. If SMF does not change their stance and actively use/support the CB integration I will be looking elsewhere.
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
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
Search Contact About Advertise Blogs Topsites Submit News Register Login