If you use the 8.8.10.12 then podPress should create the statistic tables if necessary when you save the settings of the general settings page of podPress and the statistic feature is active.
That this has not worked in your case (an probably in this case) is a clear sign that something is wrong with the procedure or the SQL statements podPress uses to create these tables.
My guess is that it has something to do with the DB_COLLATE and DB_CHARSET setting. Have you customised these constants (in wp-config.php)?
The SQL statements are:
CREATE TABLE wp_podpress_stats (id int(11) unsigned NOT NULL auto_increment, postID int(11) NOT NULL default '0', media varchar(255) NOT NULL default '', method varchar(50) NOT NULL default '', remote_ip varchar(15) NOT NULL default '', country varchar(50) NOT NULL default '', language VARCHAR(5) NOT NULL default '',domain varchar(255) NOT NULL default '', referer varchar(255) NOT NULL default '', resource varchar(255) NOT NULL default '', user_agent varchar(255) NOT NULL default '', platform varchar(50) NOT NULL default '', browser varchar(50) NOT NULL default '', version varchar(15) NOT NULL default '', dt int(10) unsigned NOT NULL default '0', completed TINYINT(1) UNSIGNED DEFAULT '0', UNIQUE KEY id (id))
CREATE TABLE wp_podpress_statcounts (postID int(11) NOT NULL default '0',media varchar(255) NOT NULL, total int(11) default '1', feed int(11) default '0', web int(11) default '0', play int(11) default '0',PRIMARY KEY (media))
Depending on the settings podPress attaches to both statements an additional part for the COLLATE and CHARSET.
if ( TRUE == defined('DB_COLLATE') AND '' !== DB_COLLATE ) {
$db_charset = ' COLLATE ' . DB_COLLATE;
} elseif ( (FALSE == defined('DB_COLLATE') OR '' == DB_COLLATE) AND TRUE == defined('DB_CHARSET') AND '' !== DB_CHARSET ) {
$db_charset = ' DEFAULT CHARACTER SET ' . DB_CHARSET;
} else {
$db_charset = '';
}
Do you know how-to access the error.log of your blog? It would be very interesting to know whether it contains error messages regarding these queries.
Thanks,
Tim