Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header error


jupiter

Recommended Posts

Thank you for the fix. However after I go to checkout and login I get this message. I?ve just started learning PHP.

 

Please help!

 

Warning: Cannot modify header information - headers already sent by (output started at /home/jupiter/public_html/shop/includes/functions/html_output.php:304) in /home/jupiter/public_html/shop/includes/functions/general.php on line 23

 

This is the top half of general.php

 

 

<?php

/*

$Id: general.php,v 1.202 2002/11/23 02:29:39 thomasamoulton Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

////

// Stop from parsing any further PHP code

function tep_exit() {

tep_session_close();

exit();

}

 

////

// Redirect to another page or site

function tep_redirect($url) {

header('Location: ' . $url);

tep_exit();

}

 

////

// Error message wrapper

// When optional parameters are provided, it closes the application

// (ie, halts the current application execution task)

function tep_error_message($error_message, $close_application = false, $close_application_error = '') {

echo $error_message;

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...