| User | Post |
|
2:12 am 23 Jul 2008
| David
Guest
| | | |
|
| |
|
|
Hello. I'm trying to implement the forum on my word press site. What seems to be occuring is that when trying to log in on the forum, you enter your login and password, but it redirects back to the login page. You are indeed logged in though and stay logged in.
When it redirects you to the login page there is a quick flash of some red X in the top left corner of the screen, but no visable message.
Site URL: http://www.assaultphase.com
Forum URL: http://www.assaultphase.com/pbkw/?page_id=76
running WordPress 2.6
Has anybody seen this? Any thoughts on how to fix this redirect to send the user to the main forum? Feel free to register, log in and try the problem out. I would appreciate any help I can on this.
Thanks!
|
|
|
|
|
What other plugins are you running that might effect this? Some sort of conflict would be the most common cause.
|
|
|
2:11 pm 23 Jul 2008
| David
Guest
| | | |
|
| |
|
|
Hi There. Thanks for the response. I can't be 100% certain it wasn't working before the plugins. But here they are.
Configure SMTP 2.0 Dashboard Editor 1.1 - I'm removing this one though, doesn't work well enough Democracy 2.0.1 Events Calendar 6.4 flickrRSS 4.0 Simple:Press Forum 3.1.3 Widgetized Democracy WP Random Tagline
I can try disabling these plugin's and report back.
|
|
|
2:37 pm 23 Jul 2008
| David
Guest
| | | |
|
| |
|
|
To follow up. I deactivated all the other plugins, cleared cach and cookies and then tried again. After logging in, it redirects to
http://www.assaultphase.com/pbkw/wp-content/plugins/simple-forum/sf-login.php?page_id=76/
And the login screen appears.
|
|
|
|
|
OPk let's ask the obvious. It will redircet to the full login form if the first attempt is incorrect. Are you sure you are entering your login credentials correctly? Remember that both user name and password are case sensitive…
|
|
|
3:41 pm 23 Jul 2008
| David
Guest
| | | |
|
| |
|
|
Usually the first thing I ask when my family comes to me with computer problems too.
Anyway. Yeah, they are entered correctly. When you get the page, you can just click on the “Return to Forum” button and start posting to your hearts content as though nothing was wrong.
I'm not a slick PHP coder but it looks like sf-login.php is skipping right down to the bottom of the file. And since there's no recorded error, it's popping up that fancy error box in the corner briefly and empty.
I can try changing some code in there to debug if you have any suggestions.
I really appreciate you helping me out here BTW.
|
|
|
|
|
To be honest I don't have any. But I am planning - all being well - to do some work on this code tomorrow so I can also try and spend some time seeing if I can get a handle on your problem. As is so often the case - you are the only person to report this!
|
|
|
2:52 pm 1 Aug 2008
| Shai Coggins
Guest
| | | |
|
| |
|
|
I have recently installed Simple:Forum at http://shaicoggins.com/ as well. And, I have similar issues. Some of my forum members have already reported that they are unable to log-in. They just keep getting re-directed.
I, personally, have had difficulties logging in to my forum. I keep getting logged off. And, sometimes, it will not even acknowledge my log-ins at all.
And yes, I know I'm entering my details correctly.
I thought it was just me to start with. But, I'm beginning to get complains from people, that's why I decided to come here to ask for help.
The forum section of my blog hardly shows any of my plugins (I removed my sidebars for the forums). So, I don't think that's the issue.
Help, PLEASE?
|
|
|
|
|
No - probably not plugins although removing their 'appearance' does not remobve the code from being available!
I am wondering if this is something to do with the redirect url. I see (by the looks of things anyway) that you are probably using Windows IIS which needs the 'index.php' in the rurl. I am wondering if the login code is not picking that up correctly. Snd the guy above seems to be running in a sub-folder which may be have a similar effect. That is about all I can think of.
To test that theory I am going to have to build a test site from scratch and come back to you. I'll try and make it quick…
|
|
|
|
|
Well I would like to be able to report that this was the issue but I am afraid it is working flawlessly on the test site I just set up.
The only thing that makes any sense to me is some redirect rule you have there that is stopping the redirect after credential capture and approval. Can you think of any such thing that might be in place?
For the record - perhaps you could let me know the WP and SPF versions. Also - does it make any difference whether you try login from the 'front' page of the forum or from whtin a forum or topic. Any and all details may help.
As a last resort - and if you feel up to making a small edit - you could open up the sf-login.php file. A few lines from the bottom is the following code:
if(!empty($_POST['redirect_to'])) { wp_redirect($_POST['redirect_to']); } else { wp_redirect(SFURL); }
You could try changing it so that both go back to the front page as in:
if(!empty($_POST['redirect_to'])) { wp_redirect(SFURL); } else { wp_redirect(SFURL); }
That may help…
|
|
|
2:08 am 17 Aug 2008
| David
Guest
| | | |
|
| |
|
|
For me it worked fine when going from the Front page, ie logging in from the Meta or site admin links in WP. The problem only occured when logging in from the SPF front page or on the SPF login page. I haven't given your code a go yet, but I will try it hopefully this weekend. Thanks.
|
|
|
2:43 pm 1 Sep 2008
| robertvance
Member
| | | |
|
| posts 3 |
|
|
I have been having a similar problem this week. I have had a few users complaining that they are redirected to the login page when they try to log in.
I have only been able to duplicate this problem if I copy & paste the password from the email and insert it into the password text box. If you copy the password and the 'highlight' extends one character too long, you are not going to be able to log in. Considering that the passwords are random characters and numbers, I am guessing that most of the people who register on the forum are copying and pasting for convenience sake. I am wondering if this is the problem.
I also notice that when I intentionally mispell my password, the “incorrect password or username” text shows up above the login form for about a millisecond. It is very easy to miss. This is probably why most of my users think that they are being directed back to the login page for no reason when actually they are being told that their password is incorrect. I plan on adding text to my login page which instructs users to manually type in the password and see if that makes a difference.
|
|
|
|
|
Many people will also have their email clients set to html which means they can also pick up html tags when copying and pasting from an email although we don't output the password in tags.
There is a strong chance that in the next version of SPF we will start to use the WP login/register forms although this is not 100% settled yet.
|
|
|
4:42 am 6 Sep 2008
| David
Guest
| | | |
|
| |
|
|
Yellow Swordfish said:
Well I would like to be able to report that this was the issue but I am afraid it is working flawlessly on the test site I just set up.
The only thing that makes any sense to me is some redirect rule you have there that is stopping the redirect after credential capture and approval. Can you think of any such thing that might be in place?
For the record - perhaps you could let me know the WP and SPF versions. Also - does it make any difference whether you try login from the 'front' page of the forum or from whtin a forum or topic. Any and all details may help.
As a last resort - and if you feel up to making a small edit - you could open up the sf-login.php file. A few lines from the bottom is the following code:
Well, I finally got back around to give your edit a whirl. While I was at it, I upgraded to the 2.6.1 wordpress from 2.6 and the 3.1.4 security update of this forum plugin. Tested and it worked fine without me trying out your suggested changes. Thanks!
|
|
|
6:08 am 6 Sep 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
good news… thanks for getting back with us and letting us know…
|
|