printful / prestashop-module

Printful plugin for PrestaShop that allows you to sync your PrestaShop store with your Printful account
https://www.printful.com
Other
6 stars 5 forks source link

Connection problem between prinful and prestashop (error 500) #6

Open iamadlx opened 2 years ago

iamadlx commented 2 years ago

Hello,

It is not possible to connect a store to printful. Printful returns a 500 error

"Erreur de connexion PrestaShop : Erreur du serveur interne 500 ! Veuillez consulter les journaux de votre serveur pour obtenir une description détaillée du problème."

Same problem as described here: https://www.prestashop.com/forums/topic/1041427-printful-error-500-webservice-onoff-enable-cgi-mode-for-php/

This seems to be due to Php 7.4...

Thanks in advance,

iamadlx commented 2 years ago

If it helps, I managed (by chance) to connect the store but afterwards the products do not synchronize: Screenshot 2022-01-10 at 17 17 59

rkistaps commented 2 years ago

Hi, thanks for reaching out. Which PS version are you using?

iamadlx commented 2 years ago

Hi,

Thank you for your feedback: Here is : 1.7.8.2 The last one.

rkistaps commented 2 years ago

Hi. Looks like we are facing this PrestaShop issue introduced in version 1.7.8.0: https://github.com/PrestaShop/PrestaShop/issues/26361

We will try to patch this from our end, but it may take us some time. If you are not bound to the newest PrestaShop version, you can downgrade for a while.

iamadlx commented 2 years ago

I will check if I have a backup of the old version. Thank you for your feed back ! https://github.com/PrestaShop/PrestaShop/issues/14903#issue-474158999

rkistaps commented 2 years ago

We are now omitting the empty position_in_category parameter in our requests. Can you check if this resolves the issue for you?

iamadlx commented 2 years ago

where can i download the test version?

rkistaps commented 2 years ago

You don't have to. The request is made from our system and we are now omitting this parameter already. So just try to push a product now

iamadlx commented 2 years ago

image the connection with the shop doesn't work anymore. I tried with a new API Key but it's the same error ...

rkistaps commented 2 years ago

Is this your domain https://shop.bindy.xyz? Seems like your website is returning 500 status code error on one of our requests. Checking..

iamadlx commented 2 years ago

Yes it's a test shop :)

rkistaps commented 2 years ago

Did you change the Prestashop version or is it still the same? Can you try reinstalling the plugin? and connecting again?

EDIT: Also, as this is a 500 status error code from your side, you may find additional info in your PHP error logs, if you have access them

iamadlx commented 2 years ago

Hi,

I have tried with different setups. I did an installation from scratch. But nothing works. If I do as on the forum, put in PHP 7.2 then it works

M4ketech commented 1 year ago

Prestashop 8 is out and it supports PHP 8.0, but module lacks support even with PHP 7.4... Great, any news about updates?