• There is a database error thrown when this plugin is activated:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 16 for query CREATE TABLE ds_total_cur (
      id INT, login VARCHAR (300), first_name VARCHAR (300), last_name VARCHAR (300), minutes INT, period_one INT, computer_one INT, period_two INT, computer_two INT, period_three INT, computer_three INT, totalxp INT, totalgold INT, temp_comp INT,
        ) made by activate_plugin, do_action('activate_cube-gold/cube_gold.php'), call_user_func_array, jal_install, dbDelta

    The problem is in cube-gold.php on line 130:
    );";

    It should be this:
    )";

    Also, the database prefix is hardcoded as wp_ in select queries, etc. Instead it should be called like $wpdb->prefix there as well.

    I didn’t have time to go any further, but the plugin will not work at all if you are using a different table prefix.

    http://ww.wp.xz.cn/extend/plugins/cube-gold/

The topic ‘Database errors’ is closed to new replies.