“Invalid entity model” error while exporting csv file for products

痞子三分冷 提交于 2019-12-04 14:41:52

Open 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_');

If you are on a Windows PC, it may be an issue with the permissions on the Temp folder. I had to update the sercurity permissions through right clicking on C:\Windows\Temp and then select Properties->Security->Edit... and set the permissions to the group/user names appropriately. I have given Full Control to all the users, to test it. I am on a Windows 7 PC.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!