MySQL Errors on Import
-
I have a brand new VM with CentOS 6 on it and new WP 3.6.
I yum install mysql, php-mysql and httpd. I create a DB, add index.php to httpd.conf and point my browser to it. Install goes great. I try to import a .xml file for theme I bought and it goes blank. Even when I just click on the Tools/Import link, I see the following errors spit out in my apache error_log file. I cannot seem to figure out what is causing this. I have deleted the import plugin so currently I have no plugins active. Thanks for any help.[Sat Aug 10 22:59:05 2013] [error] [client <my ip>] 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 1 for query SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE term_id = made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, mytheme_options, referer: http://<my domain>/wp-admin/plugins.php
[Sat Aug 10 22:59:05 2013] [error] [client <my ip>] 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 ‘) AS termid ON termid.object_id = posts.ID\n\t\tORDER BY posts.menu_order DESC\n\t\tLI’ at line 7 for query \n\t\tSELECT posts.ID\n\t\tFROM wp_posts AS posts\n\t\tINNER JOIN (\n\t\tSELECT object_id\n\t\tFROM wp_term_relationships\n\t\tWHERE term_taxonomy_id = \n\t\t) AS termid ON termid.object_id = posts.ID\n\t\tORDER BY posts.menu_order DESC\n\t\tLIMIT 1\n\t\t made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, mytheme_options, referer: http://<my domain>/wp-admin/plugins.php
The topic ‘MySQL Errors on Import’ is closed to new replies.