You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Updating the database fails with Undefined subroutine &main::CleanFromTags called at /server/service/awstats/wwwroot/cgi-bin/awstats.pl line 3912, <HISTORY> line 141199.
To Reproduce
Run awstats to update database.
Expected behavior
No error message.
Additional context
The error occurs under latest 7.9. 7.8 seems to work fine.
The text was updated successfully, but these errors were encountered:
In /tools/ebmin/awstats/awstats-lib.pl file, there is a CleanFromTags subroutine.
sub CleanFromTags {
my $stringtoclean=shift;
$stringtoclean =~ s/$regclean1/ /g; # Replace or with space
$stringtoclean =~ s/$regclean2//g; # Remove
return $stringtoclean;
}
I copyied and pasted the subroutine into the awstats.pl file. It could run without the error.
Describe the bug
Updating the database fails with
Undefined subroutine &main::CleanFromTags called at /server/service/awstats/wwwroot/cgi-bin/awstats.pl line 3912, <HISTORY> line 141199.
To Reproduce
Run awstats to update database.
Expected behavior
No error message.
Additional context
The error occurs under latest 7.9. 7.8 seems to work fine.
The text was updated successfully, but these errors were encountered: