Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

MailArc: create_disabled_user bug

Quote Reply
MailArc: create_disabled_user bug
I just got a bounce from a message sent to one of my maillists that uses MailArc to archive messages to GForum. The error in the bounce was:

Code:
Warning: Use of "localtime" without parens is ambiguous at
.../gforum/admin/Plugins/GForum/MailArc.pm line 540.
Plugins::GForum::MailArc (13842):
Error: Column Validation Code cannot be left blank. at
.../gforum/admin/Plugins/GForum/MailArc.pm line 158.

I'm not sure about the localtime error but it looks like MailArc has not been completely updated to work with the latest version of GForum. I believe the column user_val_code is relatively new and is required and MailArc does not try to set it when it creates a new user? So you need something like the following in MailArc around line 155:

Code:
$fields->{user_val_code} = ' ';

Let me know if I've got this right.

cheers,
Michael Coyne
seaturtle.org
Quote Reply
Re: [mcoyne] MailArc: create_disabled_user bug In reply to
I just downloaded this plugin and it is about 490 lines long and a search for localtime produces no matches.
Quote Reply
Re: [Paul] MailArc: create_disabled_user bug In reply to
Dunno, just checked in mine and it is there. I have the version of MailArc attached here http://www.gossamer-threads.com/...i?post=239428#239428. It has some bug fixes. Not sure if that is the same one they have in the plugin download area.
Michael Coyne
seaturtle.org