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

· 2011-05-06 (금) 08:50:44 · 1734 · 4
질문이미지.jpg
안녕하세요 회사홈페이지를 만들고있는데 홈페이지는 처음이라 이것저것 막히는게 많네요ㅠ
책보고 인터넷뒤지고 이것저것해보다가 마지막에 최신글에서 막혀버렸어요ㅠ
제가 주소고정을하려고 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

이것입니다

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

첨부파일

질문이미지.jpg (5.6 MB)
1회 2011-05-06 14:17
|

댓글 4개

2011-05-06 (금) 09:17:48
intro.html 파일 있는곳에 _common.php 파일이 있는지 확인하시고 그안에
$g4_path 이부분경로도 확인해보시면 될거 같은데여??
2011-05-06 (금) 10:39:26
_common 이 파일은 그누보드폴더안에있고 주소고정을위한 index파일과 본래 index였던 intro파일은
html최상위 폴더안에있는데 _common이 파일을 html파일로 끌고왔었거든요한번 그랬더니 이번엔 다른파일이 없다고 그러더라구요ㅠㅠ 답변해주신거보고 _common파일열어서 봤더니

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

이렇게 써있더라구요 여기서 저기 "."이부분에 경로를 넣어주면 되는걸까요?
제가 수박겉핥기로 만들어서 답변을해주셔도 제대로 이해를 못하네요ㅠㅠ
1. _common.php 를 html폴더에 복사
2. 첫줄 수정
$g4_path = "./gnuboard4.utf8";
2011-05-06 (금) 15:03:13
아우와!답변해주신것처럼 바꾸고 위에 마지막에 저렇게 머리에 그누보드관리자메인이 뜨는건 혹시나해서 include_once("$g4[path]/head.php");
이부분을 지워주니까 되네요 처음에는 include_once("$g4[path]/head.sub.php");
이부분까지 지웟었는데 이부분 지우니까 최신글에 글씨체랑 좀뭔가 이상해지더라구요;그래서 혹시나해서 다시 살려봤더니 되요!!!!!!우와!!!!!!!!!이젠 스킨을 조금씩 바꿔보고있어요 정말정말 고맙습니다!
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-05-06 조회 1,683
11-05-06 조회 1,043
11-05-06 조회 1,065
11-05-06 조회 872
11-05-06 조회 2,249
11-05-06 조회 1,060
11-05-06 조회 1,032
11-05-06 조회 3,274
11-05-06 조회 1,675
11-05-06 조회 1,811
11-05-06 조회 1,651
11-05-06 조회 1,895
11-05-06 조회 1,560
11-05-06 조회 1,656
11-05-06 조회 1,735
11-05-06 조회 1,599
11-05-06 조회 1,719
11-05-06 조회 1,618
11-05-06 조회 1,121
11-05-05 조회 1,610