MyBB Community Forums

Full Version: Upgraded Plugin Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had a plugin made for me, and it got upgraded. I replaced all the files, but forgot to deactivate the old plugin first, now I get this error whenever I try to deactivate it now:
MySQLi error: 1051
Unknown table 'mybb_pkm'
Query: DROP TABLE `mybb_pkm`;

How can I completely remove the plugin? I tried deleting it from my FTP and reuploading it, I also tried downgrading to the older version, but it didn't work....


Help please!!!!!


Thanks,


BP
Open inc/plugins/pkm.php

Find [ deactivate section ]

	$db->query("DROP TABLE `".TABLE_PREFIX."pkm`;");
	$db->query("ALTER TABLE `".TABLE_PREFIX."users` DROP `pkm`;");

Replace by

/*
	$db->query("DROP TABLE `".TABLE_PREFIX."pkm`;");
	$db->query("ALTER TABLE `".TABLE_PREFIX."users` DROP `pkm`;");
*/

And i did told you, deactivate first ! =P
Yeah, I know, I forgot Sad. THanks, I'll try now
I still get the same error
blueparukia Wrote:I still get the same error

Its been placed in comment =/ Then remove those lines completely ...
OK, everything done perfectly. Thanks so much Lex. I still have a suggestion or 2 for the next upgrade, but I have to go to be now....


Here from you tomorrow
blueparukia Wrote:OK, everything done perfectly. Thanks so much Lex. I still have a suggestion or 2 for the next upgrade, but I have to go to be now....


Here from you tomorrow

Place them at my testforum if you don't mind =P