PrestaShop CSV Import Generates Column Function Error

By | December 7, 2012

PrestaShop v.1.4.4.0 CSV import works, for the exception of last 2 columns (feature & online only) need to be ignored in order for successful CSV import; otherwise the Back Office (BO) Breaks.. I’m going to investigate the differences between those core files and troubleshoot the CSV import error on v.1.4.4.1

Investigated file /classes/ImportModule.php

The syntax NULL is caps on v.1.4.4.0 and small-lettering on v.1.4.4.1
17 protected $_link = NULL;
39 if ($this->_link != NULL)

There are roughly 100 files inside /classes/, so I decided to copy & paste the entire directory with files from v.1.4.4.0 over to v.1.4.4.1.. The copy/paste method completed and did not disrupt the Back Office, so that’s a positive step; however, CSV import still generates Column Function Error: Column function (b) { var a = this.indexOf(b); if (a != -1) { this.splice(a, 1); } return this; } must be set

I also copied & paste the following “/admin/tabs/AdminImport.php” and the method did not disrupt the BO, however it also did not resolve CSV import error either.

I’ve posted on the PrestaShop forums, to no prevail: http://www.prestashop.com/forums/topic/207574-csv-import-results-in-column-function-error/

Eurika,
I now know what is causing my CSV import to stop working; it’s my custom module!!!!