Answers.Body: <p>In case someone else is struggling with this: For development purposes I usually install Craft taking a subdomain. So my base domain &quot;name.com&quot; has an SSL certificate, the subdomain &quot;sub.name.com&quot; 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. :-)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-18T13:49:27.840Z
Answers.LastActivityDate: 2020-11-18T13:49:27.840Z
Answers.UserDisplayName: Dave
Answers.Body: <p>It was a permission issue. I used the command below on the entire craft folder to get this to work:</p>
  
  <pre><code>sudo chmod -R 777 craft/
  </code></pre>
  
  <p>The logs were saying that it didn't have permissions to open many files.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-10T00:10:22.617Z
Answers.LastActivityDate: 2018-04-10T00:10:22.617Z
Answers.UserDisplayName: Tyler
Answers.Body: <p>In my case I was getting <code>[error][yii\web\HttpException:400] yii\web\BadRequestHttpException: Unable to verify your data submission. in /app/vendor/yiisoft/yii2/web/Controller.php:218</code> on web.log</p>
  <p>This worked for me:</p>
  <ol>
  <li>clearing cookies on chrome <code>chrome://settings/clearBrowserData</code></li>
  <li>then cleared caches <code> craft clear-caches/all</code></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-21T19:16:45.503Z
Answers.LastActivityDate: 2021-07-27T14:44:29.333Z
Answers.LastEditDate: 2021-07-27T14:44:29.333Z
Answers.UserDisplayName: Leo Leoncio
Answers.Body: <p>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 <code>sudo chmod 777 -R storage</code>. 
  Then I could login to the admin page. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-17T18:37:27.947Z
Answers.Text: Requisite permissions disclaimer: Please be careful when fully opening permissions, _especially_ if you are in any kind of shared environment.
Answers.UserDisplayName: August Miller
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-17T02:44:49.483Z
Answers.LastActivityDate: 2018-12-17T11:08:55.670Z
Answers.LastEditDate: 2018-12-17T11:08:55.670Z
Answers.UserDisplayName: denbagusjkt
Body: <p>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?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-09T00:42:29.100Z
Comments.Text: Does the login button turn red when you've typed enough? Craft might not have access to all of its javascript?
Comments.UserDisplayName: kr37
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-09T00:52:29.993Z
Comments.Text: @kr37 Yes the login button turns red. I don't have JavaScript errors.
Comments.UserDisplayName: Tyler
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-09T01:49:58.377Z
Comments.Text: 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?
Comments.UserDisplayName: Tim Knight
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-09T02:11:22.260Z
Comments.Text: @TimKnight Yes, that is correct!
Comments.UserDisplayName: Tyler
Tags: <users><emails><login>
Title: Can't login after installing Craft CMS 3
ThreadText: # Can't login after installing Craft CMS 3
  
  (Asked by: username_0 on 2018-04-09)
  
  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?
  
  **Tags:** users, emails, login
  
  > **Comments:**
  > **username_1**: Does the login button turn red when you've typed enough? Craft might not have access to all of its javascript?  
  > **username_0**: @username_1 Yes the login button turns red. I don't have JavaScript errors.  
  > **username_2**: 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?  
  > **username_0**: @username_2 Yes, that is correct!  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_3 on 2020-11-18. Score: 1
  
  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. :-)
  
  
  ---
  
  ### Answer by username_0 on 2018-04-10. Score: 1
  
  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.
  
  
  ---
  
  ### Answer by username_4 on 2021-07-21. Score: 1
  
  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`
  
  
  ---
  
  ### Answer by username_5 on 2018-12-17. Score: 0
  
  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.
  
  > **Comments:**
  > **username_6**: Requisite permissions disclaimer: Please be careful when fully opening permissions, _especially_ if you are in any kind of shared environment.  
  
  ---
  
  