Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter scorpress

    (@scorpress)

    I solved my own problem by changing the SQL code in wp-slimstat.php for creating the wp_slim_countries table to the following:

    $country_table_sql =
            "CREATE TABLE IF NOT EXISTS {$wpdb->base_prefix}slim_countries (
                    ip_from INT UNSIGNED DEFAULT 0,
                    ip_to INT UNSIGNED DEFAULT 0,
                    country_code CHAR(2) DEFAULT '',
                    CONSTRAINT ip_from_idx PRIMARY KEY (ip_from, ip_to)
            )$use_innodb";

    Apparently MySQL 5.0.92 did not like the original SQL code and never created the wp_slim_countries table when the plugin was activated.

Viewing 1 replies (of 1 total)