Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cant login to admin page Rate Topic   - - - - -

 
  • Maky
  • Advanced Member
  • Members
  • Join Date: 16-Nov 11
  • 71 posts

Posted 17 February 2013 - 05:18 PM #1

Hi guys,

Dont know what happend but login and pass that i use for admin page are no longe valid. Those details (login and pass) are now assigned to vendor login page. I cant access admin page.
Can anybody help?
Thanks

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 17 February 2013 - 05:36 PM #2

This thread should give you some answers.

Check the cscart_users database table for user_id = 1 and is_root = Y. User id = 1 should also have is_root = Y. Is the email address field your email address?
Hire StellarBytes for CS-Cart Design & Development Services

 
  • Maky
  • Advanced Member
  • Members
  • Join Date: 16-Nov 11
  • 71 posts

Posted 17 February 2013 - 05:42 PM #3

This thread should give you some answers.

Check the cscart_users database table for user_id = 1 and is_root = Y. User id = 1 should also have is_root = Y. Is the email address field your email address?


user id is 1, is root Y, status A, user type V, user login admin
I changed user type to A but no luck

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 17 February 2013 - 06:15 PM #4

Your admin user should be able to log in to the frontend with the same user credentials. Your problem is your admin user is no longer associated as an admin user.

The main admin user should be:

user_id = 1
status = A
user_type = A
user_login = admin
is_root = Y
email = your@emailaddress.com

If these are all true for your main admin user, then try clearing your web browser cache. If that still doesn't work, navigate to:
http://yourstore.com/youradmin.php?dispatch=auth.recover_password

Where 'yourstore.com' is your domain and 'youradmin.php' is your admin control panel login page and reset your password for 'your@emailaddress.com' which matches user_id = 1 and is_root = Y.
Hire StellarBytes for CS-Cart Design & Development Services

 
  • ahmedatnet
  • Advanced Member
  • Members
  • Join Date: 20-Dec 15
  • 66 posts

Posted 21 December 2015 - 03:42 PM #5

I created a vendor account and approved it. Now when I try to access my ALL VENDORS admin account, I am logged into new vendors admin page which I have created. How to get into ALL VENDORS admin account?

 

In database which table has ALL VENDORS admin access data?

 

Without ALL VENDORS access, I am not able to modify original website



 
  • ahmedatnet
  • Advanced Member
  • Members
  • Join Date: 20-Dec 15
  • 66 posts

Posted 21 December 2015 - 04:49 PM #6

Hi,

 

I have messed up admin account it seems. When I try to login to my admin panel (ALL VENDOR) I am getting logged into a vendor's account. So, I am not able to change the website.

 

Can someone please tell me if I can change some rows in the the backend database to recover my admin user back? I know the username of the admin account but if I use that username I get logged into vendors account.

 

I tried changing row as mentioned above but it logs me in as a vendor admin not as ALL VENDORS admin.

 

user_id = 1

status = A
user_type = A
user_login = admin
is_root = Y
email = your@emailaddress.com

 

Any help will be highly appreciated.



 
  • zadrug29
  • Newbie
  • Members
  • Join Date: 04-May 15
  • 1 posts

Posted 24 December 2015 - 07:52 PM #7

Hi,

 

I have messed up admin account it seems. When I try to login to my admin panel (ALL VENDOR) I am getting logged into a vendor's account. So, I am not able to change the website.

 

Can someone please tell me if I can change some rows in the the backend database to recover my admin user back? I know the username of the admin account but if I use that username I get logged into vendors account.

 

I tried changing row as mentioned above but it logs me in as a vendor admin not as ALL VENDORS admin.

 

user_id = 1

status = A
user_type = A
user_login = admin
is_root = Y
email = your@emailaddress.com

 

Any help will be highly appreciated.

He
Have you tried company_id set to "0"
because "0" is reserved for the main an administration and the rest (1, 2, 3, itc.) are assigned to vendors


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11392 posts

Posted 24 December 2015 - 08:12 PM #8

Your info looks correct.  I'm assuming you used the same email in the vendor account as your admin.

Suggest you clear the cache manually by removing the var/cache directory and all it's sub-directories/files.

Then clear all your cookies for your site name in your browser (or use a different browser to login).


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • ahmedatnet
  • Advanced Member
  • Members
  • Join Date: 20-Dec 15
  • 66 posts

Posted 25 December 2015 - 03:47 PM #9

I figured out that company_id=0 marks user as admin.

zadrug29@ is correct. :)



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11392 posts

Posted 28 December 2015 - 07:09 PM #10

It is dependent on the user_type.  A = site administrator, V = vendor adminstrator  If you had user_type=V and company_id=13 then that user would only have vendor admin privileges for company 13 and have no site admin privilege.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.