• Resolved microsleep

    (@microsleep)


    Hello,

    I am running the latest version of WordPress (3.0.2) on a local server. I want to try/use Popularity Contest plugin, but each time I attempt to active it, I have an error message which says:

    Plugin could not be activated because it triggered a fatal error.
    
    Incorrect table name '' on line: 255

    Here is the function written in these lines:

    $result = mysql_query("
    			CREATE TABLE <code>$wpdb->ak_popularity_options</code> (
    				<code>option_name</code> VARCHAR( 50 ) NOT NULL,
    				<code>option_value</code> VARCHAR( 50 ) NOT NULL
    			)
    		", $wpdb->dbh) or die(mysql_error().' on line: '.__LINE__);
    		if (!$result) {
    			return false;
    		}

    I can also tell you that my MySQL settings look like this:

    /** The name of the database for WordPress */
    define('DB_NAME', 'wordpress');

    Your help will be much appreciated — do you have any ideas?

Viewing 3 replies - 31 through 33 (of 33 total)
Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘[Plugin: Popularity Contest] Unable to activate in WordPress 3.0.2’ is closed to new replies.