GetSimple Support Forum
SOLVED Cannot login - redirects back to login page - no errors - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: SOLVED Cannot login - redirects back to login page - no errors (/showthread.php?tid=10329)



Cannot login - redirects back to login page - no errors - JAKE - 2018-01-28

Hi

I have a vanilla installation of 3.3.13 on a XAMPP localhost server (Windows 10).

Installation went fine but I cannot login to admin pages.
As soon as I submit login form it just redirects back to the login page.
Address in the address bar is: http://localhost/domain.tld/admin/index.php?redirect=pages.php?

There's no errors on Apache log, PHP log nor in GetSimple logs.

What to do? Huh


RE: Cannot login - redirects back to login page - no errors - Carlos - 2018-01-28

Enable debug mode and check if you get any error.


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-02-19

Well, seems like there's a ton of code errors.

I'm using cardinal theme and there's a few wrong paths.
But most of the errors seem to be in the files under /admin/templates.

Too much to fix so maybe I'll try some other non-db CMS.


RE: Cannot login - redirects back to login page - no errors - datiswous - 2018-02-19

How did you set up Cardinal as the default theme? To change that you have to be logged in the admin interface. Normally you start with default theme Innovation, which you can change in the admin interface to Cardinal.

If you post (some of) the errors, we might be able to point you in the right direction. They might all just have one specific reason that is easy to fix.


RE: Cannot login - redirects back to login page - no errors - shawn_a - 2018-02-19

Id delete it all and redo it


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-08-29

And still have this problem.

Now I can say that it is related to Firefox since within Chrome I can login and use admin as usually.

What could be so different in Firefox?
First I access login page /gs/cms/ and after submit I get redirected to/gs/cms/index.php?redirect=pages.php?

EDIT: And this is a new site.


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-09-16

Here's the log for Firefox in which admin login does not work:
Code:
::1 - - [15/Sep/2018:20:47:40 +0300] "POST /gs/admin/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
::1 - - [15/Sep/2018:20:47:40 +0300] "GET /gs/admin/pages.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
::1 - - [15/Sep/2018:20:47:40 +0300] "GET /gs/admin/index.php?redirect=pages.php? HTTP/1.1" 200 6366 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
And "same" for Chrome in which admin login works:
Code:
::1 - - [15/Sep/2018:20:58:30 +0300] "POST /gs/admin/index.php HTTP/1.1" 302 - "http://localhost/gs/admin/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.16 Safari/537.36"
::1 - - [15/Sep/2018:20:58:30 +0300] "GET /gs/admin/pages.php HTTP/1.1" 200 25622 "http://localhost/gs/admin/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.16 Safari/537.36"



RE: Cannot login - redirects back to login page - no errors - n00dles101 - 2018-09-16

have you set your root url to http://localhost/gs in the settings page?


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-09-16

(2018-09-16, 04:53:04)n00dles101 Wrote: have you set your root url to http://localhost/gs in the settings page?

U mean the "Website url" field? Yes, it matches and I've tried it with and without trailing slash.

I can confirm that I can login with all other browsers IE, Opera, Chrome and even Tor.

But seems like the solution was to use IP address instead of hostname since http://127.0.0.1/gs/admin/ fixed this problem.


RE: Cannot login - redirects back to login page - no errors - Carlos - 2018-09-16

Try with Firefox in a private browser window. If it still doesn't work, try with a new Firefox profile.


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-09-16

(2018-09-16, 17:59:57)Carlos Wrote: Try with Firefox in a private browser window. If it still doesn't work, try with a new Firefox profile.

Noup, didn't make any difference.


RE: Cannot login - redirects back to login page - no errors - JAKE - 2018-09-18

Just tried Codepen site when I suddenly got an notice: "CodePen requires a referrer to render this. Your browser isn't sending one.".

Could this be related to problems with GetSimple?


RE: Cannot login - redirects back to login page - no errors - huetes - 2018-10-04

I have the problem. Is there no solution?
If I uninstall i18n, then everything is fine again.


RE: Cannot login - redirects back to login page - no errors - shawn_a - 2018-10-04

Did you just upgrade?


RE: Cannot login - redirects back to login page - no errors - huetes - 2018-10-06

The problem before the update on. It is not tragic. It's just annoying.
I just change from ../admin/pages.php in ../admin/load.php or ../admin/plugins.php and see everything again.

I hoped that there would be a simple solution.


RE: Cannot login - redirects back to login page - no errors - shawn_a - 2018-10-06

Its an unknown problem that we have never heard before. Would have to debug or look at your logs to find a hint


RE: Cannot login - redirects back to login page - no errors - shawn_a - 2018-10-06

Is this also firefox only?


RE: Cannot login - redirects back to login page - no errors - huetes - 2018-10-11

The problem occurs with Chrome.
Everything ok with Edge.


RE: Cannot login - redirects back to login page - no errors - huetes - 2018-10-11

A new installation helped me on.

Nevertheless many thanks.