{"id":1851,"date":"2014-06-26T10:29:02","date_gmt":"2014-06-26T10:29:02","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=1851"},"modified":"2014-07-04T15:00:58","modified_gmt":"2014-07-04T15:00:58","slug":"ob_start","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=1851","title":{"rendered":"Warning: Cannot modify header information &#8211; headers already sent by .."},"content":{"rendered":"<p><strong>error message:<\/strong><\/p>\n<p>Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\\&#8230;\\&#8230;\\&#8230;\\&#8230;\\filexpto.php:1) in\u00a0C:\\&#8230;\\&#8230;\\&#8230;\\&#8230;\\&#8230;.php on line xx<\/p>\n<p>&nbsp;<\/p>\n<p><strong>resolution:<\/strong><\/p>\n<p>open file filexpto.php and add <strong>ob_start();<\/strong> like<br \/>\n[php]<br \/>\n&lt;?php<br \/>\nob_start();<br \/>\n&#8230;.<br \/>\n[\/php]<br \/>\n&nbsp;<\/p>\n<p class=\"refpurpose\"><span class=\"refname\">ob_start<\/span> \u2014 <span class=\"dc-title\">Turn on output buffering<\/span><\/p>\n<p>This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.<\/p>\n<p>&nbsp;<br \/>\nmore in:<br \/>\nhttp:\/\/www.php.net\/manual\/en\/function.ob-start.php<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>error message: Warning: Cannot modify header information &#8211; headers already sent by (output started at C:\\&#8230;\\&#8230;\\&#8230;\\&#8230;\\filexpto.php:1) in\u00a0C:\\&#8230;\\&#8230;\\&#8230;\\&#8230;\\&#8230;.php on line xx &nbsp; resolution: open file filexpto.php and add ob_start(); like [php] &lt;?php ob_start(); &#8230;. [\/php] &nbsp; ob_start \u2014 Turn on output buffering This function will turn output buffering on. While output buffering is active no output [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1851","post","type-post","status-publish","format-standard","hentry","category-php","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1851"}],"version-history":[{"count":5,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1851\/revisions"}],"predecessor-version":[{"id":1866,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1851\/revisions\/1866"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1851"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}