Jump to content

<SOLVED> Problem with SSL and Guest Tracking need some help on this.


Recommended Posts

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..

post-31440-0-25192100-1346269479_thumb.png

Edited by ysco (see edit history)
  • Like 1
Link to comment
Share on other sites

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

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

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

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 by indus (see edit history)
Link to comment
Share on other sites

@ 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 by ysco (see edit history)
Link to comment
Share on other sites

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));

  • Like 2
Link to comment
Share on other sites

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

  • 1 month later...
  • 2 months later...

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

×
×
  • Create New...