Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

tep_redirect not working on 4.3.8


Recommended Posts

how can i get tep_redirect to work on 4.3.8... this is the error i get


Warning: Cannot modify header information - headers already sent by (output started at /website/oscom/catalog/index.php:37) in /website/oscom/catalog/includes/functions/general.php on line 29


i remove this line



and it does not give me an error... please help

Link to comment
Share on other sites

Redirects require that the web server write an HTTP header. If your code has already started producing output, then headers have already been written. What the error message is telling you is that in index.php, you have output being written before the line


If you have any blank lines or HTML code outside of the <?php ?> tages, or use echo, print(), etc before you call te_redirect(), this will cause the error.



Discount Coupon Codes


Link to comment
Share on other sites


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

  • Create New...