에

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

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.


g4_path 변수가 선언되지 않았습니다. js/capslook.js 라는애러가나네요



<html>

<head>
<?
$g4_path = "../../board";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>


<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor2008">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
 <?echo outlogin("basic"); ?>

</body>

</html>

위에가 소스거든요~ 아웃로그인만넣으면 그러네요 ㅠ
최근게시물은 멀쩡히 동작하던데

댓글 3개

가끔 인크루드가 맨위에 없으면 뜰수도 있는 에러입니다.
<?
$g4_path = "../../board";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor2008">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
 <?echo outlogin("basic"); ?>

</body>

</html>
이렇게 해보세요
딴방법으로 해결했습니다. ㅎㅎ 답변감사합니다.
include_once("$g4[path]/head.sub.php"); <--이거 추가하니까 해결되네요
아.. 헤드가 없었군요 ^^
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-03-15 조회 1,682
10-03-15 조회 957
10-03-15 조회 1,046
10-03-15 조회 865
10-03-15 조회 1,081
10-03-15 조회 2,127
10-03-15 조회 1,229
10-03-15 조회 1,069
10-03-15 조회 1,630
10-03-15 조회 1,125
10-03-14 조회 1,616
10-03-14 조회 1,735
10-03-14 조회 1,061
10-03-14 조회 1,658
10-03-14 조회 1.1만
10-03-14 조회 1,538
10-03-14 조회 1,536
10-03-14 조회 1,111
10-03-14 조회 1,923
10-03-14 조회 1,131