MyBB Community Forums
Need to access admin - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Need to access admin (/thread-159058.html)

Pages: 1 2 3 4 5


RE: Need to access admin - Destroy666 - 2014-09-11

Then you definitely don't run 1.8, moved to 1.6 support. You need to follow the phpMyAdmin query instructions.


RE: Need to access admin - raymel65 - 2014-09-12

(2014-09-11, 10:42 PM)Destroy666 Wrote: Then you definitely don't run 1.8, moved to 1.6 support. You need to follow the phpMyAdmin query instructions.

Where do you want me to go?  

Question, can I find Bill's username and password and use that for now? His user id's are 1 and 2.


RE: Need to access admin - nth - 2014-09-12

Nope, if you can't access the admin panel you will need to run the SQL queries provided previously.

Go to cPanel -> PHPMyAdmin -> Select the database -> "SQL" tab -> paste the following:
UPDATE `mybb_users` SET `usergroup` = '4' WHERE `uid` = '776' 



RE: Need to access admin - .m. - 2014-09-12

^ the problem here is we do not know correct database used for that forum.
base folder for the forum is also unknown. it looks like forum folder is used.

hence suggestion is to navigate to public_html/forum/inc and find config.php file
and from it get the database name. select correct database at phpMyAdmin & run SQL


RE: Need to access admin - raymel65 - 2014-09-12

(2014-09-12, 01:03 PM).m. Wrote: ^ the problem here is we do not know correct database used for that forum.
base folder for the forum is also unknown. it looks like forum folder is used.

hence suggestion is to navigate to public_html/forum/inc and find config.php file
and from it get the database name. select correct database at phpMyAdmin & run SQL

Screen 1 Main CP panel  2. myPHP panel Where do we start? Database or SQL?


RE: Need to access admin - .m. - 2014-09-12

1. from the first screen, go to file manager (click on link at left column menu)
2. expand public_html by clicking +
3. click on forum under public_html
4. expand forum by clicking +
5. click on inc under forum
6. on right side, there should be config.php - click on it - it gets selected
7. click on Edit at the top
8. config.php file opens
9. find the database name by looking at $config['database']['database'] = 'database name';
10. take a note of database name and close config.php file

11. from the second screen, click on databases at the top
12. click on forum's database name
13. forum's database should load
14. click on SQL at the top
15. enter suggested SQL query
16. result should say one row affected

then you should be able to log in to forum's admin panel


RE: Need to access admin - raymel65 - 2014-09-12

(2014-09-12, 03:23 PM).m. Wrote: 1. from the first screen, go to file manager (click on link at left column menu)
2. expand public_html by clicking +
3. click on forum under public_html
4. expand forum by clicking +
5. click on inc under forum
6. on right side, there should be config.php - click on it - it gets selected
7. click on Edit at the top
8. config.php file opens
9. find the database name by looking at $config['database']['database'] = 'database name';
10. take a note of database name and close config.php file

11. from the second screen, click on databases at the top
12. click on forum's database name
13. forum's database should load
14. click on SQL at the top
15. enter suggested SQL query
16. result should say one row affected

then you should be able to log in to forum's admin panel

That did it. The forum header now has the admin link and I can access from the outside. Outstanding! THank you all for helping me get through this. I learned a lot from this project.


RE: Need to access admin - nth - 2014-09-12

You're welcome.