MyBB Community Forums

Full Version: I need help!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I installed this plugin - https://community.mybb.com/mods.php?acti...ad&pid=456

And when I enable it, I'm getting this error: [Image: qDJxjBP.png]

and when disable, everything is fine.

Do you know how to fix it? Thanks!!
Please enable error logging on ACP >> Home » Board Settings » Server and Optimization Options and install the plugin again.
[attachment=45548]
You need to get a verbose error.  See this thread:

https://community.mybb.com/thread-233457.html

Post it then maybe someone can help.  With an old and outdated plugin, you're bound to hit errors.  Expect it. Toungue

Edit:  Looking around this forum, found a similar thread / post.  No idea if it'll help, but here it is:

https://community.mybb.com/thread-223174...pid1329455

Judging by this thread, not sure this old code is worth it. Wink
I'm getting :
SQL Error:
1364 - Field 'default_tab' doesn't have a default value
Which tab plugin are you using?
(2022-11-13, 10:40 PM)Taylor M Wrote: [ -> ]Which tab plugin are you using?

https://community.mybb.com/mods.php?acti...ad&pid=456
You can try running this query in PHPMyAdmin
ALTER TABLE mybb_users MODIFY default_tab int NOT NULL DEFAULT '0'

As referenced here though I've modified it to use the issue you're having with default_tab.


OR


You can deactivate AND uninstall the plugin and alter the file (probably a better route to go).

After uninstall go to the file (inc > plugins > mytabs.php) and find line 115:
$db->add_column('users', 'default_tab', 'TEXT NOT NULL DEFAULT 0');

Change it to this:
$db->add_column("users", "default_tab", "TEXT NOT NULL DEFAULT '0'");

Save and then go back to your Admin CP and reinstall/activate the plugin.
Depending on the mysql/mariadb version, TEXT column cannot have a default value