테스트 사이트 - 개발 중인 베타 버전입니다

변수가 선언되지 않았습니다 채택완료

11년 전 조회 4,117
" g4_is member 변수가 선언되지 않았습니다. js/sideview.js " 이런경고문구가 뜨는데 어디서 어떻게 해결 하나요?
댓글을 작성하려면 로그인이 필요합니다.

답변 1개

include_once("./_common.php"); 
include_once("$g4[path]/lib/latest.lib.php"); 
include_once("$g4[path]/lib/outlogin.lib.php"); 
include_once("$g4[path]/head.sub.php"); 
?> 
위 코드가 모두 포함되어 있는지 확인해보세요.
로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

해결된듯 싶습니다

Warning: Cannot modify header information - headers already sent by (output started at /www/*****_co_kr/index.html:2) in /www/*****_co_kr/head.sub.php on line 32, 34, 35, 36, 37, 38

메세지가 뜨네요



32: header("Content-Type: text/html; charset=$g4[charset]");
33: $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
34: header("Expires: 0"); // rfc2616 - Section 14.21
35: header("Last-Modified: " . $gmnow);
36: header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
37: header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
38: header("Pragma: no-cache"); // HTTP/1.0

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록

🐛 버그신고