Announcement

Collapse
No announcement yet.

I get an Internal Server Error when adding to cart from a large section.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I get an Internal Server Error when adding to cart from a large section.

    This can happen where a section contains many products each with many components or attributes. The server error is usually 'The server encountered an internal error or misconfiguration and was unable to complete your request'.

    When the user clicks the add to cart button all the possible combinations of product selections in the current section are loaded into (virtual) memory.

    For example if there are 23 products in the current section and each product has 3 attributes and the attributes have 5, 6 and 9 Choices respectively then this results in a total of 6210 (23 * 5 * 6 * 9) choices

    If the web server process has not been allocated enough system resources an error will be generated. If the web server has enough system resources but cannot process the information fast enough the client's browser may
    timeout. Either way, the above error can occur.

    The problem can be resolved, either by increasing the system resources for the web server process or by reducing the number of product combinations in the section causing the error.
Working...
X