안녕하세요 최신글을 추출할때 오류만뜨고 되질않아요ㅠ > 그누4 질문답변

그누4 질문답변

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

안녕하세요 최신글을 추출할때 오류만뜨고 되질않아요ㅠ 정보

안녕하세요 최신글을 추출할때 오류만뜨고 되질않아요ㅠ

본문

안녕하세요 회사홈페이지를 만들고있는데 홈페이지는 처음이라 이것저것 막히는게 많네요ㅠ
책보고 인터넷뒤지고 이것저것해보다가 마지막에 최신글에서 막혀버렸어요ㅠ
제가 주소고정을하려고 index에 메모장으로 주소고정을 하고 원래 인덱스 드림위버작업파일을
intro파일로 옮겨서 사용하고있거든요 밑에처럼 나오더라구요ㅠㅠ
제가 잘 알지못해서 최신글을 만들때 중요하고 필요한게 뭔지 잘몰라서
이미지로 편집을 했습니다 흐미 몇몇분이 답변해주셨는데 제가 잘 따라가지못한거같아서
그분들한테도 죄송하고 자꾸 같은질문을 올리는것도 죄송해서ㅠ

맨밑홈페이지 오류글은


Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/seong3921/html/intro.html on line 2

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /web/home/seong3921/html/intro.html on line 2

Warning: include_once(/head.sub.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/seong3921/html/intro.html on line 3

Warning: include_once() [function.include]: Failed opening '/head.sub.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /web/home/seong3921/html/intro.html on line 3

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/seong3921/html/intro.html on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /web/home/seong3921/html/intro.html on line 4

Warning: include_once(/head.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/seong3921/html/intro.html on line 5

Warning: include_once() [function.include]: Failed opening '/head.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /web/home/seong3921/html/intro.html on line 5


와 저 최신글 부분의 오류글은

Fatal error: Call to undefined function latest() in /web/home/seong3921/html/intro.html on line 89

이것입니다

******답변내용으로 수정한뒤 나타나는 현상 추가*******
  • 복사

댓글 전체

_common 이 파일은 그누보드폴더안에있고 주소고정을위한 index파일과 본래 index였던 intro파일은
html최상위 폴더안에있는데 _common이 파일을 html파일로 끌고왔었거든요한번 그랬더니 이번엔 다른파일이 없다고 그러더라구요ㅠㅠ 답변해주신거보고 _common파일열어서 봤더니

<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>

이렇게 써있더라구요 여기서 저기 "."이부분에 경로를 넣어주면 되는걸까요?
제가 수박겉핥기로 만들어서 답변을해주셔도 제대로 이해를 못하네요ㅠㅠ
아우와!답변해주신것처럼 바꾸고 위에 마지막에 저렇게 머리에 그누보드관리자메인이 뜨는건 혹시나해서 include_once("$g4[path]/head.php");
이부분을 지워주니까 되네요 처음에는 include_once("$g4[path]/head.sub.php");
이부분까지 지웟었는데 이부분 지우니까 최신글에 글씨체랑 좀뭔가 이상해지더라구요;그래서 혹시나해서 다시 살려봤더니 되요!!!!!!우와!!!!!!!!!이젠 스킨을 조금씩 바꿔보고있어요 정말정말 고맙습니다!
© SIRSOFT
현재 페이지 제일 처음으로