Posts: 18
Threads: 3
Joined: Jan 2018
2018-01-28, 03:47:57
(This post was last modified: 2018-09-16, 16:41:05 by JAKE.
Edit Reason: status solved
)
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?
Posts: 3,491
Threads: 106
Joined: Mar 2010
Enable
debug mode and check if you get any error.
Posts: 18
Threads: 3
Joined: Jan 2018
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.
Posts: 1,247
Threads: 82
Joined: Feb 2011
2018-02-19, 02:57:35
(This post was last modified: 2018-02-19, 03:13:55 by datiswous.)
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.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Id delete it all and redo it
Posts: 18
Threads: 3
Joined: Jan 2018
2018-08-29, 03:16:35
(This post was last modified: 2018-08-29, 03:17:08 by JAKE.)
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.
Posts: 18
Threads: 3
Joined: Jan 2018
2018-09-16, 03:59:42
(This post was last modified: 2018-09-16, 04:00:07 by JAKE.)
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"
Posts: 1,108
Threads: 70
Joined: Aug 2009
have you set your root url to http://localhost/gs in the settings page?
Posts: 18
Threads: 3
Joined: Jan 2018
2018-09-16, 16:39:32
(This post was last modified: 2018-09-16, 16:39:46 by JAKE.)
(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.
Posts: 3,491
Threads: 106
Joined: Mar 2010
Try with Firefox in a private browser window. If it still doesn't work, try with a new Firefox profile.
Posts: 18
Threads: 3
Joined: Jan 2018
(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.
Posts: 18
Threads: 3
Joined: Jan 2018
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?
Posts: 18
Threads: 1
Joined: Nov 2013
I have the problem. Is there no solution?
If I uninstall i18n, then everything is fine again.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Posts: 18
Threads: 1
Joined: Nov 2013
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.
Posts: 6,266
Threads: 181
Joined: Sep 2011
Its an unknown problem that we have never heard before. Would have to debug or look at your logs to find a hint
Posts: 6,266
Threads: 181
Joined: Sep 2011
Is this also firefox only?
Posts: 18
Threads: 1
Joined: Nov 2013
The problem occurs with Chrome.
Everything ok with Edge.
Posts: 18
Threads: 1
Joined: Nov 2013
A new installation helped me on.
Nevertheless many thanks.
Posts: 10
Threads: 1
Joined: Nov 2018
(2018-10-11, 03:23:44)huetes Wrote: A new installation helped me on.
Nevertheless many thanks.
What was the difference with the new installation?
How did you do the installation?