innocuous Posted October 27, 2012 Share Posted October 27, 2012 (edited) 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. 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 November 7, 2012 by innocuous (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted October 28, 2012 Share Posted October 28, 2012 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 More sharing options...
innocuous Posted October 29, 2012 Author Share Posted October 29, 2012 (edited) 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 October 29, 2012 by innocuous (see edit history) Link to comment Share on other sites More sharing options...
jnie80 Posted November 6, 2012 Share Posted November 6, 2012 Hey, do we get a fix yet? I'm experiencing similar problem. http://www.prestashop.com/forums/topic/200571-please-help-precondition-failed-404-not-found-during-cart-check-out/ Link to comment Share on other sites More sharing options...
innocuous Posted November 7, 2012 Author Share Posted November 7, 2012 Apparently this is related to hosting server and not PS. Something to do with mod_security or similar settings. Link to comment Share on other sites More sharing options...
Recommended Posts