wisam-mo
Member
Posted 15 years ago #
Hello there,
I have added firestats plugin to my wordpress mu site...
and I activated it sitewide...
and when i try to deactivate it from the plugin management page...
it says that the plugin was disactivated... but in fact it's still active...
I think there is duplication in some record in db...
more information:
in db table 'wp_sitemeta':
meta_key: deactivated_sitewide_plugins
meta_value: a:2:{i:0;b:0;s:33:"firestats/firestats-wordpress.p...
in db table 'wp_1_options' (for example):
deactivated_sitewide_plugins a:2:{i:0;b:0;s:33:"firestats/firestats-wordpress.p...
and another options for firestats...
I don't know what is the problem.
help me please!
wisam-mo
Member
Posted 15 years ago #
I forget to tell you that when I activated the plugin sitewide I had a problem with that plugin:
sscanf() has been disabled for security reasons in
may be it cases the main problem of duplication in db!?
I am still waiting for your help and advises...
well if sscanf is disabled on the server its not going to help
wisam-mo
Member
Posted 15 years ago #
note that sscanf not is the main problem...
I solved that problem by writing a equivalent code for each sscanf statement...
but I still can't disactivated it!?
the main question how to reinstall the plugin if I can't disactivate it?
Remove it from the plugins folder. It will get deactivated.
James Callaway
Member
Posted 15 years ago #
I had the same problem with NextGen Gallery... deleted it from the plugins folder. When I re-loaded it.. back to the same problem.
Make sure you delete the plugin tables form the db too.
I had the same problem while writing my own plugins.
I found removing the plugin names from the "wpmu_sitewide_plugins" array, stored in the sitemeta database table solved the issue.
I can now activate and deactivate my plugins at will. :)