*Warning*: Cannot modify header information - headers already sent Print

  • 6

If you get an error in your PHP code similar to the below:

 

*Warning*: Cannot modify header information - headers already sent by
(output started at /home/thefatr/public_html/pgheader.php:12) in
*/home/thefatr/public_html/family_package_locator.php*on line *22*

 

 

To fix the error enable output_buffering in PHP.ini, or use INI_SET to enable output buffer.

 

Example in PHP.ini: output_buffering = On

 

Example INI Set: ini_set('output_buffering', 1);


Was this answer helpful?

« Back

Powered by WHMCompleteSolution