MyBB Community Forums

Full Version: Where can I change active theme in DB?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I changed admin theme and now I can't log into the admin panel. I just get: 

failed to open stream: Permission denied - Line: 683 - File: admin/index.php PHP 5.4.16 (Linux)

Where about in the database can I change the theme back to default?
database table => adminoptions , field => cpstyle , mybb stock theme => default

if your forum has a number of administrators then
you have to change cpstyle field value related to your admin account
(2018-01-31, 12:37 PM).m. Wrote: [ -> ]database table => adminoptions , field => cpstyle , mybb stock theme => default

if your forum has a number of administrators then
you have to change cpstyle field value related to your admin account

Thank you so much!

Is it possible to change the front end theme and not just the admin panel one?
^ if you have to change front end theme through database then
users table of the database contains style field. its value is theme id (as a number)
(in general, MyBB Stock theme's ID is 1)

themes table in the database contains theme name & theme ID