Page 1 of 2

[SOLVED] - Can't login to admin panel

Posted: Sun Jul 30, 2017 4:42 pm
by invisibleads
I installed OpenCart 3.0.2.0 but i can't login to admin panel. I get redirected again to the login page and there is a user token as a query parameter in the URL. But can't access it. please help

Re: Can't login to admin panel

Posted: Wed Aug 09, 2017 2:37 am
by boiler
I had the same problem with OC 3.0.2.0
Can anyone help ?

Re: Can't login to admin panel

Posted: Wed Aug 09, 2017 6:55 pm
by boiler
nvm found the solution from this post viewtopic.php?p=680870#p680870

Re: Can't login to admin panel

Posted: Fri Dec 01, 2017 12:44 am
by basix101
Had same Admin Login problem and solved it by:

Changed the login name from an email address to a simple name with no special characters, and did the same with the password, and it worked!

HISTORY: Using Softaculous I unistalled OpenCart and reinstalled it again but changed the admin login to a simple name with no special characters, and the same with the password.

Worked like a charm with no error and no login problems!

Re: Can't login to admin panel

Posted: Fri Dec 01, 2017 2:20 am
by IP_CAM
Well, an OC Admin Section does not use eMail Addresses to log in, but the Admin
Name, declared during the installation Process, and the matching Password. ::)
And this should be one word only, by Nature of Things!
Ernie
---
Image

Re: Can't login to admin panel

Posted: Tue Sep 11, 2018 9:17 am
by GaryJames
I have to thank you for this post. I spent all night working on a new website for my client. I was so tired yesterday I logged out but then wanted to do one more thing. I logged back in but couldn't get in. I just installed a new mod for a newsletter and thought some how my database got corrupted. I kept changing the password and wouldn't work. I searched opencart and found this thread. I felt so dumb but relieved to go to sleep. I was using my email to login not a username.
IP_CAM wrote:
Fri Dec 01, 2017 2:20 am
Well, an OC Admin Section does not use eMail Addresses to log in, but the Admin
Name, declared during the installation Process, and the matching Password. ::)
And this should be one word only, by Nature of Things!
Ernie
---
Image

Re: Can't login to admin panel

Posted: Thu Sep 20, 2018 10:37 am
by cs987
boiler wrote:
Wed Aug 09, 2017 6:55 pm
nvm found the solution from this post viewtopic.php?p=680870#p680870
It didn't worked for me. I still get the same error.
basix101 wrote:
Fri Dec 01, 2017 12:44 am
Had same Admin Login problem and solved it by:

Changed the login name from an email address to a simple name with no special characters, and did the same with the password, and it worked!

HISTORY: Using Softaculous I unistalled OpenCart and reinstalled it again but changed the admin login to a simple name with no special characters, and the same with the password.

Worked like a charm with no error and no login problems!
Didn't worked also. Same error.

Re: Can't login to admin panel

Posted: Fri Sep 21, 2018 1:43 am
by bartokage
Hi
I cant find my admin login page anymore! when i go to domain/admin i get domain/install/index.php instead

any hints? that happened after i just used filezilla to replace the admin, catalogue, image, system folders with the ones I got from themeforest

thanks!

Re: Can't login to admin panel

Posted: Wed Apr 22, 2020 2:27 am
by Shood
I installed Opencart v3.0.3.2 and I got the same problem and resolved after a lot of time on Google search
When I saw @IP_CAM reply I changed my password to a simple word and it worked, but I cannot use a simple password, so I tried to make it more complex by adding on symbol each time.
Finally I discovered that using > or < symbols caused the error, now my password contains small, upper, digits and symbols $#@ and worked fine

Re: Can't login to admin panel

Posted: Sat Jul 18, 2020 8:15 pm
by davidcropley
bartokage wrote:
Fri Sep 21, 2018 1:43 am
Hi
I cant find my admin login page anymore! when i go to domain/admin i get domain/install/index.php instead

any hints? that happened after i just used filezilla to replace the admin, catalogue, image, system folders with the ones I got from themeforest

thanks!
You need to remove (delete) your installation directory if you've not done this yet (/install). This increases your site security alot too!

Re: [SOLVED] - Can't login to admin panel

Posted: Tue Sep 22, 2020 2:47 pm
by masterweb1
hi,
I am facing an issue with my opencart, after migration of my website my website admin login is not working.
everything is moved successfully, but what i try to login to my admin its not getting login nor showing any error.

I tried fixing by seeing opencart forum, but even after trying that it is not working so I have reverted back to the same.

can any one please help in fixing this issue?

Re: [SOLVED] - Can't login to admin panel

Posted: Sun Jan 24, 2021 5:48 am
by Elxan
I installed OpenCart 3.0.2.0 but i can't login to admin panel. I get redirected again to the login page and there is a user token as a query parameter in the URL. But can't access it. please help

Re: [SOLVED] - Can't login to admin panel

Posted: Sun Feb 14, 2021 4:00 pm
by Pablosc
any news on this issue, admin login works great for a couple of minutes and then nothing
installed 3.0.3.7

Re: [SOLVED] - Can't login to admin panel

Posted: Thu Oct 14, 2021 2:22 am
by bluebrad
im having the same problem
but its after i started making changes after a fresh install
updated just the name to the user and bam now i cant login
it did it again with a fresh install and the same problem
no errors or logs. just will not log in

Opencart 3.0.3.8
also if i update the domain it dues the same think
so any changes couses me to loose my login access

Re: [SOLVED] - Can't login to admin panel

Posted: Thu Oct 14, 2021 4:16 am
by straightlight
bluebrad wrote:
Thu Oct 14, 2021 2:22 am
im having the same problem
but its after i started making changes after a fresh install
updated just the name to the user and bam now i cant login
it did it again with a fresh install and the same problem
no errors or logs. just will not log in

Opencart 3.0.3.8
also if i update the domain it dues the same think
so any changes couses me to loose my login access
.htaccess, config.php and / or admin/config.php configuration issues.

Double post: viewtopic.php?f=199&t=186163&start=20#p830393

Re: [SOLVED] - Can't login to admin panel

Posted: Sat Oct 16, 2021 2:30 am
by bluebrad
so it was not the configuration at all it was the time zone!
i removed the time zone from the SQL _Settings>config_timezone>"Made it blank"
BAM im now able to log in

Re: [SOLVED] - Can't login to admin panel

Posted: Wed Nov 10, 2021 9:08 am
by wickedstangs
bluebrad wrote:
Sat Oct 16, 2021 2:30 am
so it was not the configuration at all it was the time zone!
i removed the time zone from the SQL _Settings>config_timezone>"Made it blank"
BAM im now able to log in
Where is this located?

Re: [SOLVED] - Can't login to admin panel

Posted: Fri Feb 25, 2022 10:02 am
by bekasu
Bless you for posting this.
I just spent hours today trying to figure out why I could not log back into admin.

Even posted a request for help and its still waiting for the moderator to decide to let it be posted.

Meanwhile, I continued down the road of htaccess issues, subdomain setup issues, config or admin/config issues. No changes to any of those files or setups made any difference. I could not log back in.

But
I saw your post, cracked open the setting table and looked for the timezone variable... emptied it out, saved the table, and now I can log in.
:yahoo: :yahoo:

Re: [SOLVED] - Can't login to admin panel

Posted: Sat Mar 26, 2022 6:28 am
by ralf_j
bluebrad wrote:
Sat Oct 16, 2021 2:30 am
so it was not the configuration at all it was the time zone!
i removed the time zone from the SQL _Settings>config_timezone>"Made it blank"
BAM im now able to log in
That was it for me as well! Thank you!
I would guess that only people that have their servers in different timezones experience this problem? My server is in the UK, and I'm in Eastern (US) Time

BTW, if you need to find it, go to oc_setting in your database, and scroll way down. Mine was at line/setting id 222 ... so maybe show 200 rows at a time and use ctrl-F to find config_timezone

Re: [SOLVED] - Can't login to admin panel

Posted: Mon Feb 26, 2024 5:25 am
by belleson
-------please excuse the rant-------

I spent the last few days upgrading a 2.2.0.0 site. First I installed 4.0.2.1, it had a problem in admin where it would not show orders. I found a message where it was fixed in a later version so I updated to 4.0.2.3. Everything seemed to work except after payment selection it showed a server error where the "pay" submit button should be.
I decided to heed some forum warnings that 4.x is not ready for production use. Cleared out all the OC folders, storage, database and installed 3.0.3.9. The site came up and I ported data from 2.2.0.0. Set up the store in admin, then I couldn't log in again. After two hours I finally found this thread, deleted the time zone and voila! the admin login worked again.

--------end of rant--------
Bottom line: THANK YOU @bluebrad

If anyone wants SQL data transfer scripts, I posted two here:
https://github.com/Belleson/opencart