Update on this problem:
With the help of my programmer son, we tracked the upload progress through the import_transactions.php file by dropping in display debug statements at various points in the code. We finally found some code that if we comment out one line the import program continues to the point where it reports that the .csv has been imported. However, the imported order cannot be found.
The line of code that we commented out is line 360 (we were using Notepad to search the file, so this may not be the actual line of code). Here is a snippet of the code (the suspect line is $_SESSION[ 'Items' ]->write(0);):
display_notification_centered("a");
//$_SESSION['Items']->write(0);
display_notification_centered("b");
$_SESSION['Items']->clear_items();
unset($_SESSION['Items']->line_items);
unset($_SESSION['Items']);
$firstlinecopied = false;
}
}
// Commit import to database
if ($type == ST_JOURNAL) {
$typeString = "General Journals";
} elseif ($type == ST_BANKDEPOSIT) {
$typeString = "Deposits";
} elseif ($type == ST_BANKPAYMENT) {
$typeString = "Payments";
} elseif ($type == ST_SALESORDER) {
$typeString = "Sales Order csv lines / $doc_num order(s)";
} elseif ($type == ST_SALESINVOICE) {
$typeString = "Sales Invoices csv lines / $doc_num invoice(s)";
}
It would be appreciated if someone would provide some next steps for us to check. The FA version is 2.4.9. Thanks
