Christine ™ aka Big Pink Cookie To Make a Short Story Long…

Posted
by Christine
29 November 2004 @ 9pm

Tagged
Know the Code

Critical Bug in MT-Blacklist…

Just doing my part to help spread the word about this MT-Blacklist v2.x bug - don’t delete any weblogs you have if you are running this version of MT-Blacklist. When you delete one weblog, it will delete a second weblog. As long as you don’t delete any weblogs, there shouldn’t be any problems. Just keep them up and running until there is a fix issued.


7 Comments

Posted by
Michael
29 November 2004 @ 10pm

Two things:
1: before you do any major structural changes to your blog, make a backup!
2: if you must delete a blog, I was able to remove the blacklist files from the plugins folder, delete the blogs, and then restore the plugin. YMMV, see thing #1.


Posted by
dennis
29 November 2004 @ 11pm

There is some speculation that the problem only occurs when groups are used within Blacklist. I’ve created and deleted blogs to test (and did so during the beta testing) without problems, so I’m leaning toward that theory.

Having said that, Michael is right — backing up before major changes is always the best idea.


Posted by
Glimpse of a Grrl
29 November 2004 @ 11pm

MT-Blacklist bug
Found at Christine’s… Critical bug: Don’t delete weblogs! It has recently been brought to my attention that there seems to be a bug in MT-Blacklist v2.x that will, upon weblog deletion, delete a second weblog….


Posted by
Michael
30 November 2004 @ 12pm

Dennis,

This happened to me and we had never implemented groups. It looks to me like an off-by-one error.


Posted by
Michael
30 November 2004 @ 12pm

And technically, it doesn’t delete the second blog, just the entries, comments, templates, and user permissions.


Posted by
Christine
30 November 2004 @ 4pm

Which, you know … is pretty much the core of the blog. ;) Ugh. Not a fun error to deal with, obviously.


Posted by
Michael
30 November 2004 @ 6pm

Well my point (and I did have one) was just because there’s an entry in mt-blog for your blog, it doesn’t mean it’s there. blog != contents of blog.

The backup was the life saver. “Crapola, what happened? OK, shutdown mysql, untar db files, start up mysql, try again, crapola mark 2, restore again, go search MT Forums…”


Leave a Comment

6 Months… Lockergnome’s RSS & Atom Tips…