Documentation
The Stats application displays an error message at start
Verify the weblogs table is not corrupted. For example, try to browse through the table with phpMyAdmin. If phpMyAdmin displays an error, try to repair the table :
REPAIR TABLE weblogs