Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Log In Problem


Aziz

Recommended Posts

greetings,

 

I have setted up my shopping cart..

 

When the user redirects, they go to an empty page "in realty its this page:

 tep_redirect(tep_href_link($origin_href));

This redirecting function does not seem to work.. i tried to redirect it myself using the header function, it did not work either..

 

Is their something wrong, and where does that function orginate from..

 

Every other aspect of the shopping cart is working nicely..

 

It even logs the user in, except it does not redirect them to the my account/index page...

 

Did anyone encounter such problem before..

 

Please Help..

 

Thanks,

--------------------------------

Link to comment
Share on other sites

Incase You guys need more information, this is where the mistake occurs:

 

f (sizeof($navigation->snapshot) > 0) {
         $origin_href = tep_href_link($navigation->snapshot['page'],    tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);
         $navigation->clear_snapshot();
        tep_redirect(tep_href_link($origin_href));
       } else {
tep_redirect(tep_href_link(FILENAME_DEFAULT));
  
       }

 
     }
  
   }

 }

 

The redirection deos not seem to work??

 

Please Advice,

--------------------------------

Link to comment
Share on other sites

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...