Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
After signin forwarded to missing page
webdiva69
New
Ok when I go to my forum and click on a thread. Then click SIGN IN from that thread page, I am able ot login but then it tries to forward me to a page that doesn't exist. When I look at the URL it's forwarding me to /forum/forum/discussion/1941/sacred-geometry-in-dreams instead of /forum/discussion/1941/sacred-geometry-in-dreams
so it's adding an additional /forum to the URL as the after sign in Target URL. Any idea where this is happening? I'm using the Boostrap theme.
0
Comments
It is not forwarding you to a missing page, it is adding the forum root to the URL again . I have seen this before and it has been discussed before. Let me see if I can find the discussions for you.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I saw this issue too occasionally.
curious though can you post your .htaccess to see if it is correct.
also what version NUMBER of vanilla are you using?
it appears the signin link when viewing a discussion is a different target than the signin button in top left panel.
e.g. via signin link.
http://localhost/vanilla/entry/signin?Target=%2Fvanilla%2Fdiscussion%2F142%2Fperegrinepost
vs. button
I thought this was posted as issue or bug on github, but it may not be.
I wonder if the problem is with (non-popup signins).
https://github.com/vanilla/vanilla/blob/2.1/applications/vanilla/views/discussion/helper_functions.php#L411
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
It actually does forward me to an OOPS missing page message but i grabbed the URL prior to the forward to see why it was "missing" which is when I discovered the forum/forum I'll look and see if i can find where this is happening.
the problem the SiginUrl has forum in it
and the target has forum in it
and when they get appended it becomes /forum/forum
at least one line is here.
https://github.com/vanilla/vanilla/blob/2.1/applications/vanilla/views/discussion/helper_functions.php#L411
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
you still didn't post your .htaccess
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
htaccess
what folder is Vanilla installed in?
make sure you modify .htaccess after every upgrade so it reflects the correct installation folder on the rewritebase line.
http://vanillaforums.org/discussion/28420/faq
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
you might want to see the FAQ question 22
http://vanillaforums.org/discussion/comment/220157/#Comment_220157
it won't solve the duplication, but it might solve the issue of 404 errors.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
yeah didn't solve the problem still throwing me to forum/forum
are you having a problem with this signin link.
always good to show screenshots of what you are trying to solve
short of changing core to this and just going to signin without a target. I don't know, maybe @linc can suggest a fix, if the solution is not already in github.
https://github.com/vanilla/vanilla/blob/2.1/applications/vanilla/views/discussion/helper_functions.php#L411
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.