![]() ![]() When I run my code for 6 product, the process number increases to 240, but it doesn't display anything, and when I check, it receives an 504 error. (Which increments a number for each variation).Īfter I run the code for 1 product (with 40 variations), the process number increases to 40, and it displays the product image. So to further test this issue, I modified my code and re-wrote it using ajax and added a process bar like system. When I add 6 products (240 variations), I receive error directly in my browser. When I add 1 product (40 variations), it completes and displays the product image. After products added, it displays the images of newly added products. More Details on my scenario: My script adds woocommerce products with variations using wp_insert_post method to my wordpress website. The expert says that "initiated process most probably not completed fully", ThisĪlso means that the initiated process most probably did not completedįully and some data / actions might have been saved / executed. In short Apache cannot server the request since theĪpplication did completed the process within the allowed time. When this process takes too long and Apacheĭoes not return the response in a timely manner to Nginx you will see Your website and according to the PHP logic MySQL queries can be done This when Apache is processing the request, forwards it to Refers to dynamic content) a request from Nginx is done towardsĪpache. When the response cannot be served from cache (usually this Web service, while the Nginx is used as a reverse-proxy and distributeĬache. ![]() We use both Apache + Nginx on all our servers. Will my query run and complete if it doesn't encounter a further error?Įdit: I asked why I received this error to my hosting team, here the Siteground Hosting expert explained the issue as follows: I am on a shared server (Siteground), and since my WordPress PHP script takes more than 30 seconds, it returns a 504 Gateway timeout. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |