-2

Possible Duplicate:
PHP error: Cannot modify header information – headers already sent
Headers already sent by PHP

I am working on an old osCommerce what is heavily modified before. I am getting the following error message:

Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at D:\xampp1.7\htdocs\admin\includes\database_tables.php:1404) in D:\xampp1.7\htdocs\admin\includes\functions\sessions.php on line 109

Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at D:\xampp1.7\htdocs\admin\includes\database_tables.php:1404) in D:\xampp1.7\htdocs\admin\includes\functions\sessions.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at D:\xampp1.7\htdocs\admin\includes\database_tables.php:1404) in D:\xampp1.7\htdocs\admin\includes\functions\general.php on line 62

Please help to solve this problem. Thank you.

Community
  • 1
  • 1
haiderc
  • 43
  • 1
  • 1
  • 5

1 Answers1

1

The problem is that you have output being emitted before calling session_register() (which should also be replaced by _SESSION anyway). How about looking at D:\xampp1.7\htdocs\admin\includes\database_tables.php:1404?

Explosion Pills
  • 188,624
  • 52
  • 326
  • 405