|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
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?
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
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"; }
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
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;
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Delete the } in front of that sub...
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Actually forget that last post...
change the
}sub add_to_registration_mod_list
to
sub add_to_registration_mod_list {
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|