Portfolio
My Blog
Scroll down to discover
Search
Categories

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

November 11, 2013Category : Code/Web

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_’);

Leave a Reply

Your email address will not be published. Required fields are marked *

01.
© Oliver / All rights reserved.
To top