Author Topic: Error 310 (net::ERR_TOO_MANY_REDIRECTS) When checking out  (Read 3137 times)

sebtis

  • Beginner
  • *
  • Posts: 3
Error 310 (net::ERR_TOO_MANY_REDIRECTS) When checking out
« on: August 12, 2011, 15:05:21 pm »
Hy all,

When checking out on virtuemart V1.1.6 and Joomla 1.5.22 I got the following error message : Error 310 (net::ERR_TOO_MANY_REDIRECTS)

I used router.php for url rewriting is it the problem.

Thanks by advance for your help.

Website : http://www.chamita.ma

Thanks,

Smael

lekreator

  • Beginner
  • *
  • Posts: 4
Re: Error 310 (net::ERR_TOO_MANY_REDIRECTS) When checking out
« Reply #1 on: September 10, 2012, 19:29:54 pm »
The problem is SSL Redirect, to fix this:

Open file pagesshop.cart.tpl.php in

"components\com_virtuemart\themes\YOUR TAMPLATE\templates\pagesshop.cart.tpl.php"

change lines 67 & 68

       $href = $sess->url( $_SERVER['PHP_SELF'].'?page=checkout.index&ssl_redirect=1', true);
         $href2 = $sess->url( $mm_action_url . "/index2.php?page=checkout.index&ssl_redirect=1", true);

to

       $href = $sess->url( $_SERVER['PHP_SELF'].'?page=checkout.index', true);
         $href2 = $sess->url( $mm_action_url . "/index2.php?page=checkout.index", true);

Now save the file and upload it again and your problem will be solved!

Brazilian users, we also love the virtuemart :D