Page 1 of 1

Admin Login Problem | Cant login to opencart admin panel

Posted: Thu May 14, 2015 1:57 am
by shubhamjha95
i am not able to log in to my admin panel. it dont even showing errors like "Wrong username or password" have a look http://www.ratlamkirana.tk/admin

put anything in username or password you wont get any errors.
please help me guys

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sat May 16, 2015 6:52 am
by sunsys
shubhamjha95 wrote:i am not able to log in to my admin panel. it dont even showing errors like "Wrong username or password" have a look http://www.ratlamkirana.tk/admin

put anything in username or password you wont get any errors.
please help me guys
The admin page is not displayed so where to put username and password ?
Give oc version and how have you installed, using oc zip file via ftp or via cpanel installation ?

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sat May 16, 2015 6:16 pm
by shubhamjha95
problem solved!!!

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sat May 16, 2015 7:59 pm
by sunsys
shubhamjha95 wrote:problem solved!!!
Post here the steps taken to solve the issue at hand and also prefix the title with {solved} so that it other readers may benefit from it.

Thank You.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sun May 17, 2015 2:14 am
by shubhamjha95
just removed redirection of www. to non www.
in the config file.
maybe there is a bug in opencart, when we open our site with www. it will not work properly but when we open with www. it will work correctly.
you can check this bug here:- www.ratlamkirana.com
it will not work here:- ratlamkirana.com
i dont know what is the problem :-\

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sun May 17, 2015 4:07 am
by sunsys
Please check your spelling using the spell checker in ckeditor, there are lots of spelling mistakes like "Bavarages" and "Shaks".

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue May 19, 2015 9:23 am
by sunsys
sunsys wrote:Please check your spelling using the spell checker in ckeditor, there are lots of spelling mistakes like "Bavarages" and "Shaks".
Again there is spelling mistake in your header logo, the montly spelling is wrong and you have not corrected the earlier one that I told you, you have moved it to sub category without correcting the mistake, your sales and your reputation is at stake here, it reflects badly on your store.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Fri Jun 12, 2015 4:24 pm
by shubhamjha95
i changed my url to ratlamkirana.com
and i have corrected the spells and thank you so much

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue Mar 20, 2018 3:03 am
by ghodea6
Hello Team,

One of our client getting issue with admin area.We are hang on at login page even after enter the login details please let us know how can we fix it.We have install SSL for domain.
Check attach screen shot for your reference :-

http://prntscr.com/itfhw7

Your response will be highly appreciated.

Thanks.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue May 08, 2018 4:49 pm
by loroverde
ghodea6 wrote:
Tue Mar 20, 2018 3:03 am
Hello Team,

One of our client getting issue with admin area.We are hang on at login page even after enter the login details please let us know how can we fix it.We have install SSL for domain.
Check attach screen shot for your reference :-

http://prntscr.com/itfhw7

Your response will be highly appreciated.

Thanks.
Maybe it's too late. I was having the same issue and fixed it by changing the config.php file in the admin folder. I had recently changed my htaccess to rename automatically all my pages to www. The change to be done in that config.php file is just to include the www in your website address lines:

// HTTP
define('HTTP_SERVER', 'https://www.yoursite/admin/');
define('HTTP_CATALOG', 'https://www.yoursite.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com/admin/');
define('HTTPS_CATALOG', 'https://www.yoursite.com/');

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sat Jun 30, 2018 11:37 pm
by howardtbell
I was having the same problem on 3.0.1. I contacted my host for support and they fixed in two seconds. Said they went to ".htacess in public.html and renamed it." Hope that helps someone else.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Fri Nov 08, 2019 2:19 pm
by santanu2019
Admin Login Problem: Login successfully from the admin panel but it took a long time like 10 to 15 minutes, I want to check admin login code I couldn't find login code please help me
filename: ..\admin\controller\common\login.php
function name: protected function validate()

Code: Select all

if($this->user->login($this->request->post['username'], $this->request->post['password']))
couldn't find $this->user->login() function where is it ?

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Sat Oct 24, 2020 3:55 am
by trustgsm
same isssue but not fixed ???

shubhamjha95 wrote:
Sun May 17, 2015 2:14 am
just removed redirection of www. to non www.
in the config file.
maybe there is a bug in opencart, when we open our site with www. it will not work properly but when we open with www. it will work correctly.
you can check this bug here:- www.ratlamkirana.com
it will not work here:- ratlamkirana.com
i dont know what is the problem :-\

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Mon Oct 26, 2020 9:34 pm
by khnaz35
trustgsm wrote:
Sat Oct 24, 2020 3:55 am
same isssue but not fixed?
Explain your issue in details and post your oc version too.
A link to site can be usefull.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue Oct 27, 2020 10:41 pm
by trustgsm
http://trustgsm.com/admin/index.php?rou ... pS3dngwPaA

opencart admin login loading and out
khnaz35 wrote:
Mon Oct 26, 2020 9:34 pm
trustgsm wrote:
Sat Oct 24, 2020 3:55 am
same isssue but not fixed?
Explain your issue in details and post your oc version too.
A link to site can be usefull.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue Oct 27, 2020 10:56 pm
by trustgsm
opencart admin login loading and out
http://trustgsm.com/admin/index.php?rou ... XipzNP1161


reinstall new ver error also

Error Code(0): Error: Duplicate entry 'f05aca33365efdcd087d02eaba' for key 'PRIMARY'
Error No: 1062
ALTER TABLE `oc_session` ADD PRIMARY KEY(`session_id`) in /home/trustgsmmain/public_html/system/library/db/mysqli.php on line 40


khnaz35 wrote:
Mon Oct 26, 2020 9:34 pm
trustgsm wrote:
Sat Oct 24, 2020 3:55 am
same isssue but not fixed?
Explain your issue in details and post your oc version too.
A link to site can be usefull.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Tue Oct 27, 2020 11:17 pm
by khnaz35
trustgsm wrote:
Tue Oct 27, 2020 10:56 pm
Error Code(0): Error: Duplicate entry 'f05aca33365efdcd087d02eaba' for key 'PRIMARY'
Error No: 1062
ALTER TABLE `oc_session` ADD PRIMARY KEY(`session_id`) in /home/trustgsmmain/public_html/system/library/db/mysqli.php on line 40
Empty ocid_session table from PhpMyAdmin then try to login again.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Wed Oct 28, 2020 9:44 am
by trustgsm
oc_session ?

then ?

khnaz35 wrote:
Tue Oct 27, 2020 11:17 pm
trustgsm wrote:
Tue Oct 27, 2020 10:56 pm
Error Code(0): Error: Duplicate entry 'f05aca33365efdcd087d02eaba' for key 'PRIMARY'
Error No: 1062
ALTER TABLE `oc_session` ADD PRIMARY KEY(`session_id`) in /home/trustgsmmain/public_html/system/library/db/mysqli.php on line 40
Empty ocid_session table from PhpMyAdmin then try to login again.

Re: Admin Login Problem | Cant login to opencart admin panel

Posted: Wed Oct 28, 2020 10:17 am
by trustgsm
its work , but how fix permanent ? one time login after again same
khnaz35 wrote:
Tue Oct 27, 2020 11:17 pm
trustgsm wrote:
Tue Oct 27, 2020 10:56 pm
Error Code(0): Error: Duplicate entry 'f05aca33365efdcd087d02eaba' for key 'PRIMARY'
Error No: 1062
ALTER TABLE `oc_session` ADD PRIMARY KEY(`session_id`) in /home/trustgsmmain/public_html/system/library/db/mysqli.php on line 40
Empty ocid_session table from PhpMyAdmin then try to login again.