I am attempting to: Add a website FTP access user
Last setting group on the page is "Other user permissions"
Within this box I am seeing the following:
HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 1 Jan 2008 17:41:45 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Not an ARRAY reference at ../ui-lib.pl line 299.
==> miniserv.error <==
[01/Jan/2008:12:49:29 -0500] [192.168.1.4] /virtual-server/edit_user.cgi : Perl execution failed : Not an ARRAY reference at ../ui-lib.pl line 299.
==> miniserv.log <==
192.168.1.4 - alberta-aerial [01/Jan/2008:12:49:29 -0500] "GET /virtual-server/edit_user.cgi?new=1&web=1&dom=118239439120501 HTTP/1.1" 500 100
[root@server1a virtual-server]# locate ui-lib.pl
/usr/libexec/usermin/ui-lib.pl
/usr/libexec/webmin/ui-lib.pl
/usr/libexec/webmin/virtual-server/vui-lib.pl
[root@server1a webmin]# ls -al /usr/libexec/webmin/ui-lib.pl
-rw-r--r-- 1 root root 34581 Nov 7 17:23 /usr/libexec/webmin/ui-lib.pl
The function around line 299. I am up to date with the latest as of 1/1/08
# ui_select(name, value|&values, &options, [size], [multiple],
# [add-if-missing], [disabled?], [javascript])
# Returns HTML for a drop-down menu or multiple selection list
sub ui_select
{
return &theme_ui_select(@_) if (defined(&theme_ui_select));
local ($name, $value, $opts, $size, $multiple, $missing, $dis, $js) = @_;
local $rv;
$rv .= "\n";
local ($o, %opt, $s);
local %sel = ref($value) ? ( map { $_, 1 } @$value ) : ( $value, 1 );
foreach $o (@$opts) {
$o = [ $o ] if (!ref($o));
$rv .= "[0])."\"".
($sel{$o->[0]} ? " selected" : "").">".
($o->[1] || $o->[0])."\n";
$opt{$o->[0]}++;
}
foreach $s (keys %sel) {
if (!$opt{$s} && $missing) {
$rv .= "".($s eq "" ? " " : $s)."\n";
}
}
$rv .= "\n";
return $rv;
}
If I attempt to add a user via link "Add a user to this server." then it looks like things work fine. Also, the help information that was written up in the task I just wrote up, matches the fields for this link just fine (but not the other - dont have the task id handy yet)