Jump to content
thirty bees forum
  • 0

Unable to batch upload products


Question

Posted

Good morning everyone, I am having an issue with the csv products upload batch and was wondering if anyone have seen it before and knows what is happening.

  1. I am able to batch upload just fine all my producst and get all the images created on my local XAMPP setup using the same php version. I am running php 5.6.30 locally on an OSX Sierra computer. Online is Debian 3.16.39 with php 5.6.30 as well. Thirtybees 1.0.3.

  2. I am running imagemagick on both servers using the TB extension as well. Mind you, I did test with or without it and it did not make a difference so it is not related to it.

  3. All my products have 3 images to create, if I change all my products to use only one image in the csv (always the same) it will create them all without issues.

  4. With imagemagick turned ON, it is creating only 5 products. With it turned OFF, I could create 10 once but it crashed as well. (when products have 3 images)

  5. The error says nothing, I have nothing in the logs, nothing in the php logs either. If I turn debug mode ON I get nothing more usefull either.

  6. After the error as been outputted, the script continue and creates the 5 first products (checking in the TB products table, it is taking from 1 to 2 minutes to get them all created, they keep going until the fifth is eventually created and does not go further).

So there is some kind of a loop that seems to be creating them 5 by 5 and does not move to the next iteration apparently.

This was a long post, sorry, trying to give as much infos as possible. Thanks for any help, screenshot of the error follows.

0_1512141156670_Capture d’écran 2017-12-01 à 09.47.18.png

16 answers to this question

Recommended Posts

  • 0
Posted

It is not related to the products datas as I can import them all just fine when they don't have images or have only 1.

It really seems to be related to images creation.

  • 0
Posted

I did add the errorThrown in the code and it is an internal server error.

Happens in the importNow function of import.js after the ajax call, see below:

0_1512145440481_Capture d’écran 2017-12-01 à 11.23.39.png0_1512145301965_Capture d’écran 2017-12-01 à 11.20.57.png

0_1512145309099_Capture d’écran 2017-12-01 à 11.19.12.png

  • 0
Posted

Will check this out, been trying to get my isp to look at the logs since yesterday and just noticed that they had the error logging off on the server facepalm

Managed server so I can't check myself.

  • 0
Posted

As per my isp: The errors in the logs just say the process aborted.

Still waiting for them to send me the actual log file.

The only difference from my test computer is that FPM/FastCGI is used on the external server while I am using Apache 2.0 Handler as a server API locally.

  • 0
Posted

That was exactly it Lesley !

Raised fcgi idle timeout to 250 and it is now working :-)

Thanks a lot, have a great evening, I know I will, cheers !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...