2008-06-29, 12:03 PM
Pages: 1 2
2008-06-29, 12:14 PM
(2008-06-29, 12:03 PM)MrDoom Wrote: [ -> ]Hmm, I'm never sure what to do with quotes in SQL queries. Try this:Entered! Now what?
UPDATE `mybb_usergroups` SET `cancp` = 'yes' WHERE `gid` = '4'
2008-06-29, 12:38 PM
If it ran without an error, and the problem was what I thought the problem was. You should now have access to the AdminCP again. If you haven't; either the problem lies somewhere else, or my query was wrong.
To check if you have access to the AdminCP, you can run this query the same as before:
To check if you have access to the AdminCP, you can run this query the same as before:
SELECT title, cancp FROM `mybb_usergroups` WHERE gid =4
It should return:title cancp
Administrators yes
2008-06-30, 05:28 AM
(2008-06-29, 12:38 PM)MrDoom Wrote: [ -> ]If it ran without an error, and the problem was what I thought the problem was. You should now have access to the AdminCP again. If you haven't; either the problem lies somewhere else, or my query was wrong.Old website deleted. New website created.
To check if you have access to the AdminCP, you can run this query the same as before:
It should return:SELECT title, cancp FROM `mybb_usergroups` WHERE gid =4
title cancp Administrators yes
Pages: 1 2