Answers.Body: <p>Resolved! So, the console clearly showed which files were broken. </p>
  
  <p>I've downloaded those files again from production server, and uploaded on my test server. Login succeed without any problems now!</p>
  
  <p>I guess it has something to do with transfer mode (auto, binary, text etc) when transferring files via FTP. Transfer mode should be on auto, otherwise files might get corrupted which can cause all kind of (weird) problems. Thanks to Brad for help!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-22T14:10:18.097Z
Answers.Text: This begs for some automation of the deployment process, this might be useful to you: [Website Deployment without Tears](https://devmode.fm/episodes/website-deployment-without-tears)
Answers.UserDisplayName: andrew.welch
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-22T08:43:17.960Z
Answers.LastActivityDate: 2018-05-22T08:43:17.960Z
Answers.UserDisplayName: user8391
Body: <p>We have web site with CraftCMS Pro 2.6.2930. Due to development of new site, we set test web server (Centos/Apache/mariaDB) in our local network and migrated whole site there for testing (2.6.2993 with trial license). Site is working, but logins to craft admin webpage are rejected (log in button is greyed out).</p>
  
  <p>For migration i have followed this <a href="https://craftcms.stackexchange.com/questions/13982/migration-of-craft-cms-from-one-host-to-another">Migration of Craft CMS from one host to another</a> (we deleted license.key file)</p>
  
  <p>Craft/storage/runtime/logs shows</p>
  
  <p>2018/05/17 13:45:58 [warning] [application]  tried to log in unsuccessfully.</p>
  
  <p>Site content is migrated successfully. </p>
  
  <p>PS: I've already tried this and it isn't working: <a href="https://craftcms.stackexchange.com/questions/13781/reset-password-with-mysql/13966#13966">Reset password with MySQL</a></p>
  
  <p>Any ideas? </p>
  
  <p>PS: It seems my problem is very similar to this one <a href="https://craftcms.stackexchange.com/questions/1855/control-panel-access-greyed-out-button">Control Panel access. Greyed out button</a> since i see (almost the same) errors</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-17T20:19:56.000Z
Comments.Text: Do you have any JavaScript errors in your browser's console on the login page?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-18T18:40:59.520Z
Comments.Text: @BradBell yes there are 9 errors shown https://imgur.com/ZbwsvGp
Comments.UserDisplayName: user8391
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-18T18:48:09.630Z
Comments.Text: btw i'm not so deep into web or craft so i could interpret it. Since similar question exists, i've uploaded all files again to the server via WinSCP using "auto" option for transfer type, but no luck there
Comments.UserDisplayName: user8391
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-18T21:26:29.373Z
Comments.Text: What do you get when you try to load that first JS file in a browser? i.e. http://yoursite.com/admin/resources/lib/d3/d3.min.js
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-19T05:19:18.920Z
Comments.Text: it is d3.min.js file https://imgur.com/OB6TIzV Permissions are 777
Comments.UserDisplayName: user8391
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-21T00:21:01.390Z
Comments.Text: Weird... if you want to send some CP and (s)FTP/SSH credentials over to support@craftcms.com, we can poke around a bit.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-21T07:36:03.557Z
Comments.Text: I've solved the problem! I guess all those files (showing erros) were somehow corrupted during download from web server in production. I've  downloaded and copied all those files again and voila, it works!! However huge THANKS to Brad for pointing me in the right direction by looking browser console!
Comments.UserDisplayName: user8391
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-22T04:54:04.550Z
Comments.Text: Glad you got it sorted!  Would you mind adding what worked for you as an official answer? Might end up helping someone in the future.
Comments.UserDisplayName: Brad Bell
Tags: <login>
Title: Login grayed out, logins rejected
ThreadText: # Login grayed out, logins rejected
  
  (Asked by: username_0 on 2018-05-17)
  
  We have web site with CraftCMS Pro 2.6.2930. Due to development of new site, we set test web server (Centos/Apache/mariaDB) in our local network and migrated whole site there for testing (2.6.2993 with trial license). Site is working, but logins to craft admin webpage are rejected (log in button is greyed out).
  
  For migration i have followed this [Migration of Craft CMS from one host to another](https://craftcms.stackexchange.com/questions/13982/migration-of-craft-cms-from-one-host-to-another) (we deleted license.key file)
  
  Craft/storage/runtime/logs shows
  
  2018/05/17 13:45:58 [warning] [application] tried to log in unsuccessfully.
  
  Site content is migrated successfully.
  
  PS: I've already tried this and it isn't working: [Reset password with MySQL](https://craftcms.stackexchange.com/questions/13781/reset-password-with-mysql/13966#13966)
  
  Any ideas?
  
  PS: It seems my problem is very similar to this one [Control Panel access. Greyed out button](https://craftcms.stackexchange.com/questions/1855/control-panel-access-greyed-out-button) since i see (almost the same) errors
  
  **Tags:** login
  
  > **Comments:**
  > **username_1**: Do you have any JavaScript errors in your browser's console on the login page?  
  > **username_0**: @username_1 yes there are 9 errors shown https://imgur.com/ZbwsvGp  
  > **username_0**: btw i'm not so deep into web or craft so i could interpret it. Since similar question exists, i've uploaded all files again to the server via WinSCP using "auto" option for transfer type, but no luck there  
  > **username_1**: What do you get when you try to load that first JS file in a browser? i.e. http://yoursite.com/admin/resources/lib/d3/d3.min.js  
  > **username_0**: it is d3.min.js file https://imgur.com/OB6TIzV Permissions are 777  
  > **username_1**: Weird... if you want to send some CP and (s)FTP/SSH credentials over to support@craftcms.com, we can poke around a bit.  
  > **username_0**: I've solved the problem! I guess all those files (showing erros) were somehow corrupted during download from web server in production. I've  downloaded and copied all those files again and voila, it works!! However huge THANKS to username_1 for pointing me in the right direction by looking browser console!  
  > **username_1**: Glad you got it sorted!  Would you mind adding what worked for you as an official answer? Might end up helping someone in the future.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-05-22. Score: 1
  
  Resolved! So, the console clearly showed which files were broken.
  
  I've downloaded those files again from production server, and uploaded on my test server. Login succeed without any problems now!
  
  I guess it has something to do with transfer mode (auto, binary, text etc) when transferring files via FTP. Transfer mode should be on auto, otherwise files might get corrupted which can cause all kind of (weird) problems. Thanks to username_1 for help!
  
  > **Comments:**
  > **username_2**: This begs for some automation of the deployment process, this might be useful to you: [Website Deployment without Tears](https://devmode.fm/episodes/website-deployment-without-tears)  
  
  ---
  
  