komaj Posted January 15, 2013 Share Posted January 15, 2013 when uploading csv file for products getting this erroro message. any idea? Thanks. Pavel Warning: fopen() [function.fopen]: Filename cannot be empty in /data/web/virtuals/21616/virtual/www/domains/eshop-dresses.com/controllers/admin/AdminImportController.php on line 647 Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /data/web/virtuals/21616/virtual/www/domains/eshop-dresses.com/controllers/admin/AdminImportController.php on line 648 Warning: fclose() expects parameter 1 to be resource, boolean given in /data/web/virtuals/21616/virtual/www/domains/eshop-dresses.com/controllers/admin/AdminImportController.php on line 649 Warning: unlink(1) [function.unlink]: No such file or directory in /data/web/virtuals/21616/virtual/www/domains/eshop-dresses.com/controllers/admin/AdminImportController.php on line 650 [PrestaShopException] Property FeatureValue->value is empty at line 872 in file classes/ObjectModel.php 866. 867. $message = $this->validateField($field, $value, $id_lang); 868. if ($message !== true) 869. { 870. if ($die) 871. throw new PrestaShopException($message); 872. return $error_return ? $message : false; 873. } 874. } 875. } 876. ObjectModelCore->validateFieldsLang - [line 305 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFieldsLang - [line 489 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 163 - classes/FeatureValue.php] - [2 Arguments] Argument [0] 1 Argument [1] FeatureValueCore->add - [line 154 - classes/FeatureValue.php] - [0 Argument] FeatureValueCore::addFeatureValueImport - [line 1449 - controllers/admin/AdminImportController.php] - [2 Arguments] AdminImportControllerCore->productImport - [line 2697 - controllers/admin/AdminImportController.php] - [0 Argument] AdminImportControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - admin123/index.php] - [0 Argument] 1 Link to comment Share on other sites More sharing options...
hydrogreenstore Posted January 21, 2013 Share Posted January 21, 2013 Me too... must be a huge bug... any timeline on fixing this?? Link to comment Share on other sites More sharing options...
komaj Posted February 7, 2013 Author Share Posted February 7, 2013 This bug has been fixed on the development version (on GitHub). https://github.com/PrestaShop/PrestaShop/commit/84005fea267ac8fa73d79df391b65e94a4c1e59c Link to comment Share on other sites More sharing options...
Recommended Posts