미채택 완료

변수가 선언되지 않았습니다

2014-06-18 (수) 09:09:20 4,425
" g4_is member 변수가 선언되지 않았습니다. js/sideview.js " 이런경고문구가 뜨는데 어디서 어떻게 해결 하나요?
|

답변 1개 / 댓글 1개

2014-06-18 (수) 09:24:17
<? 
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개

2014-06-18 (수) 09:39:16
해결된듯 싶습니다

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

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