Jump to content

[Solved] Precondition error during checkout..HELP!


Recommended Posts

If a user is NOT logged in and clicks on next in 1.Summary during checkout to proceed to login page the following error is shown:

 

Precondition Failed

 

The precondition on the request for the URL /index.php evaluated to false.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Pls see screenshot. post-692-0-72136700-1351333254_thumb.jpg

 

The url for this page is :

 

http://mydomain.com/...ti-shipping%3D0

 

IF a user is logged in already, everything is fine.

 

On localhost (xampp) things are working fine both ways.

 

Please help!

Edited by innocuous (see edit history)
Link to comment
Share on other sites

If a user is NOT logged in and clicks on next in 1.Summary during checkout to proceed to login page the following error is shown: Precondition Failed

 

This issue is not related to PrestaShop but your browser+server setup. For some reason the request to your server is returning the response code 412 Precondition Failed. Some things that may cause it are: your browser is sending a header like If-Match and server does not understand (check etag, cache etc settings on the server), some strange/unusual headers are sent to the server (check what is your browser is sending for failed requests), or a security software, like mod security, is interfering with the request and returning this in response to one of the triggered rules.

 

Marty Shue

Link to comment
Share on other sites

Hi,

Tested with firefox/chrome/IE. All give same issue so definitely not browser related.

 

Using Firebug in FF this is what I got:

------------------------------------------------------

Params:

back http://sitename.com/index.php?controller=order&step=1&multi-shipping=0 controller authentication display_guest_checkout 0 multi-shipping

0

 

 

HEADERS:

HTTP/1.1 412 Precondition Failed

Date: Mon, 29 Oct 2012 08:24:33 GMT

Server: Apache

Content-Length: 362

Connection: close

Content-Type: text/html; charset=iso-8859-1

Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding gzip, deflate Accept-Language en-US,en;q=0.5 Connection keep-alive Cookie __utma=180778938.253507597.1350982463.1351312955.1351333957.5; __utmz=180778938.1350982463.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); fe2d7f88a9675400512f9b6863b91319=HN1HBP113zpQPARLGsp71DbuZucSGyBYY3LBvpDinYAn5IHVJXVFa6Y%2BkrSXGRzWhiEZ44LjmszSMjETtjUfvx%2FzQxylkm%2FCNsNWU6ey3pixRt5yXoXr1%2Bd2aYiE31MT4ZvexDDKfb%2F4P4cQLM41Qk095lpux%2Bw%2F3sT1xBjXNXRqm7cuB5%2FQ6R3evrOrKc39GuvNJUfQujsg5DyGjGSB121So9mRzHxSC5PfrrgoIFOYBg9Z7KFkNF4Ud7P1BA2jLQIiOVari1nbuuPR2Rc8wcuLRkOV8KN34pzeD%2F%2BXE6cMwpO%2Bu92aoA66Lyx3BOJzYRJNjvS3rsq9i6Of1Lkob5UTabj6f8wcwlossu4nvZ%2BypAw5dUQ28cBoNVzlP54iGQHuzU1jzbozD4aAFPusekgpBBvJxA1KZuw6PS4Zy0iBykqrz8R2WSvEahu%2FYDCPg6D5YdIUuJSIvtL79TZPjofDAqlfW%2FeNuyiJwzijkzro%2B8qFg9yVxTXWrz0nY3wTfDouwxAjVQgqa%2F7si6tYbtpzxzutleye51jn5CUvV5hZJfyEyBXIxXl9ZyzQ7m%2FFQLrgj90b6KP15XoWk1hCFKCtp23UAD7gku2uTbTktOe6agzkKwAapUasYklMEPgHaY%2F0%2BUQ%2BdXyf6EjSWBVNC2nDbrRL%2FQhg9TKg5aqRpJgRsDm9vk0rfpioqw7JsNqIMTIiUEUgF0ZS4BNDnR54diUCUopt%2BzvgXwVCOlDQdz6nFOq2xCk6uDn6%2FIm%2BKFdHY6BcInFLA%2FSpUqxfEGXI5vxLm6adTptEOkYkRdaPtAFB9Fujfxf63oTxWan1l4J9000612; 13042af98805856547e5b971fdea067b=HN1HBP113zpQPARLGsp71DrS8Fe7YsCGlK%2B8Hm77hN3y%2BD%2BddL1RTJMVXry56rhN0cXKe3y%2FPLBWJnBWG2BBCNwhc0DgRi%2BC7CPgm8HGdd0Y3ei4RMR6iXfqR2ubtSzbTbGc4Z5X7mRyDfPWhOYN08UzJFg98AS1JRn92RyQnv42ksazzAIDr%2BKP6zqlSKoY3DecHyhDKYVnIMwkhhQzqg%3D%3D000145 Host lehkimehki.com Referer http://lehkimehki.com/index.php?controller=order User-Agent Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/17.0 Firefox/17.0

 

GET http://sitename.com/...ti-shipping%3D0

 

 

Does this help?

Edited by innocuous (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...