Nov 11, 2013
145 Views

[Magento] Exporting products to CSV results in “Invalid entity model” error

Written by

To resolve it open 
app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php

around line no. 60

replace 
$destination = tempnam(sys_get_temp_dir(), ‘importexport_’);

to 
$destination = tempnam(Mage::getBaseDir() . ‘/tmp/’ , ‘importexport_’);

Article Tags:
· · · ·
Article Categories:
Code/Web
    http://linholiver.com

    https://linholiver.com/diary/about/