ysco Posted August 29, 2012 Share Posted August 29, 2012 (edited) Hello all, I have a problem when a customer places a order as guest they will receive the order confirmation and can track the order status for guest. When you fill in the necessary info as order number and email address and hit the button then you will get the security message warning about encrypted page bla bla now you can hit the continue button and the page refresh but it will not load the order page. When i go to my controller folder and open the file GuestTrackingController.php and change on line 30 public $ssl = true; to false and then try it again the order page is loaded but now the page is not SSL encrypted and not secure for my customers. I already read some topics on Forge.prestashop but did not find the solution, i already tried the latest GuestTrackingController.php from SVN but also no luck. I attached a image so you see whats wrong. Hope someone can point me in the correct direction. Thanks. Best regards, ysco.. Edited August 31, 2012 by ysco (see edit history) 1 Link to comment Share on other sites More sharing options...
indus Posted August 29, 2012 Share Posted August 29, 2012 Thanks a lot for posting this. I have the same problem and didnt realise it is due to SSL. Without SSL guest tracking works fine. I will try your trick and see if it works with ssl and post back. Link to comment Share on other sites More sharing options...
ysco Posted August 30, 2012 Author Share Posted August 30, 2012 Hello indus, Did you try it already ? Come on people, there must be more that probably have the same issues as we have. Any suggestion is welcome to fix this annoying problem, easiest is to set ssl from true to false as i described but that is not the solution to fix this problem correctly. ysco.. Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 hi buddy. send me a pm with a customer data acecss and i test Link to comment Share on other sites More sharing options...
ysco Posted August 30, 2012 Author Share Posted August 30, 2012 Hello my friend, Pm send Regards, ysco.. Link to comment Share on other sites More sharing options...
indus Posted August 30, 2012 Share Posted August 30, 2012 Hey i havent tested your method ysco since i too believe that is not the correct way. I wait for shacker's reply now Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 hi buddy. I test with your data, but when i put order id and email, nothing happends, only reload the page Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 and send me a valid Postal code to create a account Link to comment Share on other sites More sharing options...
indus Posted August 30, 2012 Share Posted August 30, 2012 Well shacker, are you trying to fix the problem ? Because we already know it does not work. Isnt that why this thread exists? Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 ysco contact to em for the ssl problem, but i can get the order tracking show nothing first (no error) Link to comment Share on other sites More sharing options...
indus Posted August 30, 2012 Share Posted August 30, 2012 Its not an error, what he is saying is that there is unsecured items warning in browser when entering the order number and email. I have the same issue but that is not the problem. Once you click on continue the page just reloads and does not show order status. Link to comment Share on other sites More sharing options...
ysco Posted August 30, 2012 Author Share Posted August 30, 2012 Hello shacker, The problem is indeed that when you click on continue then the page reloads and will not show the order status. When you set SSL from true to false then it will show the order status but then you have a unsecured page. I can send you a postal code but the problem you have seen now it does not show the order status page. I also had set errors also on yesterday but the problem is that it not shows any error, more people must have this problem when they use SSL, indus also have exactly the same problem. Did you try it on your site shacker to see if it works for you ? So if you have any ideas buddy then let me know. Thanks as always. Best regards, ysco.. Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 i just checked on my live site, with ssl, and works fine. i have 1.4.9. Try testing with the guest tracking tpl of the latest prestashop default theme Link to comment Share on other sites More sharing options...
indus Posted August 30, 2012 Share Posted August 30, 2012 (edited) hi ysco I have used your tip and edited ssl = false in the guesttrackingcontroller and now it works. Iam fine with the tracking page not having ssl for now. I have filed a bug and i will change it back when the problem is solved. http://forge.prestashop.com/browse/PSCFI-6472 I tried what shacker suggested but the problem remains. Edited August 30, 2012 by indus (see edit history) Link to comment Share on other sites More sharing options...
ysco Posted August 30, 2012 Author Share Posted August 30, 2012 (edited) @ shacker I have compared those files yesterday and there was no difference between them, i also try`t the latest GuestTrackingController.php yesterday from svn but that also make no difference. This is a weird bug and can not understand why i does not loads the order tracking page in SSL. Maybe something has change in the latest version? Well i m not intend right away to upgrade to the latest version as i seen a lot off people has trouble with autoupgrade. Will wait for 1.4.9.1 i think. Thanks buddy. @ indus Yes it works when you set it to false but i can not stand it that SSL is not working correct somehow, i like to give my customers a secure page but till there is a fix this is the only thing you can do otherwise your customers can not track down there order. Still hoping for a solution, will also dig further to see what is causing the problem. Best regards, ysco.. Edited August 30, 2012 by ysco (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted August 30, 2012 Share Posted August 30, 2012 i change the guest controller file in controller folder and works. search self::$smarty->assign(array('action' => $link->getPageLink('guest-tracking.php'), 'errors' => $this->errors)); and change to self::$smarty->assign(array('action' => $link->getPageLink('guest-tracking.php', true), 'errors' => $this->errors)); 2 Link to comment Share on other sites More sharing options...
indus Posted August 31, 2012 Share Posted August 31, 2012 (edited) yahoo it works ! The warning about unsecure content does not appear and the order details page loads. Thanks Shacker Edited August 31, 2012 by indus (see edit history) Link to comment Share on other sites More sharing options...
ysco Posted August 31, 2012 Author Share Posted August 31, 2012 Hello Shacker, Will test this fix also when i m home again. Thanks as always my friend. Best regards, ysco.. Link to comment Share on other sites More sharing options...
shacker Posted August 31, 2012 Share Posted August 31, 2012 your welcome. please change the title to solved. regards Link to comment Share on other sites More sharing options...
ysco Posted August 31, 2012 Author Share Posted August 31, 2012 Hello buddy, I just try't the code you posted and works a charm So there whas a bug in PS , strange that not more people noticed it. Im glad that this problem is solved. Thanks again. Best regards, ysco.. Link to comment Share on other sites More sharing options...
mir-aus Posted October 9, 2012 Share Posted October 9, 2012 I have change that code still I have problem with chrome .. any suggestion Link to comment Share on other sites More sharing options...
appliances Posted December 11, 2012 Share Posted December 11, 2012 i change the guest controller file in controller folder and works. search self::$smarty->assign(array('action' => $link->getPageLink('guest-tracking.php'), 'errors' => $this->errors)); and change to self::$smarty->assign(array('action' => $link->getPageLink('guest-tracking.php', true), 'errors' => $this->errors)); $this->context->smarty->assign(array('action' => $this->context->link->getPageLink('guest-tracking.php', true),'errors' => $this->errors,)); That is the closest piece of coding I found to the one you posted. And even when I change this the page shows up blank or gives me an error. Also, I currently have an SSL but I never tested this without the SSL so I don't know if it is because of that or isn't. Is there any way I can fix this? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts