can't login after installation

1,162 views
Skip to first unread message

Jacob Andrews

unread,
Feb 12, 2017, 8:34:55 PM2/12/17
to Easy!Appointments - Support Group
I am having trouble after installation to logging into the backend of the website. I know I'm not typing in the password wrong because when I do, it gives me an error. After i 'log in' it brings me to the index.php/user/login which is the same page I was already on. 

I'm not sure how to fix this. Is there any way anyone knows of that can help? Also, if there is more information I could suppley, let me know and I will get it up!

Craig Tucker

unread,
Feb 13, 2017, 10:23:37 AM2/13/17
to Easy!Appointments - Support Group
What is the error code saying?

Jacob Andrews

unread,
Feb 13, 2017, 5:45:42 PM2/13/17
to Easy!Appointments - Support Group
It's not saying anything at all. I log in, and once I click "log in" it basically refreshes the page and prompts me to log in again. When I type in the wrong password it gives me an error saying I've typed in the wrong user/pass. I just installed it & have never been able to log in- but I know that I am using the correct user and pass. I'm not sure what's wrong. Could be something with the ajax-login.

Is there something . that I could provide to make it easier for you to help?

Craig Tucker

unread,
Feb 14, 2017, 12:08:25 AM2/14/17
to Easy!Appointments - Support Group
I have not had this problem.  If your password is corrupted, you may need to delete your database and start over.  Ajax does have problems if your config is set up for https but you are connecting with http.  Nothing will work correctly then. I have noticed that.  Log in will not work in that case either. 

Jacob Andrews

unread,
Feb 14, 2017, 6:34:18 AM2/14/17
to Easy!Appointments - Support Group
The weird thing is that I tried deleting the database & I made a completely new account the second time around. I have tried on different browsers and everything. I just checked, and it is set up as http: but one interesting thing. I did just switch to https: and when i did, I still coulcn't log in, but after the attempt the url went too user/login? instead of user/login.php

Craig Tucker

unread,
Feb 14, 2017, 12:08:06 PM2/14/17
to Easy!Appointments - Support Group
It does not sound like you are having a problem with http/https.  I doubt it is a ajax issue.  It is likely a credentials problem and I am not sure why. 

What I am understanding is that you are trying to log in by going to "mywebaddressforEA.net/index.php/backend" this redirects to "mywebaddressforEA.net/index.php/user/login" and you see the login page. You enter your credentials and nothing happens.  Am I understanding correctly?  If so all is good up to that point.

I am also understanding that you have tried this with new database installs and various browsers.  So it sounds like the install went ok.  The default administrator id is Admin.  I suppose you are using that or what ever you changed it too.  I suppose you have tried using the "Forgot Your Password?" link with no effect.

Correct me if I am wrong at any of these points.

Also, are you doing a normal install or Wordpress. 

Jacob Andrews

unread,
Feb 14, 2017, 12:18:38 PM2/14/17
to Easy!Appointments - Support Group
That's all correct so far. When I've hit forgot password, it never emailed anything either so I set up a fully new account, database & system. I'm also doing this separate from Wordpress &I it's all on my local host currently.

So when I got to localhost:8888/mywebsite/book/ it goes to the example for scheduling & when I try to log in it doesn't give me an error message but almost refreshes and stays on the login page. Fresh after installation, I still haven't been able to access the back end.

Craig Tucker

unread,
Feb 15, 2017, 3:22:22 AM2/15/17
to Easy!Appointments - Support Group
Next thing I would try is to look in the console of your browser.  In Windows, you right click anywhere in the window and you will get a pop up window with an option that says inspect or inspect element.  Then click the tab that says console.  You may see some error codes there and that can help track down what is happening.  Let me know what you are seeing.  Or, you can pm me and let me know of the address of your website and then I can see directly what you are experiencing.

akash agarwal

unread,
Mar 20, 2017, 1:37:14 AM3/20/17
to Easy!Appointments - Support Group
I am also facing the same issue, on entering password, it loads url with /index.php/user/login.
However, on entering the wrong password, it shows the error message.
Not able to view and manage the backend, reinstalled the same thrice, HELP required.

Alex Tselegidis

unread,
Mar 21, 2017, 3:35:08 AM3/21/17
to Easy!Appointments - Support Group
The problem must be the session handling in your server. Set the value of session.save_path to a valid writable path in your php.ini file and it should work. 

  Alex Tselegidis, Easy!Appointments Creator

  Need a customization? Contact me in person!

Piyush Mantri

unread,
Mar 30, 2017, 5:07:30 AM3/30/17
to Easy!Appointments - Support Group
Having the same problem. session.save_path is set correctly as other applications can login without any issue. When I try to login to easyappoinments there are 3 files being generated in session.sav_path folder.

Michael Wingert

unread,
May 7, 2017, 10:20:22 PM5/7/17
to Easy!Appointments - Support Group
Same here. I used bitnami wamp, and when I go to login, it's just returning me to the login screen. The login itself is successful, the API is returning 200 status code, it then requests /index.php/backend, which returns a 302 found, but the response headers show
Location:

  1. Set-Cookie:
    ci_session=ib4lnd5t4vogj9br2fviuqtv1h; expires=Mon, 08-May-2017 04:12:16 GMT; Max-Age=7200; path=/; HttpOnly
  2. Set-Cookie:
    csrfCookie=839c107203bc09d3c5e030514b19564b; expires=Mon, 08-May-2017 04:12:16 GMT; Max-Age=7200; path=/
Cookies are being set properly and created within the tmp folder.


    1. Request URL:
    2. Request Method:
      GET
    3. Status Code:
      302 Found
    4. Remote Address:
      [::1]:81
    5. Referrer Policy:
      no-referrer-when-downgrade
  1. Response Headersview source
    1. Cache-Control:
      no-store, no-cache, must-revalidate
    2. Connection:
      Keep-Alive
    3. Content-Length:
      0
    4. Content-Type:
      text/html; charset=UTF-8
    5. Date:
      Mon, 08 May 2017 02:12:16 GMT
    6. Expires:
      Thu, 19 Nov 1981 08:52:00 GMT
    7. Keep-Alive:
      timeout=5, max=99
    8. Location:
    9. Pragma:
      no-cache
    10. Server:
      Apache
    11. Set-Cookie:
      ci_session=ib4lnd5t4vogj9br2fviuqtv1h; expires=Mon, 08-May-2017 04:12:16 GMT; Max-Age=7200; path=/; HttpOnly
    12. Set-Cookie:
      csrfCookie=839c107203bc09d3c5e030514b19564b; expires=Mon, 08-May-2017 04:12:16 GMT; Max-Age=7200; path=/
    13. X-Frame-Options:
      SAMEORIGIN
    14. X-Powered-By:
      PHP/7.1.2
  2. Request Headersview source
    1. Accept:
      text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    2. Accept-Encoding:
      gzip, deflate, sdch, br
    3. Accept-Language:
      en-US,en;q=0.8
    4. Connection:
      keep-alive
    5. Cookie:
      _ga=GA1.1.126832428.1491285808; csrfCookie=839c107203bc09d3c5e030514b19564b; ci_session=ph141av37s0b8l5cj952v230ra
    6. Host:
      localhost:81
    7. Referer:
    8. Upgrade-Insecure-Requests:
      1
    9. User-Agent:
      Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Alex Tselegidis

unread,
May 10, 2017, 7:40:40 AM5/10/17
to Easy!Appointments - Support Group
There's a problem with backend login and PHP 7.1 (already registered on GitHub https://github.com/alextselegidis/easyappointments/issues/323). 

I'll try to correct the issue and make a revision release soon. 

Alex Tselegidis

unread,
May 18, 2017, 3:04:23 AM5/18/17
to Easy!Appointments - Support Group
The login problem of PHP 7.1 is caused to due to a bug of CodeIgniter that will reissue the session cookies all the time making it impossible to start and admin user session.

A patch release will be available in the following days. 

Reply all
Reply to author
Forward
0 new messages