N

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

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

그누보드는 /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>
|

댓글 7개

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프로그램 윗쪽부분에 나와있는
각각에 경로를 정확히 적어보세요.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 1,062
13년 전 조회 1,163
13년 전 조회 989
13년 전 조회 1,306
13년 전 조회 965
13년 전 조회 1,563
13년 전 조회 1,140
13년 전 조회 1,314
13년 전 조회 1,221
13년 전 조회 1,607
13년 전 조회 1,680
13년 전 조회 2,518
13년 전 조회 1,051
13년 전 조회 1,474
13년 전 조회 1,578
13년 전 조회 1,546
13년 전 조회 1,550
13년 전 조회 1,717
13년 전 조회 1,556
13년 전 조회 1,102