<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>

CC BY-SA 4.0
2018-05-22T14:10:18.097Z
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)
andrew.welch
CC BY-SA 4.0
2018-05-22T08:43:17.960Z
2018-05-22T08:43:17.960Z
user8391
<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>

CC BY-SA 4.0
2018-05-17T20:19:56.000Z
Do you have any JavaScript errors in your browser's console on the login page?
Brad Bell
CC BY-SA 4.0
2018-05-18T18:40:59.520Z
@BradBell yes there are 9 errors shown https://imgur.com/ZbwsvGp
user8391
CC BY-SA 4.0
2018-05-18T18:48:09.630Z
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
user8391
CC BY-SA 4.0
2018-05-18T21:26:29.373Z
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
Brad Bell
CC BY-SA 4.0
2018-05-19T05:19:18.920Z
it is d3.min.js file https://imgur.com/OB6TIzV Permissions are 777
user8391
CC BY-SA 4.0
2018-05-21T00:21:01.390Z
Weird... if you want to send some CP and (s)FTP/SSH credentials over to support@craftcms.com, we can poke around a bit.
Brad Bell
CC BY-SA 4.0
2018-05-21T07:36:03.557Z
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!
user8391
CC BY-SA 4.0
2018-05-22T04:54:04.550Z
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.
Brad Bell
<login>
Login grayed out, logins rejected
# 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**: @BradBell 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 Brad 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 Brad 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)  

---

