What version of WP? What plugin?
Regards
I have the same problem with WP2.0. I have made sure that the plugin is correctly installed.
Yesterday I had lots of problems with this, now in the morning i found that one plugin had the “deactivate”-button, but i cant deactivate it in the same way “maddeadde” cant activate her/his plugins.
I have WP 2.0 and I got the problem with all plugins
I had the same problem until I stumbled across this site:
http://blog.hypercubed.com/index.php/archives/2005/12/26/wordpress-20-fix/
I replaced the first 25 lines of code as he suggested and whamo, my plugins now activate. just be sure to grab that last line of code with the ending bracket }. I missed it the first time and it returned many more errors than what I originally had.
Thank You, Thank You, Thank You. Fixed my problem!!!
You can also just download this copy from the SVN which has the patch applied:
http://trac.wordpress.org/file/trunk/wp-admin/plugins.php?rev=3365&format=raw
The fix suggested by dieterich worked for me.
FYI i’m using Windows Server 2003 with Plesk 7.5 for Windows.
But now I’m about to load the new plugins.php since I just noticed it at the bottom. Thanks for the help guys, love the support! Cheers.
The solutions in the above posts by dieterich and Viper007Bond worked for me as well. (I’m running WordPress 2.0 under IIS). Thanks very much.
I have a question, we did the fix but still plug ins arent working.
1. should this be done after uninstalling the plugins or does it matter?
2. once the patch is run should i uninstall and reinstall the plug ins?
I’ve tried the solutions in this thread as well as adding the lines
set_magic_quotes_runtime('0');
ini_set("magic_quotes_gpc","0");
to wp-config.php and I still have plugins that won’t activate or deactivate. I’ve deleted many of them and still no luck. Anyone else find a different solution?