Post by yeh » Mon Aug 15, 2022 3:15 pm

Totally unable to access www.example.com/admin dashboard page because:

www.example.com/admin keeps redirecting back to show admin login page, even though the URL changed to admin/index.php?route=common/dashboard&token=abcde

anyone knows why?

yeh
Newbie

Posts

Joined
Wed May 07, 2014 1:23 pm

Post by paulfeakins » Mon Aug 15, 2022 5:38 pm

yeh wrote:
Mon Aug 15, 2022 3:15 pm
anyone knows why?
You've given very little info, but at a guess I'd say it's a session issue.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by yeh » Wed Aug 17, 2022 7:14 pm

Hi, this is my sample site: http://aol.spacebar.my/admin/index.php

username: admin
password:test12345

everytime when login detail is correct all it does just redirect back to login page

yeh
Newbie

Posts

Joined
Wed May 07, 2014 1:23 pm

Post by ADD Creative » Wed Aug 17, 2022 10:30 pm

Check session.cookie_domain in your PHP settings. Ideally it should be blank.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Wed Aug 17, 2022 10:36 pm

I can see that your response cookie PHPSESSID uses the wrong domain ".aol.org.my".

User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by yeh » Thu Aug 18, 2022 10:22 am

JNeuhoff wrote:
Wed Aug 17, 2022 10:36 pm
I can see that your response cookie PHPSESSID uses the wrong domain ".aol.org.my".
Hi, thanks for pointing that out, thats the old website url

In both my config + admin config file, I pointed the HTTP_SERVER to http://aol.spacebar.my/

what other places do I need to replace the url?

yeh
Newbie

Posts

Joined
Wed May 07, 2014 1:23 pm

Post by ADD Creative » Thu Aug 18, 2022 4:05 pm

ADD Creative wrote:
Wed Aug 17, 2022 10:30 pm
Check session.cookie_domain in your PHP settings. Ideally it should be blank.
Did you check this?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by yeh » Fri Aug 19, 2022 10:55 am

ADD Creative wrote:
Thu Aug 18, 2022 4:05 pm
ADD Creative wrote:
Wed Aug 17, 2022 10:30 pm
Check session.cookie_domain in your PHP settings. Ideally it should be blank.
Did you check this?
it is blank

yeh
Newbie

Posts

Joined
Wed May 07, 2014 1:23 pm

Post by ADD Creative » Fri Aug 19, 2022 4:45 pm

Have you have double checked it by using phpinfo()? If so then maybe it's a issue with your hosting/Cloudflare. Otherwise it could be being set by an extension or modification. You would need to work out where the domain for the PHPSESSID cookie is being set. You could try disabling things one by one until you find the cause.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by dawnsplacesales » Mon Aug 22, 2022 1:36 am

I am having the same issue. Login keeps redirecting to the login page, no error message. settings the same as above.


Posts

Joined
Sun Jul 10, 2022 3:31 am

Post by yeh » Mon Aug 22, 2022 11:44 am

ADD Creative wrote:
Fri Aug 19, 2022 4:45 pm
Have you have double checked it by using phpinfo()? If so then maybe it's a issue with your hosting/Cloudflare. Otherwise it could be being set by an extension or modification. You would need to work out where the domain for the PHPSESSID cookie is being set. You could try disabling things one by one until you find the cause.
https://prnt.sc/P-WznKOeYLZa

how do I change the master value?

yeh
Newbie

Posts

Joined
Wed May 07, 2014 1:23 pm

Post by ADD Creative » Mon Aug 22, 2022 3:54 pm

That depends on your hosting. Could be set it in php.ini, user.ini, htaccess or in you hosting control panel. Probably best to ask your host.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: Amazon [Bot] and 61 guests