jkudish/WPEC-Orders — Issue #1: Import Script not concatinating the database constand correctly.
Author: mychelle
Created: 2011-10-14 02:17:59+00:00
State: open

[14-Oct-2011 01:22:35] WordPress database error Table 'word15.WPSC_TABLE_PURCHASE_LOGS' doesn't exist for query SELECT * FROM WPSC_TABLE_PURCHASE_LOGS made by require_once, do_action, call_user_func_array, WPEC_Orders_Importer->admin_page, WPEC_Orders_Importer->convert_purchase_logs

This is the error I got when I tried to import my logs fix is simple, see below:

Replace:
$query = "SELECT * FROM WPSC_TABLE_PURCHASE_LOGS";

With:
$query = "SELECT * FROM " . WPSC_TABLE_PURCHASE_LOGS;