My b2evolution Version: 3.3.3
when I try to make a post as an unknown user
gives the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/dbsoftwa/public_html/_websites/victorcamon/blogs/skins/camoncss/index.main.php:2) in /home/dbsoftwa/public_html/_websites/victorcamon/blogs/inc/_core/_template.funcs.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /home/dbsoftwa/public_html/_websites/victorcamon/blogs/skins/camoncss/index.main.php:2) in /home/dbsoftwa/public_html/_websites/victorcamon/blogs/inc/_core/_template.funcs.php on line 182
switch( $status )
{
case 301:
// This should be a permanent move redirect!
#LINE 168 header( 'HTTP/1.1 301 Moved Permanently' );
break;
case 303:
// This should be a "follow up" redirect
// Note: Also see http://de3.php.net/manual/en/function.header.php#50588 and the other comments around
header( 'HTTP/1.1 303 See Other' );
break;
case 302:
default:
header( 'HTTP/1.1 302 Found' );
}
LINE #182 header( 'Location: '.$redirect_to, true, $status ); // explictly setting the status is required for (fast)cgi
How can i resolve this warning? How can i disable warning and error reporting?
Thanks
See if there's a whitespace in the top of this file
/home/dbsoftwa/public_html/_websites/victorcamon/blogs/skins/camoncss/index.main.php
File content must start with <?php