Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Projects > The Bug Tracker > Bug

Notices

Can't Log In from a Profile Page Issue Tools
issueid=50 01-16-2015 10:57 AM
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
Project The Bug Tracker
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
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.
Reply
09-17-2015 10:16 AM
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
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 06:48 AM.

Currently Active Users: 441 (0 members and 441 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636