UBB.Dev
Posted By: Splitfyre Registration Error - 08/10/2001 2:09 AM
When clicking on Register..

Unmatched right curly bracket at E:/futurelooks/web/cgi-bin/ubb_registration.cgi line 726, at end of line
syntax error at E:/futurelooks/web/cgi-bin/ubb_registration.cgi line 726, near "}"
Compilation failed in require at E:futurelookswebcgi-binultimatebb.cgi line 413.


Checked line 726 here it is.. can anyone suggest what I change?

if ($vars_registration{ModerateRegs} eq "ON") {
$ModWording = "$vars_wordlets{moderated_reg}";
}
do "$vars_config{NonCGIPath}/Templates/public_reg_confirm.pl";
}

} # end submit_reg (this is line 726!)

sub add_to_registration_mod_list {
local(*FILE);
# parameter:
# $_[0] : member number

Thoughts?
Posted By: Tech-Ni-Kal Re: Registration Error - 08/10/2001 3:06 AM
I don't know what the whole sub is but try and use this:

if ($vars_registration{ModerateRegs} eq "ON") {
$ModWording = "$vars_wordlets{moderated_reg}";

do "$vars_config{NonCGIPath}/Templates/public_reg_confirm.pl";
}
Posted By: Splitfyre Re: Registration Error - 08/10/2001 3:53 AM
Here is a bigger segment with your change..still no go:

# on screen confirmation

my $days = $in{DaysPrune};
foreach (qw(1 2 5 10 20 30 45 60 75 100 365 1000)){
$select_list{$_}='';
}
$select_list{$days} = 'SELECTED';

if ($in{kid} eq 'yes') {
$COPPAInstructions = &ConvertReturns($vars_registration{COPPAInstructions});
do "$vars_config{NonCGIPath}/Templates/public_reg_confirm_kid.pl";
} else {
if ($vars_registration{ModerateRegs} eq "ON") {
$ModWording = "$vars_wordlets{moderated_reg}";
do "$vars_config{NonCGIPath}/Templates/public_reg_confirm.pl";
}

}# end submit_reg

}sub add_to_registration_mod_list <--problem line
local(*FILE);
# parameter:
# $_[0] : member number
open (FILE, ">>$vars_config{MembersPath}/moderation_q.cgi");
&lock;
Posted By: Tech-Ni-Kal Re: Registration Error - 08/10/2001 4:00 AM
Delete the } in front of that sub...
Posted By: Tech-Ni-Kal Re: Registration Error - 08/10/2001 4:24 AM
Actually forget that last post...

change the

}sub add_to_registration_mod_list

to

sub add_to_registration_mod_list {
© UBB.Developers