in reply to Re: tfmail_application error_bad logfile name
in thread tfmail_application error_bad logfile name
Hi
In the process of installing and configurring the tfmail, i have come accross this error that i dont know how to correct:
An error has occurred in the program bad logfile name [ ] at /home/actercoa/safefoodkenya.com/cgi-bin/TFmai +l.pl line 1048. My TFmail.pl line 1048- 1053 looks like this: my $file = $treq->config('logfile', ''); $file = $treq->process_template("\%$file",'email', undef); return unless $file; $file =~ m#^([\/\-\w]{1,100})$# or die "bad logfile name [$file]"; $file = $1; open LOG, ">>@{[ LOGFILE_ROOT ]}/$file@{[ LOGFILE_EXT ]}" or die "o +pen [$file]: $!"; flock LOG, LOCK_EX or die "flock [$file]: $!"; seek LOG, 0, 2 or die "seek to end of [$file]: $!";
Kindly assist me to resolve this.
Kindest regards
Jared Otieno
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: tfmail_application error_bad logfile name
by Corion (Patriarch) on Dec 09, 2016 at 07:59 UTC |