Error: AWStats database directory defined in config file by 'DirData' parameter (./data) does not exist or is not writable.

Setup ('./awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).