I can import CSV files for accounts, Leads, and Contacts just fine. Though when I try to import for Opportunities I get a blank white screen when going to the field mapping screen in the wizard. This is accompanied with a 500 error with no response. I was just wondering if anyone has ran into this issue before.
I’ve read a few other issues that others had that were similar but they didn’t help in solving my issue.
I ended up solving this. The file size was 1 MB. The header of the CSV was an issue and causing a blank screen and some of the data in the csv wasn’t mapping over. I figured an error would show for the data since it did for lead, accounts and contacts but it was just a blank screen. I had to upload without a header and then map everything over. I had to upload multiple times and not mapping some of the field to get all the data into suite crm.
For my case the one field didn’t have any “Options” in the array when suite tried to auto map the headers.
So removing the header row will work.
What I ended up doing was enabling errors in php.ini - to get the error - but then in Import/forms.php I added a try/catch around the problem.
Yeah, I know not ideal- but essentially if suite can’t auto map it then it should just skip it, not screwup the entire import.
It would be nice to be able to choose if the first row is a header row or not, or whether to auto-map.
For my case it was the parent_type array that had no options:
line 176 in the import/Forms.php.
Added the condition to ignore parent_type (reports was already there):
// Bug 22730: make sure all enums have the ability to select blank as the default value.
if (!isset($fieldlist[$name]['options'][''])) {
if ($name === 'report_module' || $name === 'parent_type'){
continue;
}
$fieldlist[$name]['options'][''] = '';
}