염치없지만 쌩초보질문 또 한번ㅠㅠ

외부로그인스킨을 깔고 적용될 index.html의 맨위에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("happy");
?>
를 붙인다음에요...

외부로그인이 들어갈자리에다가는
<div id="apDiv2">
  <iframe src="http://ezenpj.net/gnuboard4/login.php" name="login" width=200 marginwidth="0" height=130 marginheight="0" scrolling="no" frameborder="0" allowtransparency="false" border="0">
  <?=outlogin("happy")?>
  </iframe>
</div>
넣어 주었거든요??

그런다음 드림위버에서 브라우저로 확인할떄는 로그인창이 뜨는데
ftp에 업로드한다음에 도메인을 쳐서들어감
아무이미지도 안뜨고
Warning
: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /home/epmaster/index.html on line 2

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

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

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

Fatal error: Call to undefined function outlogin() in /home/epmaster/index.html on line 5

요런 경고메세지만 뜹니다...


웹디 완전썡초보에 신입으로 들어왔는데 가르쳐주시는 분이 없어서 알방법이 업써요
저좀 도와주세요....

|

댓글 3개

<? 위에 뭐가 있는거 아닐까요?
위에 암것두 없는데요ㅠㅠ
_common.php 화일이 없다는 겁니다
index.html이 위치하는 폴더에 존재해야하는 화일입니다

그리고
echo outlogin("happy"); 이렇게 로그인 창을 출력했는데
아래쪽 iframe에서 다시 로그인창을 출력하는 이유는 뭔가요?(출력하는 방법도 이상한 방법입니다)
외부로그인이 들어갈자리에 <?=outlogin("happy")?>만 해주면 됩니다
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,016
15년 전 조회 1,103
15년 전 조회 1,405
15년 전 조회 1,785
15년 전 조회 1,555
15년 전 조회 773
15년 전 조회 1,046
15년 전 조회 989
15년 전 조회 1,525
15년 전 조회 974
15년 전 조회 914
15년 전 조회 987
15년 전 조회 1,723
15년 전 조회 1,358
15년 전 조회 1,010
15년 전 조회 1,581
15년 전 조회 1,519
15년 전 조회 1,008
15년 전 조회 2,128
15년 전 조회 949
🐛 버그신고