I just installed Craft CMS 3 and I tried logging in as my admin user but it's not working. I enter the correct login information and nothing happens. I tried the reset password option but never got the email for some reason. Anyone have any ideas what is going on?

  • Does the login button turn red when you've typed enough? Craft might not have access to all of its javascript?
    – kr37
    Commented Apr 9, 2018 at 0:42
  • @kr37 Yes the login button turns red. I don't have JavaScript errors.
    – Tyler
    Commented Apr 9, 2018 at 0:52
  • So just to be clear, you're not getting the message, "Invalid username or password", you're literally getting no message or action at all?
    – Tim Knight
    Commented Apr 9, 2018 at 1:49
  • @TimKnight Yes, that is correct!
    – Tyler
    Commented Apr 9, 2018 at 2:11

4 Answers 4


It was a permission issue. I used the command below on the entire craft folder to get this to work:

sudo chmod -R 777 craft/

The logs were saying that it didn't have permissions to open many files.


In case someone else is struggling with this: For development purposes I usually install Craft taking a subdomain. So my base domain "name.com" has an SSL certificate, the subdomain "sub.name.com" doesn't - that's causing the same problem. Just add a SSL certificate to the subdomain aswell and it should be working fine. Hope it's helping someone some day. :-)


In my case I was getting [error][yii\web\HttpException:400] yii\web\BadRequestHttpException: Unable to verify your data submission. in /app/vendor/yiisoft/yii2/web/Controller.php:218 on web.log

This worked for me:

  1. clearing cookies on chrome chrome://settings/clearBrowserData
  2. then cleared caches craft clear-caches/all

I had the same problems after installing Craft CMS 3. I have been able to resolve it by adding write permissions to all directories in the storage directory. Just issue sudo chmod 777 -R storage. Then I could login to the admin page.

  • Requisite permissions disclaimer: Please be careful when fully opening permissions, especially if you are in any kind of shared environment. Commented Dec 17, 2018 at 18:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.