Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Product Import Error “Error write to file batch_XX.tmp”
 
Yozone
Jr. Member
 
Total Posts:  8
Joined:  2009-06-10
 

I have got a error when I do import:

* Starting profile execution, please wait…
* Warning: Please don’t close window during importing/exporting data

* Starting Mage_Dataflow_Model_Convert_Parser_Csv :: parse
* Error write to file batch_28.tmp
* Finished profile execution.

and the exception I caught in lib/Varien/Io/File.php is:

Stack trace:
#0 [internal function]: mageCoreErrorHandler(2, ‘fopen(batch_24....’, ‘/home/avd/publi...’, 128, Array)
#1 /home/avd/public_html/lib/Varien/Io/File.php(128): fopen(’batch_24.tmp’, ‘r+’)
#2 /home/avd/public_html/app/code/core/Mage/Dataflow/Model/Batch/Io.php(143): Varien_Io_File->streamOpen(’batch_24.tmp’, ‘r+’)
#3 /home/avd/public_html/app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php(85): Mage_Dataflow_Model_Batch_Io->open(false)
#4 /home/avd/public_html/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php(242): Mage_Dataflow_Model_Convert_Parser_Csv->parse(Array)
#5 /home/avd/public_html/app/code/core/Mage/Dataflow/Model/Convert/Profile/Abstract.php(139): Mage_Dataflow_Model_Convert_Action_Abstract->run()
#6 /home/avd/public_html/app/code/core/Mage/Dataflow/Model/Profile.php(153): Mage_Dataflow_Model_Convert_Profile_Abstract->run()
#7 /home/avd/public_html/app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php(82): Mage_Dataflow_Model_Profile->run()
#8 /home/avd/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Adminhtml_Block_System_Convert_Profile_Run->_toHtml()
#9 /home/avd/public_html/app/code/core/Mage/Adminhtml/controllers/System/Convert/ProfileController.php(200): Mage_Core_Block_Abstract->toHtml()
#10 /home/avd/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Adminhtml_System_Convert_ProfileController->runAction()
#11 /home/avd/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(’run’)
#12 /home/avd/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/avd/public_html/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home/avd/public_html/index.php(65): Mage::run()
#15 {main}

What’s the problem? Help me please!!! confused Thanks very much!!!

Image Attachments
Import All Products.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
Yozone
Jr. Member
 
Total Posts:  8
Joined:  2009-06-10
 

CAN ANYONE HELP???

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sonassi
Sr. Member
 
Avatar
Total Posts:  217
Joined:  2009-05-20
Manchester, UK
 

I would be inclined to see if your disk limits have been reached for the DB or /var/ directory.

Also make sure all your file permissions are correct:

http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yozone
Jr. Member
 
Total Posts:  8
Joined:  2009-06-10
 

It works!!!
Thank you so much!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yozone
Jr. Member
 
Total Posts:  8
Joined:  2009-06-10
 

The error occurred again
Now I can only upload the csv file via ftp, and import from “Local Server”
I can’t upload csv file using “Interactive” data transfer method

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sonassi
Sr. Member
 
Avatar
Total Posts:  217
Joined:  2009-05-20
Manchester, UK
 

Just sounds like permissions still.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yozone
Jr. Member
 
Total Posts:  8
Joined:  2009-06-10
 

but the var/, media/ and app/etc directories, their sub-categories and all files under these directories’ permissions are all 777 :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
david_bergston
Jr. Member
 
Total Posts:  20
Joined:  2011-12-25
 

The same!!! Please, help

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top