외부로그인 질문이요~ 화면파일 첨부합니다 > 그누4 질문답변

그누4 질문답변

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

외부로그인 질문이요~ 화면파일 첨부합니다 정보

외부로그인 질문이요~ 화면파일 첨부합니다

본문

로그인 화면이요~
일단 테스트 페이지로 test7.php 로 로그인 페이지를 만들고있는데요

베이직 스킨으로
-----------------------------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
$g4['title'] = "";
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body><table width="66" border="0">
  <tr>
    <td><?=outlogin("basic")?></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

</body>
</html>
-----------------------------------------------------------------------------------------

test7.php 이렇게 올렸구요

페이지를 확인하면

-----------------------------------------------------------------------------------------
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/ferbo/www/test7.php on line 2

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/ferbo/www/test7.php on line 2

Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/ferbo/www/test7.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/ferbo/www/test7.php on line 3

Fatal error: Call to undefined function outlogin() in /home/hosting_users/ferbo/www/test7.php on line 12
-----------------------------------------------------------------------------------------
이러한 화면이 나와요

왤까여? ^^;;;

아시는분 도움좀 주시길요..

화면파일 첨부합니다.
  • 복사

댓글 전체

test7.php 파일과 _common.php 파일이 다른 곳에 있네요.
즉 test7.php파일을 _common.php파일이 있는 폴더로 옮겨 주시던가
아니면 _common.php파일의 경로를 확인해 보세요.
그누보드의 index.php 파일은 기본적으로 필요한 파일들이 같은 폴더에 있습니다.
그러니 파일들을 확인해 보면 금방 이해가 갈겁니다.
© SIRSOFT
현재 페이지 제일 처음으로