Jump to content

address not linked to customer: id_customer empty in prstshp_address


Kermit65

Recommended Posts

Hi There!

I am using Prestashop 1.7.8.11 and have multistore enabled. I use the default template Classic Version 1.0.0.

Recently I noticed in my shop https://freedive-frauenfeld.ch that new clients have no address associated, despite their address is shown in the order. After some investigation I found the addresses are not stored under client addresses but as addresses of brands & suppliers. Checking the table prsthsp_address I found the id_customer field empty. After manually adding the id of the customer, the addresses are properly linked again.

Do you have any idea where to further check? Is this likely a bug in one of my modules? Can you point me how to further debug to find the module that is causing the issue.

Thank you in Advance,

Andreas

Link to comment
Share on other sites

I guess I found the reason myself. In certain occasions, my webshop threw a "502 bad gateway error" and it turned out this subsequently led to the issue I described above.

Since I fixed the 502 error, by adding the following parameters in my apache&nginx configuration, the issue disappeared:

proxy_buffer_size          128k;
proxy_buffers              4 256k;
proxy_busy_buffers_size    256k;

Cheers,

Andreas

Link to comment
Share on other sites

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...