"Warning: Cannot modify header information..."
3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 8, 2010 (RSS)
By masai - July 8, 2010
On my client's site (www.idealelectric.com), the following error message is appearing on several of the pages:
"Warning: Cannot modify header information - headers already sent by (output started at D:\domains\idealelectric.com\wwwroot\products.php:80) in D:\domains\idealelectric.com\wwwroot\products.php on line 124"
I can't find anything in the editable content that would cause this to happen, and all the client has done (or admitted to) doing anything out of the ordinary. How do I fix this?
"Warning: Cannot modify header information - headers already sent by (output started at D:\domains\idealelectric.com\wwwroot\products.php:80) in D:\domains\idealelectric.com\wwwroot\products.php on line 124"
I can't find anything in the editable content that would cause this to happen, and all the client has done (or admitted to) doing anything out of the ordinary. How do I fix this?
Re: [masai] "Warning: Cannot modify header information..."
By Jason - July 8, 2010
Hi,
This problem is usually caused by a blank space at the top of the page. The first thing you need to have on the page is the code that includes "viewer_functions.php". Make sure that there is no gap between this and the top of the page. It should look something similar to this:
<?php require_once("cmsAdmin/lib/viewer_functions.php");?>
Give this a try. If you're still experiencing a problem, please attach products.php and I can take a closer look.
Hope this helps.
This problem is usually caused by a blank space at the top of the page. The first thing you need to have on the page is the code that includes "viewer_functions.php". Make sure that there is no gap between this and the top of the page. It should look something similar to this:
<?php require_once("cmsAdmin/lib/viewer_functions.php");?>
Give this a try. If you're still experiencing a problem, please attach products.php and I can take a closer look.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] "Warning: Cannot modify header information..."
By masai - July 8, 2010
That did the trick! Thanks!