질문드립니다. > 자유게시판

자유게시판

질문드립니다. 정보

질문드립니다.

본문

질문답변 게시판에 질문올렸었는데 확실한답변이 없어서 여기에 올려요..

Warning: Cannot modify header information - headers already sent by (output started at /home/zrto/public_html/domain/index.php:58) in/home/zrto/public_html/domain/index.php on line 60

이 에러는 내용이 헤더보다 먼저나왔다는것 같은데 어떻게해결하나요?

되도록이면, 소스수정없이 서버에서 수정할수있게 답변주시면 감사하겠습니다.. php.ini 에서 설정하라던지 그런거 주시면 감사..~♡
추천
0
  • 복사

댓글 8개

세션관련된 오류인것같은데요.

domain/index.php 58번라인
echo('<img src=\'http://zr.to/plugin/refer/click.php?mb_id='.$_SESSION["a_vlab"].'&id=1\' width="0" height="0">');

domain/index.php 60번라인
setcookie("refer", $_SERVER[HTTP_REFERER], time()+(3600*24), '/', $cfg_domain);
echo('<img src=\'http://zr.to/plugin/refer/click.php?mb_id='.$_SESSION["a_vlab"].'&id=1\' width="0" height="0">');

이걸 61번째 라인으로 옮기면 됩니다. ㄳ
소스를 보지 않는이상 정확히 말씀드리기 어렵지만.
아주 간단한 문제일수 있습니다.

예를들어

인덱스에서.

공백
<?
head 인클루드
?>

또는

<?
php 소스
?>
공백
<?
head 인클루드
?>

자세한 답변 원하신다면 해당 파일이나 소스가 필요한듯 보이네요.
© SIRSOFT
현재 페이지 제일 처음으로