mrigor Posted March 17, 2009 Share Posted March 17, 2009 Hello everyone,First, I want to commend the contributors of Prestashop because I think it is an excellent product.Now on to my weird issue. I have Prestashop deployed to a site where the actual administrator of the site has issues loggin in to the site with both the front end customer login as well as the admin backend. It appears that he with some success clear his cache and login in, but no more than once. Further, this is random across multiple computers ( 5+). The response he is geeting is Server 500 error pages which I am skeptically because of IE somes faultly reporting of the issue.I am unable to duplicate this issue with IE 7, Firefox, and Opera.Some of the differences between his and my attempts is that he is exclusive using IE7 and is in a geographic area within the United States.I am trully at a loss, nothing is being reported in the PHP log or any other log that I can see.Thanks in advance for any assistance or idea you can offer.Matt Link to comment Share on other sites More sharing options...
prestabase Posted March 17, 2009 Share Posted March 17, 2009 Matt,Are you using cPanel? If so, is anything listed in the error log there? Link to comment Share on other sites More sharing options...
mrigor Posted March 17, 2009 Author Share Posted March 17, 2009 Thanks for the reply. No, my hosting company does not use cPanel, but it uses something similar which allows you to access the PHP Log, and nothing is being reported to it. Link to comment Share on other sites More sharing options...
mrigor Posted April 1, 2009 Author Share Posted April 1, 2009 I have read other posts of people having this issue, but still no answer. I finally experienced the issue myself trying to log in to the Front end. In IE it gave me a 'Page cannot be displayed' error, but Firefox prompted me to save the file. That tells me that either the server did not know to render the page as a web page or that the browser is unable to understand what is being giving to it.I was able to correct the problem by clearing all of my browser stored information. I am going to take some network captures and see if I can find anything that way.Any suggestions? Is there any encoding being set within prestashop that could cause this issue?Matt Link to comment Share on other sites More sharing options...
mrigor Posted April 1, 2009 Author Share Posted April 1, 2009 Ok...have network captures. I see the post from the client, but nothing in response tell the browser to load a page. I see an ACK packet and a RST,ACK that's it. No, get HTTP 1.1 blah.Further, it appears to related to the code in authentication.php when the user's username and password have been authenticated. I intentionally entered invalid information and the page reloaded displayed the invalid password error with out issue.Once again, I cleared the cache in IE and it resolved the issue. This code has to be what is related to the issue. $cookie->id_customer = intval($customer->id); $cookie->customer_lastname = $customer->lastname; $cookie->customer_firstname = $customer->firstname; $cookie->logged = 1; $cookie->passwd = $customer->passwd; $cookie->email = $customer->email; if (Configuration::get('PS_CART_FOLLOWING') AND (empty($cookie->id_cart) OR Cart::getNbProducts($cookie->id_cart) == 0)) $cookie->id_cart = Cart::lastNoneOrderedCart($customer->id); Module::hookExec('authentication'); if ($back = Tools::getValue('back')) Tools::redirect($back); Tools::redirect('my-account.php'); Since a majority of the code has to do with the cookie, could that be the issue. I tried remarking out the Cart code but not luck. Now it works so I can't test it further.Any suggestions? Link to comment Share on other sites More sharing options...
mrigor Posted April 16, 2009 Author Share Posted April 16, 2009 Ok...possibly getting a littly closer. In firefox, it is asking to download the authenticate.php file instead of completing the login process. I am attempting to figure out that which part is doing it, but to me it has to be a redirect. I am using the final build of 1.1.When I download the file, it is blank. Not seeing anything in the PHP error log.There appears to be a significant amount of interest, there have been nearly 170 views. Does anyone have any suggestions?Thanks,Matt Link to comment Share on other sites More sharing options...
mrigor Posted April 16, 2009 Author Share Posted April 16, 2009 Could it be the output handler for PHP. I have it configured for 4096 with the ob_gzhandler. Pretty standard. Also, I am using 5.2.4 version of PHP. Link to comment Share on other sites More sharing options...
pvr Posted August 8, 2009 Share Posted August 8, 2009 Any solutions???I'm interested to know, I have similar issues.thanks Link to comment Share on other sites More sharing options...
Recommended Posts