Jump to content

Getting "Cannot modify header information" Error - Please HELP


blastbum

Recommended Posts

Hi,

 

I'm getting the following error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/www/integritynet.com.au/caesars/secure/index.php:2) in /home/www/integritynet.com.au/caesars/secure/index.php on line 354

 

The code that the above error is refering to is the following:

 

353: if(isset($order_dets['error'])) {
354: header("location: ".$PHP_SELF."?id=".$id);
355: exit;
356: }

 

I have also attached the "index.php" file that the above code is from.

 

Apparently, the error is happening if one of the fields isn't being filled in.

 

Let me know if you need any other information to fix this.

 

Your help will be GREATLY appreciated.

 

Kind Regards,

 

Dan S

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.