importStaff
-----------------
importStaff took: 0.0122 seconds
-----------------
importClients
-----------------
importClients took: 2.9123 seconds
-----------------
importContacts
-----------------
importContacts took: 0.0071 seconds
-----------------
importTaxes
-----------------
importTaxes took: 0.0005 seconds
-----------------
importCurrencies
-----------------
importCurrencies took: 0.0077 seconds
-----------------
importInvoices
-----------------
importInvoices took: 1.7244 seconds
-----------------
importTransactions
-----------------
importPackages
-----------------
importPackageOptions
-----------------
importServices
-----------------
importSupportDepartments
-----------------
importSupportTickets
-----------------
importMisc
-----------------
decrypted 0 values using WHMCS' custom algorithm
decrypt took: 0 seconds
total time took: 9.6978 seconds
Array
(
[error] => Array
(
[0] => The import completed but the following errors ocurred:
[1] => importTransactions: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'currency' cannot be null on line 124
[2] => importPackages: There is already an active transaction on line 163
[3] => importPackageOptions: There is already an active transaction on line 163
[4] => importServices: There is already an active transaction on line 163
[5] => importSupportDepartments: There is already an active transaction on line 163
[6] => importSupportTickets: There is already an active transaction on line 163
[7] => importMisc: There is already an active transaction on line 163
)
)
Question
Kangaroo
importStaff ----------------- importStaff took: 0.0122 seconds ----------------- importClients ----------------- importClients took: 2.9123 seconds ----------------- importContacts ----------------- importContacts took: 0.0071 seconds ----------------- importTaxes ----------------- importTaxes took: 0.0005 seconds ----------------- importCurrencies ----------------- importCurrencies took: 0.0077 seconds ----------------- importInvoices ----------------- importInvoices took: 1.7244 seconds ----------------- importTransactions ----------------- importPackages ----------------- importPackageOptions ----------------- importServices ----------------- importSupportDepartments ----------------- importSupportTickets ----------------- importMisc ----------------- decrypted 0 values using WHMCS' custom algorithm decrypt took: 0 seconds total time took: 9.6978 seconds Array ( [error] => Array ( [0] => The import completed but the following errors ocurred: [1] => importTransactions: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'currency' cannot be null on line 124 [2] => importPackages: There is already an active transaction on line 163 [3] => importPackageOptions: There is already an active transaction on line 163 [4] => importServices: There is already an active transaction on line 163 [5] => importSupportDepartments: There is already an active transaction on line 163 [6] => importSupportTickets: There is already an active transaction on line 163 [7] => importMisc: There is already an active transaction on line 163 ) )I've tried the SQL checks Cody provided in: http://www.blesta.com/forums/index.php?/topic/3426-whmcs-import-error-option-pricing-id-cannot-be-nul-migration-from-whmcs-5310-to-blesta-32/?hl=option_pricing_id
And also edited the importer to change:
To:
$pricing = $this->getOptionPricing($this->WhmcsServices->getTerm($option->billingcycle), $value_id, $currency); if (!$pricing) { continue; }No luck.
7 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now