Wamp MyBB Forum Login failure - session

I have mybb forum on my website.
I am trying to make changes to my website.
I downloaded the contents of my website to localhost/wamp/www
Website works fine. When I try to login into mybb forum, it get redirected to login page again despite of the correct login.
Can someone tell me whats going wrong?
After debugging, I believe this could be a problem with localhost sessions.
Any help would be appreciated very much!
I understood that the session variables are not getting stored, however, the session files are being created.
What is the solution for wamp localhost sessions issue?

The problem is with the cookie domain.
Login as forum admin. Goto Configuration --> settings --> general settings
Clear the field: Cookie Domain
In case your admin login fails or you are not able to select configuration after your login don't worry!
Open the file: /forum/inc/settings.php
Search for $settings['cookiedomain'] and set the field to empty string.
Now you can login into MyBB in your localhost!!

Related

Magento Customer Login Issue - Login Page Keeps Reloading On Login

So I found several variations of this issue and tried the solutions; none worked.
So customers are not able to login with the correct username and password. The login screen (https://www.example.com/customer/account/login) just refreshes when the credentials are entered correctly -- should redirect to the My Account Dashboard.
The only thing that seems to temporarily work (few hours at a time before the problem comes back) is when we change back and forth the System > Config > Web > Session Cookie Management > Cookie Domain to "https://www.example.com" and ".example.com" Then we flush the Magento Cache and we flush the Storage Cache and refresh the all Cache Types.
After this, Customers can login on Firefox, Safari and IE, but not Chrome (same login page looping issue).
We have exhausted everything we can think of. No errors in the logs and we have the correct getBlockHtml('formkey'); ?> code in the login.phtml files. We are using a custom theme and noticed this problem after migrating the site from Enterprise Edition to Community edition.
Any suggestions would be greatly appreciated!
Thanks for reading this article and opportunity to post my answer here.
I also faced same problem which AShah faced. I also googleing but did not find such proper result. Finally I removed or clean the session folder (root>var>session) and its works fine for my store.
Hope this trick will solve you. thanks
First check what are the values set for following path in core_config_data
table
web/cookie/cookie_path
web/cookie/cookie_domain
Try by replacing any existing value by NULL.
Following should be set to 1
web/cookie/cookie_httponly

Access Denied Magento Admin after domain change: correct password

After migrating from an amazon instance to GoDaddy hosting, I am unable to login to Magento backend when using the same username and password,
Adding a new user with a new password gives the same error: access denied
web/unsecure/base_url are set correctly in the database table core_config_table
My cookies are setup as follows
web/cookie/cookie_lifetime 3600
web/cookie/cookie_path NULL
web/cookie/cookie_domain NULL
web/cookie/cookie_httponly 1
web/cookie/cookie_restriction 0
Please let me know any thoughts you may have as I have searched google many times and none of the guides help, and I am starting to feel like I am the only one with this specific issue.
Thanks in advance!
Found the Solution myself after many weeks,
Save this file as newadmin.php in your magento root, then uncomment and replace the credentials with the ones you want, then go to example.com/newadmin.php
Voila!!!
The reason is because administrator permissions were contravened, as far as I know this is the only way to add a working user.
Unfortunately one problem led to the next and I started getting index.php inserted into all of my links when I go into admin panel ex:
example.com/index.php/admin/********
I would be fine with this if it didn't send it to a 404 page, the correct page is:
example.com/admin/********
when I remove index.php from the url it works, but if I click on any link or try to save chages in admin panel, it reinserts the index.php in the url and doesn't POST anything to the page, because it gets sent to a 404 page
Click This Link if you want to follow my bug-fixing adventures:
try after delete var/* folder for remove cache
if not worked then change password from db admin_user table then try it.
Did you name your database and users exactly the same as before?
Some CPanels will automatically choose the first part of the MSQL database for you...
check app/etc/local.xml and see if it's all correct

Newly installed Magento, invalid login even with correct user and pass

I'm using magento 1.9, and made sure that my var and media folder's permissions are on 777.
I can't seem to login into the admin panel even with the correct login details.
The problem seems to be frequent in many installation,i guess it the the cookie problem.
Have a look at the link below it may solve the issue.
https://www.facebook.com/notes/rohit-patel/after-installing-magento-cant-log-in-to-admin-panel/256699557722386
If the above link doesnot help try following the answer that i have provided in below link this should work.
Magento Can't login to my account on ios server
Hope this will help.

Joomla administrator re-directs to homepage in localhost

I am trying to access my localhost version of the Joomla Administrator, however each time I navigate to the administrator directory, my Joomla website index page loads instead?
I suspect the htaccess file may be the issue but not 100%?
Any ideas?
Cheers
Ok seeing as you have some protection plugin which re-directs the user from the admin panel if they try and access the page, you won't be able to to either.
And seeing as you can't login to disable it, you will have to do it manually via PhpMyAdmin. Follow these instructions:
Enter PhpMyAdmin
Open the table called jos_extensions (jos is the prefix which may be different for you)
Find the protection extension you have installed which is causing the redirect and go to edit it.
You will find a column called enabled. You need to change the value from 1 to 0
You should then be able to login to the Joomla admin panel
Hope this helps

Pages redirect to homepage when user logs out from them

I'm new to Joomla, and I am having this strange issue that I can't find any help on, and I have no idea how to go about even debugging it.
Basically, whenever a user logs out on a page, that page from there on out redirects to the homepage. If I clear my cookies, everything goes back to normal, and the page is accessible again.
This doesn't happen in Chrome, just Firefox and IE. I'm using Joomla 2.5.
I've looked at the debug console but I didn't find any stand out clues.
Thanks everyone.
Go to the Module Manager, open the Login module, and in the parameters section, there are 2 fields to choose the redirection after logging in and out.
I had the same problem with joomla 2.5 on Firefox, but not on Chrome. Problem would reset when I cleared the cache, until I did a logout again. Then the home page content would get written into my cache for the page I had been on for registered users only, when I logged out.
I fixed it when I set the Login module to explicitly take the user to the home page, rather than leaving the setting at default. Then it worked correctly for both browsers, and the home page content no longer got cached as the registered users only page.
Set the logout behavior in Extensions: Module Manager: Module Login: Basic Options
Hope it fixes your problem also!
I realize this question is over a year old, but I just worked through the same issue. Hopefully my answer can still be useful to someone. The solution was to disable a plugin called "System - Logout" and clear the browser's cache afterwords. This fixed both the issue of not being able to get back to the page after logout, and an issue where the "Logout Redirection Page" parameter set in the login module was being ignored.

Resources