# Login issue after installation

**URL:** https://community.dreamfactory.com/t/login-issue-after-installation/4623
**Category:** uncategorized
**Created:** [September 12, 2018, 2:32pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623 "2018-09-12T14:32:45Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 2:32pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/1 "2018-09-12T14:32:45Z")

</div>

I thought I’d completed the installation on a shared server, but apparently there’s still something wrong… I followed the ihstructions on [https://wiki.dreamfactory.com/DreamFactory/Installation](https://wiki.dreamfactory.com/DreamFactory/Installation) (Github ‘procedure’), and I checked my database tables with PhpMyAdmin. I looks like all tables were created…

However when I visit the login screen and enter my email and password, nothing happens when I press ‘Login’… It does not seem to trigger any script… Any idea what could be wrong?

Thanks for your help / hints.

Erik

---

<div class="post-metadata">

### Author: ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)
#### Post date: [September 12, 2018, 3:20pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/2 "2018-09-12T15:20:35Z")

</div>

Hi @Erik,

Could you try clearing your cache and restarting the server then try again for me. Also, could you tell me what operating system you are on and browser? We recommend using Chrome or Firefox.

Best,  
Kevin McGahey

---

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 3:42pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/3 "2018-09-12T15:42:18Z")

</div>

Hi Kevin,

Pls bear with me - noob alert! I cannot restart the server myself, as I am on a shared host…

I do have SSH access, which is what I used to install everything. I cleared cache with $ php artisan cache:clear , but that does not help…

I tried both Chrome and Firefox. This is some system info I retrieved with Directadmin and PHPMyAdmin:

**System info:**

PHP version | 7.1

innodb\_version | 5.6.34-79.1  
protocol\_version | 10  
version | 10.0.29-MariaDB-cll-lve  
version\_comment | MariaDB Server  
version\_compile\_machine | x86\_64  
version\_compile\_os | Linux  
version\_malloc\_library | system

Thanks for your help!

---

<div class="post-metadata">

### Author: ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)
#### Post date: [September 12, 2018, 3:54pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/4 "2018-09-12T15:54:12Z")

</div>

Thank you for the information @Erik could you do me a favor and inspect the page to pull up the network tab and try the login button again. Let me know what comes up with that! 🙂

---

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 4:27pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/5 "2018-09-12T16:27:19Z")

</div>

Do you mean F12 \> network? This is what that produces when I press login (I removed the domainname and password):

Request URL: [https://www.mydomain.com/api/v2/user/session](https://www.mydomain.com/api/v2/user/session)  
Request Method: POST  
Status Code: 404  
Remote Address: 141.138.169.204:443  
Referrer Policy: no-referrer-when-downgrade  
accept-ranges: bytes  
content-type: text/html  
date: Wed, 12 Sep 2018 16:22:09 GMT  
server: Apache  
status: 404  
:authority: [www.mydomain.com](http://www.mydomain.com)  
:method: POST  
:path: /api/v2/user/session  
:scheme: https  
accept: application/json, text/plain, _/_  
accept-encoding: gzip, deflate, br  
accept-language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7  
content-length: 82  
content-type: application/json;charset=UTF-8  
dnt: 1  
origin: [https://www.mydomain.com](https://www.mydomain.com)  
referer: [https://www.mydomain.com/df2/public/dreamfactory/dist/index.html](https://www.mydomain.com/df2/public/dreamfactory/dist/index.html)  
user-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36  
x-dreamfactory-api-key: 6498a8ad1beb9d84d63035c5d1120c007fad6de706734db9689f8996707e0f7d  
{email: "algemeen@mydomain.com", password: “removed”, remember\_me: false}  
email  
:  
"algemeen@mydomain.com"  
password  
:  
“removed”  
remember\_me  
:  
false  
session session

---

<div class="post-metadata">

### Author: ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)
#### Post date: [September 12, 2018, 5:46pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/6 "2018-09-12T17:46:08Z")

</div>

Can you confirm the user has the following flags:  
is\_active=1  
is\_admin=1 (assuming these are your admin credentials)

The normal flow should be a 401 from the user/session endpoint, as DF knows I am an admin, so it makes the call to system/admin and I get a 200 from that POST call  
when using a normal user, you only auth in via the user/session  
[![CloudApp](https://d3vv6lp55qjaqc.cloudfront.net/items/0A2P243X1N1f390k211n/Image%202018-09-12%20at%2010.43.12%20AM.png "Image 2018-09-12 at 10.43.12 AM.png") ](https://cl.ly/1c27a7610f34)

---

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 6:01pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/7 "2018-09-12T18:01:11Z")

</div>

Hi Kevin,

is\_sys\_admin  
and  
is\_active

are both set to 1 in the USER table.

---

<div class="post-metadata">

### Author: ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)
#### Post date: [September 12, 2018, 6:31pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/8 "2018-09-12T18:31:32Z")

</div>

Can you send a screenshot of your Config tab [https://cl.ly/ff8d875bbd2a](https://cl.ly/ff8d875bbd2a) and a screenshot of the .env file [https://cl.ly/76a9f798446a](https://cl.ly/76a9f798446a) . We can also take this offline if you don’t feel comfortable sending screenshots. Our email is [dspsupport@dreamfactory.com](mailto:dspsupport@dreamfactory.com) .

---

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 6:41pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/9 "2018-09-12T18:41:53Z")

</div>

Hi Kevin, I’m afraid I cannot make a screenshot of the Config tab, because I cannot login and enter the backend… I will send you a copy of the .env file to the supplied email address. Thanks, Erik

---

<div class="post-metadata">

### Author: ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)
#### Post date: [September 12, 2018, 6:43pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/10 "2018-09-12T18:43:34Z")

</div>

Sorry not enough coffee this morning. Will be on the lookout for the email.

---

<div class="post-metadata">

### Author: ![Erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@Erik](https://community.dreamfactory.com/u/Erik)
#### Post date: [September 12, 2018, 6:49pm UTC](https://community.dreamfactory.com/t/login-issue-after-installation/4623/11 "2018-09-12T18:49:12Z")

</div>

🙂 you’ve got mail…
