Menu

#4708 WebsitePanel silent login issues

4.3.6
invalid
nobody
None
Normal
2015-05-19
2015-01-14
echoDreamz
No

Since upgrading to 4.3.4+ WebsitePanel can no longer "silently" login, you always get "Cannot login to the MySQL server".

Once you get this error, PHPMyAdmin will then not even allow you to login to the account manually (at the PHPMyAdmin login screen) regardless if you type the password correctly.

If I do a silent login for user "A" it gets rejected, type the password over and over correctly it continues to say could not login to the mysql server. If I change the login to anything (even jibber) and login it rejects me (which is correct), I can then type in the user "A" provide the password and PHPMyAdmin allows me to login without issues.

I've verified that WebsitePanel is POSTing the pma_username= and pma_password= values as well as verified that they are correct. Even tried creating a new user / new database and the issue persists.

Using PHPMyAdmin 4.3.6, PHP v5.4.36 (though this happens with 5.5 and 5.6 as well) and MySQL 5.6.20.

Discussion

  • Madhura Jayaratne

    What do you mean by 'do a silent login'?

     
  • echoDreamz

    echoDreamz - 2015-01-21

    Basically WebsitePanel has a "Browse Database" button, and when clicked WebsitePanel sends a POST to PHPMyAdmin's index.php with the parameters pma_username=USERNAME and pma_password=PASSWORD and the user is logged in without having to manually type in their credentials.

    Seems this no longer works.

     
  • Isaac Bennetch

    Isaac Bennetch - 2015-01-21

    I've just tested both 4.3.6 and the current 'master' branch and both seem to work fine for me when using both POST and GET methods.

    Can you try from another browser? I did have one occasion where there was a caching issue that prevented this from working, but clearing the cache resolved that.

     
  • echoDreamz

    echoDreamz - 2015-01-21

    I can confirm it works as well, however, the problem occurs if you login incorrectly, you cannot login successfully even after providing the correct credentials. You just get stuck in an infinite login loop until you clear your cache.

    Right now if I clear my cache and login with valid credentials it works fine. However, if I login with invalid credentials then try valid credentials you just get redirected to login screen and the process continues until you clear your cache.

    Seems like something is not being cleared properly.

     
  • Madhura Jayaratne

    When you say clearing cache, do you mean the clearing images and files or clearing cookies?

     
  • Madhura Jayaratne

    • status: open --> pending
     
  • Marc Delisle

    Marc Delisle - 2015-04-14

    @echoDreamz Feedback please?

     
  • Marc Delisle

    Marc Delisle - 2015-05-19
    • status: pending --> invalid
     
MongoDB Logo MongoDB