I run in error while trying send email to member. Screenshot attached.
Fixed by query:
ALTER TABLE [icode]elkarte[/icode].[icode]elkarte_members[/icode] ADD COLUMN [icode]ignore_list[/icode] VARCHAR(255) NOT NULL COLLATE utf8_general_ci;
EDIT:
Attention! Dont run this query, its useless. Here is the
fix (http://www.elkarte.net/index.php?topic=774.msg5559#msg5559).
Regards
NetFlag
Thanks for the report (and fix) looks like we missed a column in the install file :'(
I'd be tempted to say we need a test to check for existing tables and columns, but that wouldn't solve the issue because we'd rely on the fact the test has been updated.
This happen when a member is added to the ignore list, right?
BTW it's my fault... O:-)
In fact, now, I'm not sure what I wanted to do.
I added that piece of code when changing the "do not receive PM from people in my ignore list", to the "do not allow people in my ignore list to contact me" (i.e. not even emails).
So, for the moment, the best fix is to change Members.subs.php from:
SELECT receive_from, buddy_list, ignore_list
to:
SELECT receive_from, buddy_list, pm_ignore_list
create the column is useless because is not used anywhere else.
I think the original idea was to rename the pm_ignore_list column to ignore_list, in order to make it consistent with everything else.
And probably is the best thing to do...
/me goes do it.
Scratch that, I'm going to fix just Members.subs.php, easier and doesn't require a full change in the database.