Title: Fails after 5 rows
Last modified: August 21, 2016

---

# Fails after 5 rows

 *  Resolved [vitamink](https://wordpress.org/support/users/vitamink/)
 * (@vitamink)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fails-after-5-rows/)
 * I’ve just installed version 1.2.6 along with the attributes add in v 1.0 and 
   the import fails after 5 row. f can see nothing about the 6th
 * The javascript console reports..
 *  <b>Warning</b>: fopen(E:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
   xamphp5\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\htdocs\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
   domain.com/wp-content/uploads/csvimport/export_all_products_cleansedmigrate.csv)[
   [function.fopen](https://wordpress.org/support/topic/fails-after-5-rows/function.fopen?output_format=md)]:
   failed to open stream: No error in <b>E:\xamphp5\htdocs\domain.com\wp-content\
   plugins\woocommerce-csvimport\include\class-woocsv-admin-import.php</b> on line
   <b>105</b>
 * <b>Warning</b>: fgetcsv() expects parameter 1 to be resource, boolean given in
   <b>E:\xamphp5\htdocs\domain.com\wp-content\plugins\woocommerce-csvimport\include\
   class-woocsv-admin-import.php</b> on line <b>108</b>
 * .. until the timeout is reached.
 * I’ve tried manually deleting the first 5 rows of the csv and it runs fine until
   the 5th row. I also tried in creasing the rows per call and it seems to fail 
   after 5 calls which would suggest its a problem with the number of ajax requests
   rather than the data.
 * Any thoughts and what the problem is?
 * [https://wordpress.org/plugins/woocommerce-csvimport/](https://wordpress.org/plugins/woocommerce-csvimport/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [nathan505](https://wordpress.org/support/users/nathan505/)
 * (@nathan505)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fails-after-5-rows/#post-4624678)
 * I have same problem, tried changing timeout settings. Still no luck
 *  Thread Starter [vitamink](https://wordpress.org/support/users/vitamink/)
 * (@vitamink)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fails-after-5-rows/#post-4624682)
 * I found a workaround which works providing you don’t have too many products –
   I increases the rows per call to 50 which means all by products were inserted
   before the 5 calls were reached.
 * I’m using a xampp development environment running on windows 8.1 in case it helps
   as it might be something to do with windows file paths.
 *  Plugin Author [allaerd](https://wordpress.org/support/users/allaerd/)
 * (@allaerd)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fails-after-5-rows/#post-4624751)
 * big fixed try the latest version

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fails after 5 rows’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-csvimport_aa9366.svg)
 * [Woocommerce CSV importer](https://wordpress.org/plugins/woocommerce-csvimport/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-csvimport/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-csvimport/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-csvimport/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-csvimport/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-csvimport/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [allaerd](https://wordpress.org/support/users/allaerd/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/fails-after-5-rows/#post-4624751)
 * Status: resolved