Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
 
Thread Tools Display Modes
Old 04-10-2009, 04:34 PM   #1
oates151
Guest
 
Posts: n/a
Default accidently promoted all users to writer...including myself

I accidently promoted all users to writers, including the admin account. How can I fix this?


THANKS!
-Pat
  Reply With Quote
Old 04-10-2009, 06:57 PM   #2
casca
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by oates151 View Post
I accidently promoted all users to writers, including the admin account. How can I fix this?


THANKS!
-Pat
lol phpmyadmin ftw
  Reply With Quote
Old 04-11-2009, 08:54 PM   #3
oates151
Guest
 
Posts: n/a
Default

Where though? Like where is all the user info kept and how would I go about editing it specifically?
  Reply With Quote
Old 04-12-2009, 02:08 AM   #4
casca
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by oates151 View Post
Where though? Like where is all the user info kept and how would I go about editing it specifically?
If you don't know how, I wouldn't make any changes to the database directly using phpmyadmin then. You can hose your database and wreck your install I honestly couldn't tell you a fast way to fix your problem, other than going in by hand and tagging groups of people and changing them through the admin panel.

Last edited by casca; 04-12-2009 at 07:00 AM.
  Reply With Quote
Old 04-13-2009, 02:00 AM   #5
oates151
Guest
 
Posts: n/a
Default

:P All I want to do is change one user back to admin - the rest can stay writers, that was my original intent.
  Reply With Quote
Old 04-14-2009, 12:41 PM   #6
casca
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by oates151 View Post
:P All I want to do is change one user back to admin - the rest can stay writers, that was my original intent.
***Backup your database FIRST**** ****DO THIS AT YOUR OWN RISK****
*** I AM NOT RESPONSIBLE*** *** I HAVE NO IDEA WHAT I AM DOING ***
*** PROCEED AT YOUR OWN RISK AND PERIL!!****
Ok now that we have the "legal" portion out of the way.

install phpmyadmin (in ubuntu it's easy it's like sudo apt-get install phpmyadmin) then you go to the ip address of that box for instance: http://192.168.1.5/phpmyadmin/ in a web browser. Login at root and the password (whatever you made the root password for) if you are on a hosted solution somewhere they will probably need to install phpmyadmin or may already have it installed (it's very common). Login with the info they gave you.



go into phpmyadmin and and browse the user database (called users) and find the user ID of your admin account.

once you get that number

Now go to the Group table.
browse it and you will see all your levels of privileges. Find the one that says Admin (unless you renamed it something else, then find what you renamed it to) Next to it there is an ID number. On mine it is 2.

Go into the GroupUser table and browse that.
Find the user_id that matches your admin's user_id. Click on the pencil to EDIT that GroupUser with that user_id.

Now change the GROUP_ID field from whatever number it is to the ID number that was in the Group Table (mine was 2).

then click go.

restart mysql and apache2 (If you are running linux) just to make sure nothing is cached (I don't think this is necessary but I'm throwing it in there for shits and giggles).

Hope that helps you out bud.

P.S. I've never done this before, this is just what I would do if I had access to the database and wanted to hack admin priveleges. I have no idea if it will work. But I'm about 90% sure it will. Please msg back and tell me how it worked.

Last edited by casca; 04-14-2009 at 12:45 PM.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 06:40 PM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.