Invalid object model error when exporting csv file for products

and export the file csv products from admin panel magendo, it causes the following error when I click continue to create a csv file.

"Invalid entity model"

I am using magento 1.6.2 CE.

** edited **

I am using import / import magento services by default from admin system -> configuration -> export / import .....

plz ask me any question if it is not clear yet.

+3
source share
2 answers

Open the abstract class Mage_ImportExport_Model_Export_Adapter_Abstract and replace

$destination = tempnam(sys_get_temp_dir(), 'importexport_');

to

$destination = tempnam(Mage::getBaseDir() . '/var/tmp/'  , 'importexport_');
+6
source

Windows, Temp. , C:\Windows\Temp, Properties->Security->Edit... /. , . Windows 7.

+1

All Articles