Database errors
-
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, dbDeltaThe 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->prefixthere 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.
The topic ‘Database errors’ is closed to new replies.