Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems w/ blank pages and tep_redirect()


dwhite

Recommended Posts

Posted

Greetings All,

I recently uploaded a new site to my host. I'm running into a few problems with blank pages coming up. For instance, when the "My Account" link is selected or when a user submits from the "Contact Us" page, or when a user submits to create a new account. Other than the page not loading, it looks like the functions work e.g. I get email, accounts get created, etc. The one thing that all these pages seem to have in common is that they use the tep_redirect() function. Any help would be appreciated. You can view this behavior by visiting the website.

 

http://www.marshallsmemories.com

 

Thanks in advance!

 

D

Posted

Ok, figured it out. Some blank space had crept into the last lines of a couple of my files that get included in application_top.php. The tep_redirect uses the php header() function. This function will fail if there is any text included before it e.g. white space.

Archived

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

×
×
  • Create New...