AWStats icon indicating copy to clipboard operation
AWStats copied to clipboard

Incorrect syntax in mime.pm prevents new log scanning in 7.8

Open brentil opened this issue 4 years ago • 2 comments

The mime.pm file is missing a , on line 59 at the end of that line. Since it's not there it throws an error when trying to scan new log files.

::EDIT:: I see it was fixed in #158 but that fix is not in the ZIP file from the official website.

String found where operator expected at cgi-bin/lib/mime.pm line 60, near "'ebook'" (Missing semicolon on previous line?) syntax error at cgi-bin/lib/mime.pm line 60, near "'ebook'" Compilation failed in require at cgi-bin\awstats.pl line 2239.

'torrent',   'BitTorrent File',
'gis',       'GIS File'
'ebook',     'Ebook File'

Should be;

'torrent',   'BitTorrent File',
'gis',       'GIS File'**,**
'ebook',     'Ebook File'

brentil avatar Apr 27 '20 13:04 brentil

Wonder if we could get a 7.8.1 version released?

misilot avatar Aug 03 '22 20:08 misilot

Same as #160

misilot avatar Aug 03 '22 20:08 misilot