Import process always stops!!! HELPS!!!
-
Hi,
Thank you for this great plugin. I’m facing an issue that I couldn’t trace back to its origin despite having full access to my server and trying everything, such as increasing values. Here’s what I have done:
Edited the .htaccess File:
- php_value upload_max_filesize 15000M
- php_value post_max_size 15000M
- php_value memory_limit 2000M
- php_value max_execution_time 36000
- php_value max_input_time 36000
Edited the php.ini File:
- upload_max_filesize = 15000M
- post_max_size = 15000M
- memory_limit = 2000M
- max_execution_time = 36000
- max_input_time = 36000
Edited the wp-config.php File:
- @ini_set(‘upload_max_size’, ‘15000M’);
- @ini_set(‘post_max_size’, ‘15000M’);
- @ini_set(‘memory_limit’, ‘2000M’);
- @ini_set(‘max_execution_time’, ‘36000’);
- @ini_set(‘max_input_time’, ‘36000’);
I also switched themes, plugins, reset the WordPress installation, cleared cache, disabled scripts, and browser extensions. However, the behavior of your plugin remains unusual. I have a CSV file with 34,884 products, and my server has enough power to handle bulk uploads, but it always stops at 21,771.
To troubleshoot, I split the CSV file into four parts. I could upload three parts, but one part remains stuck. After inspecting with my browser, I found the following error:
“Failed to load resource: the server responded with a status of 500 (Internal Server Error)”
Enabling debug mode in wp-config.php:
- define(‘WP_DEBUG’, true);
- define(‘WP_DEBUG_LOG’, true);
- define(‘WP_DEBUG_DISPLAY’, false);
I encountered the following information from your plugin:
“[20-Jun-2024 13:31:31 UTC] PHP Warning: Undefined array key ‘position’ in /var/www/html/wp-content/plugins/product-import-export-for-woo/admin/modules/product/import/import.php on line 1755” “[20-Jun-2024 13:31:34 UTC] PHP Warning: Undefined array key ‘position’ in /var/www/html/wp-content/plugins/product-import-export-for-woo/admin/modules/product/import/import.php on line 1755” “[20-Jun-2024 13:32:10 UTC] PHP Warning: Undefined array key ‘position’ in /var/www/html/wp-content/plugins/product-import-export-for-woo/admin/modules/product/import/import.php on line 1755”
Your documentation does not mention a “position” column or how to use it. I tried adding a “position” column to my CSV with a value of “0”, but the result is the same.
The only thing that worked was reducing the batch number from 10 to 5 and even to 1, and completely removing the “images” column, which forced me to re-upload the CSV file separately for the images. Despite having a server that can handle bulk uploads, it suddenly started showing these errors.
My question is, as I cannot request you to add a new feature that allows your plugin to automatically restart the uploading process when it stops (automatically reducing the number of batches) with every new try, would you be kind enough to share some script or code snippet that could help bypass this error and automatically restart the uploading process while automatically reducing the batch number after each stop?
I promise to leave a 5-star review!
Thank you very much for your help!
Regards,
- You must be logged in to reply to this topic.