jpsg Posted October 9, 2009 Share Posted October 9, 2009 I can create a customer account but when trying to re-login i get a 502 bad gateway nginx error. Only happens if you enter correct username & password, otherwise i get prestashop error eg. There is 1 error : 1. invalid passwordprestashop Version 1.2.2.0Apache version 2.0.63 PHP version 5.2.9 any ideas? Link to comment Share on other sites More sharing options...
Azlath Posted October 9, 2009 Share Posted October 9, 2009 got the same problem... and other people too... and this is the third thread i post saying I HAVE THE SAME PROBLEM... shop got be up and running on october 15th... and no one helps with this.. think i'm going to cry ='( Link to comment Share on other sites More sharing options...
nirm Posted October 22, 2009 Share Posted October 22, 2009 I have exactly the same problem, and the site is live. Running Version 1.2.4.0. Can anybody please help. If not then I will have to abandon Presta Shop which is a real shame as it is an absolutely fantastic application Link to comment Share on other sites More sharing options...
Azlath Posted October 23, 2009 Share Posted October 23, 2009 problem solved!!!i copied the sleep function code from v1.2.0.8 (wich worked well in my server before upgrading), and substituted the new one... i truly don't understand the differences between one and another (i'm not an php programmer), but that solved the problem... and as far as i'm concerned that's what i needed.... and everything seems to work just finehopes these will help Link to comment Share on other sites More sharing options...
nirm Posted October 23, 2009 Share Posted October 23, 2009 Hello, where do I find this 'sleep' function and where do I substitute it in the new version?thanks again for your assistance Link to comment Share on other sites More sharing options...
nirm Posted October 23, 2009 Share Posted October 23, 2009 I requested my host to increase the cookie cache but this was their response It looks like the size of the Cookie header is indeed what is causing the error. I manage to access your application via a SSH tunnel, bypassing the nginx frontend, and the login is working fine in this way. The login script does send back a 5 KB cookie header though, which is too big for Nginx to process. Note that according to the cookie standards, the cookie header should not exceed 4 KB. Using cookies larger than 4 KB might cause problems on the browser side as well.Please check if there are any options in Prestashop that would allow you to reduce the cookie size. Normally, PHP applications only send a session ID in the cookie, while storing the rest of the information on the server. Storing data in the cookie is a potentially dangerous approach (security-wise)..... So it looks like Presta Shop will not (someone correct me if I am wrong) work without this bug appearing on servers running ngix unless your hosting provider increases the cookie cache.My hosts have offered to move me over to an Apache server..hmmm Link to comment Share on other sites More sharing options...
mariae Posted March 10, 2011 Share Posted March 10, 2011 I have the same problem when I regenerate my login, and when I trying to relogin i get a 502 bad gateway nginx error.How can I resolve this problem. Where can I found the function sleep? .Is this the problem.I have the version 1.3.2.3 . Link to comment Share on other sites More sharing options...
armadillo Posted April 15, 2011 Share Posted April 15, 2011 I also have the same problem "502 bad gateway nginx" on login page when activated SSL. When disable SSL everything is working normaly Link to comment Share on other sites More sharing options...
Roberto125 Posted April 15, 2011 Share Posted April 15, 2011 Good evening,be careful, without the SSL technology, you will have security problems!!! So do not disactivate it.What kind of SSL certificate do you have?Is it from a Certificate Authority like VeriSign, GlobalSign, Thawte, GeoTrust, RapidSSL?Or is it from another CA?Or is it an auto-generated SSL certificate from your server?http://www.networking4all.com/en/ssl+certificates/what+is+ssl/DO NOT give vital info (credit card number, personal data …) on a website which has no SSL certificate from OV (Organization Validation) or EV (Extended Validation), otherwise you or the/your customers might get fooled by a website which does not belong to the company in question they think they are dealing with.Best regards, Link to comment Share on other sites More sharing options...
armadillo Posted April 15, 2011 Share Posted April 15, 2011 my SSL is from godaddy but this is not problem with SSL, this is problem with header cookies, i am using shared server so i can not increase cookies, i have to solve it with prestashop but i dont know how. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now