Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Login not working #563

Closed
karmicksol50 opened this issue Apr 28, 2014 · 26 comments
Closed

Admin Login not working #563

karmicksol50 opened this issue Apr 28, 2014 · 26 comments
Assignees

Comments

@karmicksol50
Copy link

I just installed Magento ver. 2.0.0.0-dev73 on my local machine, but when I try to go to admin I can't login what can you do?
I enter my correct username and password but I am redirected to the same login page.
I enter my correct admin path.That is - localhost/myDirectory/magento2-master/index.php/backend.

Please help me to solve this issue.

@airbone42
Copy link

I'm having the same problem, as a workaround:

  • switch to db stroage for session data
  • or deactivate the destroy of session data when regenerating session ids

it looks like the implemented file storage does not support destroying of session data correctly

@santanu-brahma
Copy link

Hi,

May I know which browser currently you are using? If this is Google Chrome
then please try to login on Mozilla Firefox. You know Google Chrome have
different Cookie Policy for Localhost/Localdomain/127.0.0.1 So that
Magento`s cookiejar may not accessible on Chrome via localhost for host
name specified cookies.

It could be a different issue what I thought. Please let me know If I am
wrong.

_SANTANU BRAHMA
http://www.santanu.net
On Apr 28, 2014 12:42 PM, "karmicksol50" [email protected] wrote:

I just installed Magento ver. 2.0.0.0-dev73 on my local machine, but when
I try to go to admin I can't login what can you do?
I enter my correct username and password but I am redirected to the same
login page.
I enter my correct admin path.That is -
localhost/myDirectory/magento2-master/index.php/backend.

Please help me to solve this issue.


Reply to this email directly or view it on GitHubhttps://github.com//issues/563
.

@airbone42
Copy link

I have the same problem on Firefox. You can also check the session files and see that the data is actually missing there.

@karmicksol50
Copy link
Author

Also I have the same problem on Firefox.

On Mon, Apr 28, 2014 at 6:04 PM, Tobias Zander [email protected]:

I have the same problem on Firefox. You can also check the session files
and see that the data is actually missing there.


Reply to this email directly or view it on GitHubhttps://github.com//issues/563#issuecomment-41552657
.

Thanks & Regards
Bibek Jyoti Goswami, PHP Developer

Email: [email protected]
URL: www.karmicksolutions.com
Skype : karmickc | Google: karmicksol50
Tel No.: +91 33 2426 4362
_ _

@verklov
Copy link
Contributor

verklov commented Apr 28, 2014

Guys, please confirm you have this issue on the latest version dev75 we deployed last Friday. As far as I know, the issue you all mention here was already resolved in dev74.

Please update the code from GitHub and let me know if the issue is still there for you.

Thank you!

@verklov verklov self-assigned this Apr 28, 2014
@airbone42
Copy link

Code is already updated and I have the problem in both dev74 and dev75

@verklov
Copy link
Contributor

verklov commented Apr 28, 2014

That's really strange, cause I am installing Magento quite frequently, like multiple times per week and I have not experienced the same issue recently.

Please let me know more details. Was it a clean install over a new database? Are there any peculiarities of the code update and installation that might give us a clue?

I will ask the team look at the issue.

@karmicksol50
Copy link
Author

Thanks

On Mon, Apr 28, 2014 at 7:00 PM, Sergey Verklov, Senior Product Manager <
[email protected]> wrote:

That's really strange, cause I am installing Magento quite frequently,
like multiple times per week and I have not experienced the same issue
recently.

Please let me know more details. Was it a clean install over a new
database? Are there any peculiarities of the code update and installation
that might give us a clue?

I will ask the team look at the issue.


Reply to this email directly or view it on GitHubhttps://github.com//issues/563#issuecomment-41557843
.

Thanks & Regards
Bibek Jyoti Goswami, PHP Developer

Email: [email protected]
URL: www.karmicksolutions.com
Skype : karmickc | Google: karmicksol50
Tel No.: +91 33 2426 4362
_ _

@airbone42
Copy link

Maybe it's related to the php version? I'm using 5.4.7. But it's reproducable with a clean installation here. As mentioned only when session-save-handler is files, NOT db!

@verklov
Copy link
Contributor

verklov commented Apr 28, 2014

Could you please specify which operating system you are running and versions of MySQL and web server?

@airbone42
Copy link

Sure, it's Windows 7, Apache 2.4.3 and MySQL 5.5.27

@verklov
Copy link
Contributor

verklov commented Apr 28, 2014

Thank you! I will ask the team investigate this issue. We will let you know when we find out anything.

@louvipi
Copy link

louvipi commented Apr 28, 2014

I also had issues with it on Win8.1, haven't tried a recent build, just figured I'd have to run it on linux instead.

John Gartrell864-684-9004
Jesus Christ is risen!

Date: Mon, 28 Apr 2014 07:06:50 -0700
From: [email protected]
To: [email protected]
Subject: Re: [magento2] Admin Login not working (#563)

Sure, it's Windows 7, Apache 2.4.3 and MySQL 5.5.27


Reply to this email directly or view it on GitHub.

@airbone42
Copy link

@verklov: As already mentioned in my closed issue and pull request, the problem does not appear when session_regenerate_id is called with the false parameter. I don't want ot say that this is the right solution, but at least that changes the behavior for the files-storage in that way. Maybe that helps when investigating.

@santanu-brahma
Copy link

Hi All,

This is very strange issue. I am not getting any log-in related problem in
my cases except Google Chrome.
I am using Windows 8.1 with PHP 5.4.4, MySQL 5.5.2 and Apache Web
Server(httpd) with OpenSSL.

---------------------

_Thanks & Regards,_Santanu Brahma

_Software Engineer+91-9332932907__http://www.santanu.net_http://www.santanu.net/

On Mon, Apr 28, 2014 at 10:28 PM, Tobias Zander [email protected]:

@verklov https://github.com/verklov: As already mentioned in my closed
issue and pull request, the problem does not appear when
session_regenerate_id is called with the false parameter. I don't want ot
say that this is the right solution, but at least that changes the behavior
for the files-storage in that way. Maybe that helps when investigating.


Reply to this email directly or view it on GitHubhttps://github.com//issues/563#issuecomment-41583813
.

---------------------

_Thanks & Regards,_Santanu Brahma

_Software Engineer+91-9332932907__http://www.santanu.net_http://www.santanu.net

@verklov
Copy link
Contributor

verklov commented Apr 28, 2014

Thank you, @airbone42! I hope this helps during the investigation.

@louvipi
Copy link

louvipi commented Apr 29, 2014

Latest build works great on linux.

@ihor-sviziev
Copy link
Contributor

@verklov I have tried create VM machine on kodding.com, installed there magento2 and have same issue with latest build. On my mac I haven't this issue.

@wsagen
Copy link

wsagen commented May 2, 2014

I experienced the same issue on Magento v 2.0.0.0-dev75
Running:
PHP 5.4.10
Apache 2.2.23
MySQL 5.5.29
on Mac OSX v 10.8.5
@airbone42 workaround allowed me to login without being continually redirected.

magento-team added a commit that referenced this issue May 12, 2014
* Themes update:
  * Blank theme was refactored to implement the mobile-first approach
* Fixed bugs:
  * Fixed an issue where it was impossible to place order using store credit
  * Fixed an issue where adding products with custom options from a wishlist to shopping cart caused an error
  * Fixed an issue where it was impossible to add a product to the shopping cart from the Wishlist sidebar
  * Fixed an issue where the Add to Wishlist drop-down arrow was missed on the category page on the frontend
  * Fixed an issue where it was impossible to manage multiple wishlists on the frontend if FPC was disabled
  * Fixed an issue where prices with taxes were not displayed on the category and product pages on the frontend
  * Fixed an issue where it was impossible to store cache when using either Varnish or built-in cache
  * Fixed an issue where all refactored indexers were in the REINDEX REQUIRED status after installation
  * Fixed an issue where admins with limited access could perform operations not allowed by role permissions
  * Fixed an issue where http links were generated instead of https links
  * Fixed an issue where it was impossible to use Subcategories when building a condition for a catalog price rule
  * Fixed an issue where a registered customer could not place an order using PayPal Payments Advanced
  * Fixed an issue where PayPal Settlement report was empty
  * Fixed an issue where a newly created subcategory was still active after switching to the Default category
  * Fixed an issue where it was impossible to save changes or remove a customer address on the backend
  * Fixed an issue where for an admin with restricted permissions previewing a newsletter template caused a fatal error
  * Fixed an issue where it was impossible to save a Tax Rate if specified that Zip was a range, and the Zip/Post Code field was left empty
  * Fixed an issue where Puerto Rico was listed both as a state and as a country
  * Fixed an issue where the Special Price was displayed instead of the place of Original Price in the Items Ordered column if the orders list.
  * Fixed an issue in Widget configuration where category check boxes did not stay selected when Anchor Categories were specified in the Display On drop-down list.
  * Fixed an issue where admin user password confirmation was not validated on the server side
  * Fixed an issue where adding a customer review caused an error
  * Fixed an issue where the incorrect error messages were displayed if an invalid email was entered during admin user or customer creation
  * Fixed an issue with the Debug section in developer settings, which should only be displayed for the website or store view scope level
  * Fixed an issue where the fatal error was displayed after uninstall if during installation it was specified to save session in the database
  * Fixed an issue where a wrong error message was displayed when a non-existing database was specified when installing Magento using the console install script
  * Fixed an issue where it was impossible to add products from a wishlist to a shopping cart
  * Fixed an issue where an error appeared after Magento installation
  * Improved the Blank theme UI
  * Fixed an issue with a zooming product image overlapped by category design on the frontend
  * Fixed an issue where it was impossible to select only billing or only shipping address when editing the user address on the frontend
  * Fixed an issue where it was impossible to view a Wishlist in the Wishlist Search widget
  * Fixed an issue where partial cache invalidation did not work for built-in caching
  * Fixed an issue where it was impossible to find a catalog event using the Countdown Ticker grid filter if the event had been specified to be displayed on both category and product pages
  * Fixed incorrect error messages displayed during customer registration
  * Fixed an issue where product attributes from other store views were displayed for products in a Wishlist
  * Fixed an issue where it was impossible to place an order without the CheckoutAgreements module
  * Fixed an issue where the Media Image attribute type was not available when creating the product attribute
  * Fixed an issue with incorrect label attribute for the State/Province drop-down list on the Shipping Information tab
  * Fixed an issue where using only digits in the SKU field of configurable products led to a confusing behavior
  * Fixed an issue where a catalog price rule was not shown on the catalog and product pages on the frontend
  * Fixed an issue where Recurring Profiles (payments) were available on the frontend for any registered user who had the URL
  * Fixed an issue where a credit card frame was absent on the Payment Information step of Onepage Checkout, if there was only one payment method with a credit card available
  * Fixed an issued where it was impossible to use inline translate for the My Account and Register links on the frontend
  * Fixed an issue where it was impossible to activate a customer using REST
  * Fixed an issue with the undefined version_compate method called in \lib\Magento\Connect\Validator.php
  * Fixed an issue with invalid XML formatting of Boolean in REST response
  * Fixed an issue where it was impossible to perform installation using index.php from the pub folder (problem with JS and CSS)
  * Fixed an issue where the Multiple Wishlist functionality did not work correctly with enabled Full Page Cache in the Chrome browser
  * Fixed an issue where it was impossible to change an admin frontname using console installation
  * Fixed an exception on the Transaction page when searching by payment method
  * Fixed an issue where the "Add to wishlist" link was displayed in catalog even when the Wishlist functionality was disabled
  * Fixed an issue where the system was broken if an admin user unassigned his own role
  * Fixed an issue with exceptions thrown on attempt to export products for users with store-level restrictions
  * Fixed an issue where two loaders were displayed when saving a category
  * Fixed an issue where it was impossible to search for a newsletter in the Newsletter grid
  * Fixed an issue where the displayed currency and product price were not changed after switching to a new currency
  * Fixed an issue with frontend crashing when deleting a product from a mini shopping cart
  * Fixed an issue where it was impossible to add a bundle product to a shopping cart
  * Fixed an issue where a configurable product base image disappeared when selecting product variations
* Functional tests:
  * Functional end-to-end tests publication
     * Bundle product
     * Category
     * Customer
     * Configurable product
     * Downloadable product
     * Newsletter
     * Review
     * Simple product
     * Sitemap
     * Store
     * Tax Rule
     * User
     * Virtual product
* Service layer updates:
  * Move CurrentCustomerService from Service to Helper
* GitHub requests:
  * [#544] (#544) Performance tests not working
  * [#554] (#554) Performance tests - Fix jmeter output format
  * [#525] (#525) Fix typo in FS Generator help message
  * [#563] (#563) Admin Login not working #563
@verklov
Copy link
Contributor

verklov commented May 12, 2014

Guys, the team has provided some fix for the issue you reported to us. Please use the latest version dev77 for the fix. We really hope this issue is gone now. It was really very annoying. We are closing this issue, but please let us know or better create a new one in case, I hope this does not happen, you can still encounter it.

@verklov verklov closed this as completed May 12, 2014
@henryzxj
Copy link

Change Session storage method with "db", you can login the admin panel.

@ihor-sviziev
Copy link
Contributor

@verklov I tested, this issue isn't reproducing for now on my configuration. Thx.

@verklov
Copy link
Contributor

verklov commented May 13, 2014

@henryzxj, do you mean it is only possible for you to log in if you change storage to database?

@karmicksol50
Copy link
Author

Thanks guys, the issue is solve by using DEV-77 version.

On Wed, May 14, 2014 at 12:12 AM, Sergey Verklov, Senior Product Manager <
[email protected]> wrote:

@henryzxj https://github.com/henryzxj, do you mean it is only possible
for you to log in if you change storage to database?


Reply to this email directly or view it on GitHubhttps://github.com//issues/563#issuecomment-42995296
.

Thanks & Regards
Bibek Jyoti Goswami, PHP Developer

Email: [email protected]
URL: www.karmicksolutions.com
Skype : karmickc | Google: karmicksol50
Tel No.: +91 33 2426 4362
_ _

@verklov
Copy link
Contributor

verklov commented May 14, 2014

You are welcome! :-) We are glad the issue is gone now.

@ihor-sviziev
Copy link
Contributor

@verklov I mean that issue is solved when session in db or in files.

magento-team pushed a commit that referenced this issue Sep 3, 2015
magento-team pushed a commit that referenced this issue Apr 25, 2016
okorshenko pushed a commit that referenced this issue Dec 14, 2016
Fixed issues:
 - MAGETWO-60366 Cannot Enable Production Mode
 - MAGETWO-60041 [Backport] Resize images mechanism is broken on frontend 2.1.3
magento-devops-reposync-svc pushed a commit that referenced this issue Sep 8, 2023
ACPT-1524: Fix Integration Tests failures on Application-Server branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants