meistergica Posted February 9, 2016 Share Posted February 9, 2016 (edited) Hi, When I try to import in P.S. 1.6.1.3 combinations *.csv I get next message: [PrestaShopException] Property Combination->reference length (40) must be between 0 and 32at line 909 in file classes/ObjectModel.php 904. }905.906. $message = $this->validateField($field, $this->$field);907. if ($message !== true) {908. if ($die) {909. throw new PrestaShopException($message);910. }911. return $error_return ? $message : false;912. }913. }914. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php] ObjectModelCore->add - [line 139 - classes/Combination.php] - [2 Arguments] CombinationCore->add - [line 1683 - classes/Product.php] ProductCore->addAttribute - [line 1408 - classes/Product.php] - [13 Arguments] ProductCore->addCombinationEntity - [line 2318 - controllers/admin/AdminImportController.php] - [16 Arguments] AdminImportControllerCore->attributeImport - [line 3513 - controllers/admin/AdminImportController.php] AdminImportControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin123/index.php] Please tell me what is wrong . I have attached the csv fille Solved ..... Sorry ..... reference name length > 32 ... please dellet or mark as solved LIGHT MY FIRE_Atribute.zip Edited February 9, 2016 by meistergica (see edit history) Link to comment Share on other sites More sharing options...
meistergica Posted February 9, 2016 Author Share Posted February 9, 2016 Hi, When I try to import in P.S. 1.6.1.3 combinations *.csv I get next message: [PrestaShopException] Property Combination->reference length (40) must be between 0 and 32 at line 909 in file classes/ObjectModel.php 904. }905. 906. $message = $this->validateField($field, $this->$field); 907. if ($message !== true) { 908. if ($die) { 909. throw new PrestaShopException($message); 910. } 911. return $error_return ? $message : false; 912. } 913. } 914. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 487 - classes/ObjectModel.php] ObjectModelCore->add - [line 139 - classes/Combination.php] - [2 Arguments] CombinationCore->add - [line 1683 - classes/Product.php] ProductCore->addAttribute - [line 1408 - classes/Product.php] - [13 Arguments] ProductCore->addCombinationEntity - [line 2318 - controllers/admin/AdminImportController.php] - [16 Arguments] AdminImportControllerCore->attributeImport - [line 3513 - controllers/admin/AdminImportController.php] AdminImportControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin123/index.php] Please tell me what is wrong . I have attached the csv fille Solved ..... Sorry ..... reference name length > 32 ... please delete or mark as solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now