제작홈에 외부로그인을 달려고 그러는데요.+수정 > 그누4 질문답변

그누4 질문답변

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

제작홈에 외부로그인을 달려고 그러는데요.+수정 정보

제작홈에 외부로그인을 달려고 그러는데요.+수정

본문

불러들이는 주소값이 달라서 그런지 외부로그인이 안달리네요..ㅜㅠ
혼자서 별 짓을 다 해보았지만, 항상 틀릴 뿐이지 제대로 된게 없습니다.
주소값을 설정해 주실수 있나 여쭈어봅니다.

그누보드는 /html/gnuboard4 에 있구요
적용될 페이지는 /html/home/login.html입니다.
위의 페이지는 프레임에 불러올 페이지이기에..
전체 홈 html은 /html/home/home.html 입니다.

php로 바꾸어서 뭘 설정하라는 이야기도 있는데 그런것 까지 잘 모르겠어요.ㅜㅠ
도와주세요.ㅜㅠ

  +

아래는 페이지 소스입니다. 시도를 해보았지만 자꾸 실패만 합니다.


<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); 
?> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<br />

<?
echo outlogin("basic"); // basic 스킨으로 아웃로그인을 출력합니다.
?>
</body>
</html>

댓글 전체

head.php 파일에 보시면 그누보드 아웃로그인이 설치된 파일입니다.
님이 아래 적은 내용 그대로입니다.

아래 내용을 님이 붙이고 싶은 파일에 포함 시키시면 됩니다.
--------------------------------
<?
//아웃로그인이 설치파일 서두에 아래 내용 적고
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); 
 

// 붙이고 싶은곳에 이렇게 아웃로그인을 출력합니다
echo outlogin("basic"); // basic 스킨으로 아웃로그인을 출력합니다.
?>
-----------------------------------
이미 시도해보았습니다.
아래와 같은 문구만 나올 뿐이네요.

Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /WEB/infinitefix/html/gunuhome/login.html on line 3

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /WEB/infinitefix/html/gunuhome/login.html on line 3

Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /WEB/infinitefix/html/gunuhome/login.html on line 4

Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /WEB/infinitefix/html/gunuhome/login.html on line 4


Fatal error: Call to undefined function outlogin() in /WEB/infinitefix/html/gunuhome/login.html on line 16
님에 경로들이 모두 틀리네요.
ftp에서  그누보드 설치된경로 /www/aaa/aaa/그누보드   
          /www/aaa/aaa/login.html
          /www/aaa/aaa/home.html  각각에 aaa경로를 정확히 적어보세요.
login.html 파일 line 3 경로를
include_once(./_common.php)  -> include_once(/WEB/infinitefix/html/gunuhome/_common.php)
login.html 파일 line 4 경로를
include_once(/lib/outlogin.lib.php)  -> include_once(/WEB/infinitefix/html/gunuhome/lib/outlogin.lib.php)
이렇게 바꿔보시지요?
/www/그누보드   
          /www/그누보드/login.html
          /www/그누보드/home.html 
          /www/그누보드/_common.php
          /www/그누보드/lib/outlogin.lib.php
님에 ftp에서 위에 파일이 있는 경로
      경로를 적어보세요.  ftp프로그램 윗쪽부분에 나와있는
      각각에 경로를 정확히 적어보세요.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT