i had my root admin send me a password reset to test the email function which has never worked to begin with. once i logged in after resetting the password, the root admin access has vanished. I can not access anything, not one single thing as the root admin. any ideas?
i created a second admin and the same thing, no access. all the other admins have access just fine. i went to another computer thinking it was a cookie or cache thing. no luck, the other computer showed the root admin and my second admin having no access to anything.
what gives, i cant get anymore frustrated than i am with cs-cart.
Could it be possible you blocked yourself out by IP ?
If all fails go to the PHPMyAdmin and edit your account. If not sure on proper values, install a demo and look up admin user. Password MD5 hash can be created with PHP or many on-line calculators.
how can i check for ip blocking? I dont know how thats possible, was nowhere near anything related to ip blocking if its built into cscart. i was on a internet connection with several other computers and their admin logins were fine.
i can log in so i dont really see the need for generating another password right? i just dont have access to anything once im logged in. its as if all my privileges, everything gone, the only thing i can do is look at the list of orders. i cant do anything.
im assuming if my ip was blocked i couldnt get in at all, but thats not the case. i can log in, just dont have privileges to anything. and it seems, if i remember right, there is currently no user group tab for the administrators. thats seems gone, nowhere to set which user group is for which admin. the other admins work fine, they have their privileges.
Interesting…a cart without a root admin.
I suppose the first thing I would do is clear the cache. If that doesn’t work then I would probably head to phpMyadmin and see if I couldn’t figure out what the settings should be in either users and/or privilages tables.
i cleared cache no result. ya it threw me for a loop. it has the root admin listed everything is normal as it was except i dont see the tab for changing user group for any admins, and the root and the other admin i created dont have privileges. all other admins are fine, but i cant change their groups either. the root admin has no privileges but it does still show as the root admin, meaning i cant delete it etc.
i did browse around phpadmin but didnt see anything odd. all looked normal.
Get your info from a back up, look up what tables hold the data and selectevely overwrite your account with data from some backup, it can be very old one…
Backup the cscart_usergroup_links table the run the following query:
DELETE FROM cscart_usergroup_links WHERE user_id=1 LIMIT 1;
This will eliminate any privilege restrictions for the root admin account.
Bob
[quote name=‘jobosales’]Backup the cscart_usergroup_links table the run the following query:
DELETE FROM cscart_usergroup_links WHERE user_id=1 LIMIT 1;
This will eliminate any privilege restrictions for the root admin account.
Bob[/QUOTE]
I’ve had to do this twice this week due to the root admin having complete loss of privileges. It works, but does anyone know why this is now an issue after a year of smooth running? What creates this entry in the db?
Go to the usergroups tab on the user detail page for your primary admin. Make sure the user is NOT assigned to any groups and click Save.
If it happens again, then someone is adding the user to the Administrators group. Check with the gremlins that are crawling around your site.