“Invalid entity model” error while exporting csv file for products and Customers in Magento

Displayed “Invalid entity model” error, While Exporting  Products and Customers in Magento!

Its due to permission issue. Some time this error display in windows server.

Solution:

Open abstract class /app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php and replace line number 60(Line number will change some time)

//$destination = tempnam(sys_get_temp_dir(), 'importexport_');
//Change above like as like BELOW: 
$destination = tempnam(Mage::getBaseDir() . '/var/tmp/' , 'importexport_'); 

NOTE: Also, make sure “root/var/tmp/” folder have full permission.

3 thoughts on ““Invalid entity model” error while exporting csv file for products and Customers in Magento”

  1. My brother recommended I may like this blog. He used to be entirely right.
    This put up truly made my day. You can not imagine just how a lot time I had spent for this information! Thank you!

  2. Woah! I’m really enjoying the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between user friendliness
    and visual appeal. I must say you’ve done a excellent job with this.
    Also, the blog loads super fast for me on Safari. Excellent Blog!

Leave a Reply

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