Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

redirect by header problem & how to trace error


pumpkinlam

Recommended Posts

Posted

i try to use the function tep_redirect() in ADMINISTRATOR,

but when it goes to the line: header('Location :...')

it fails to redirect to another page, just leaves a "blank page"..

 

but if the same function tep_redirect() in user page, it does work!

 

have anyone faced this problem?

 

and i wonder is there any methods to trace the error of header?

 

 

thanks!

Posted

make sure you you're using the url that you pass includes the https:// prefix when calling the tep_redirect.

 

Another thing you could try is to copy the tep_redirect function from the catalog end into the admin

Archived

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

×
×
  • Create New...