Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Flagging crash the site
jasilva
New
I finally set up my site, in CentOS 7 with apache 2.4.6, when I enable the Flaggin plugin the admin site crash
Something has gone wrong.
We've run into a problem and are unable to handle this request right now.
Please check back in a little while.
In fact when I want enter to discussion get the same error, for example to vanilla/index.php?p=/discussion/4/hey#latest
How I can disable?
0
Comments
Hi, welcome to the community!
You can use any file manager (for example File Zilla ) locate the folder conf
Download file conf.php !!! not config-defaults , and open it in the editor (for example NotePad ) locate the following line:
$Configuration['EnabledPlugins']['Flagging'] = true;
change the true to false
Save your changes and upload the file conf.php again to the site.
@kopna
Or you could just disable the plugin via the Dashboard...
Yes you're right. But i also encountered a similar situation and nothad unable even to enter the dashboard. Helped me the option proposed by disabling the plugin file in conf.php
Thank you
@jasilva You could also try to solve the problem
"Something has gone wrong." is just a user friendly message, but it is not the real error. You can get that by adding
$Configuration['Debug'] = TRUE;
to your/conf/config.php
. Then tell us what you see and we might be able to find a solution.You should always enable/disable plugins in the dashboard!
@kopna Your advice is correct, but again: you should always enable/disable plugins in the dashboard!
Each plugin might have a method
setup()
and/or a functiononDisable()
. Those methods will only be called if the plugin is enabled/disabled by the plugin manager. A plugin might not work after enabling or the forum might stop working after disabling it manually in the config, because critical code hasn't been executed.If you know what you are doing on a code level, you can certainly change that on the fly in the config (if it is really more convenient for you, and I must admit I do that, too, during development), but I think that this should not be considered as a hint for Vanilla beginners.
@kopna @R_J @whu606
I change the
conifg.php
to$Configuration['EnabledPlugins']['Flagging'] = false;
With these I recovery the access to dashboard
p=/settings/plugins/all
but not to discussionAfter add
$Configuration['Debug'] = TRUE;
I see this error:Additional information for support personnel:
you need to disable
only_full_group_by
in myslq if you want to use it.grep is your friend.