Can't Log In from a Profile Page
|
01-16-2015 10:57 AM
|
![](image.php?u=15002&dateline=1452391049) |
Premium Member
|
|
Can't Log In from a Profile Page
The sidebar login was directed down the wrong path.
I attempted to log in from visiting a user profile and I think it attempted to find a profile by the name of 'Login' which is just silly.
As a fix, in class_sidebar.php I changed the following line:
PHP Code:
$this->loginBar = new FormBuilder("login", "login", "post");
To:
PHP Code:
$this->loginBar = new FormBuilder("login", "../../login", "post");
I'm sure there's cleaner ways of getting to the root, but relative paths should work across every page (if it can't go a folder, or two folders back, then it's already at the root, etc).
|
|
Issue Details
|
Category Unknown
Status Fixed
Priority 10 - Lowest
Affected Version Mys v1.3.4
Fixed Version Mys v1.4.0
Users able to reproduce bug
1
Users unable to reproduce bug
1
Assigned Users
(none)
Tags
(none)
|
|
01-16-2015 11:01 AM
|
![](image.php?u=1195&dateline=1384113810) |
Premium Member
|
|
|
I've noticed this on other pages, that you have to change and add the "../../"
I think it's an issue to do with the url rewrite.
|
09-17-2015 10:16 AM
|
![](image.php?u=15226&dateline=1442427088) |
Member
|
|
|
I found that when adding the "../../" fix that it broke the login entirely for the sidebar no matter what page I accessed it from and for the login page. This may have something to do with having mine installed into a subfolder. Clicking the button for login gave me a 404 error.
Went to mysite.com/login
When it should have been mysite.com/folder/login
Also, I am by no means a programmer. This may make completely logical sense. I wouldn't know. XD
|
All times are GMT -5. The time now is 11:10 PM.
Currently Active Users: 684 (0 members and 684 guests)
Threads: 4,081, Posts: 32,025, Members: 2,016
Welcome to our newest members,
jolob.