C

경로 설정 및 경로 파일 찾기좀 알려주세요 ..

http://new.itzone.co.kr/



현재 구축하고 있는 홈페이지 입니다.
메인페이지에 최근 게시물 추출 스킨을 사용하여서
메인페이지 구성을 하고 있는데
이러한 에러가 발생하네요 ...연동도 잘 안되는거 같고
도통 머가 먼지 잘 몰르겠습니다.. 어깨 넘어 배운거라..자세히 몰라서 이렇게
질문 드립니다.
중앙 부분 테이블에서 network 클릭시 에러문구가 나타나고요 로그인할려고 해도 에러가
발생하네요 ...알려주시면 감사하겟습니다.
<메인페이지 에러 문구>
Warning: include(./skin/latest/latest_naverYs_s/latest.skin.php) [function.include]: failed to open stream: No such file or directory in /home/www_bak/lib/latest.lib.php on line 29

Warning: include() [function.include]: Failed opening './skin/latest/latest_naverYs_s/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www_bak/lib/latest.lib.php on line 29
<latest.lib.php  해당 소스 입니다.>
<?
if (!defined('_GNUBOARD_')) exit;

// 최신글 추출
function latest($skin_dir="", $bo_table, $rows=10, $subject_len=40, $options="")
{
    global $g4;

    if ($skin_dir)
        $latest_skin_path = "$g4[path]/skin/latest/$skin_dir";
    else
        $latest_skin_path = "$g4[path]/skin/latest/basic";

    $list = array();

    $sql = " select * from $g4[board_table] where bo_table = '$bo_table'";
    $board = sql_fetch($sql);

    $tmp_write_table = $g4['write_prefix'] . $bo_table; // 게시판 테이블 전체이름
    //$sql = " select * from $tmp_write_table where wr_is_comment = 0 order by wr_id desc limit 0, $rows ";
    // 위의 코드 보다 속도가 빠름
    $sql = " select * from $tmp_write_table where wr_is_comment = 0 order by wr_num limit 0, $rows ";
    //explain($sql);
    $result = sql_query($sql);
    for ($i=0; $row = sql_fetch_array($result); $i++)
        $list[$i] = get_list($row, $board, $latest_skin_path, $subject_len);
   
    ob_start();
    include "$latest_skin_path/latest.skin.php";
    $content = ob_get_contents();
    ob_end_clean();

    return $content;
}
?>


<로그인시 에러>
Warning: include_once(../skin/member/mw.member/login.skin.php) [function.include-once]: failed to open stream: No such file or directory in /home/www_bak/bbs/login.php on line 23

Warning: include_once() [function.include]: Failed opening '../skin/member/mw.member/login.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www_bak/bbs/login.php on line 23


<login.php
파일입니다.>
<?
include_once("./_common.php");

$g4[title] = "로그인";
include_once("./_head.php");

// 이미 로그인 중이라면
if ($member[mb_id])
{
    if ($url)
        goto_url($url);
    else
        goto_url($g4[path]);
}

if ($url)
    $urlencode = urlencode($url);
else
    $urlencode = urlencode($_SERVER[REQUEST_URI]);

$member_skin_path = "$g4[path]/skin/member/$config[cf_member_skin]";

include_once("$member_skin_path/login.skin.php");

include_once("./_tail.php");
?>
skin/member/basic/login.skin.php 파일이 있는데 왜 못불러 오는거죠 ..;;
꼭좀 알려주세요 ㅜ

|

댓글 2개

배추빌더를 사용하셨나요?

그누보드 원본에 배추빌더의 member스킨과 최신글 스킨을 적용하신건가요?
로그인스킨과 최신스킨의 경로 찾지 못하고 있네요.
보여지는 페이지로 봐서는 그런 생각이 드네요.

쪽지주세요
전에 사용하던 홈페이지를 고치는 것이라면
새로 설치한 내용에 덮어쓰기가 잘못되어서 경로를 찾지 못하는 경우가
있습니다.

문제점을 차근차근 해결해 보겠습니다.

1. 먼저 수정할 홈페이지 내용에서 lip폴더를 삭제합니다
그누보드 원본에서 lip폴더를 복사해서 붙여넣습니다.

2. 먼저 수정할 홈페이지 내용에서 login.php를 삭제합니다.
그누보드 원본 login.php를 복사해서 붙여넣습니다.

3. 먼저 수정할 홈페이지 내용에서 skin/member 폴더안에
basic스킨 폴더가 존재하는지 확인합니다.

4. 브라우저에서 새로고침해보세요. 문제가 해결되지 않았다면 댓글 남기세요.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
16년 전 조회 968
16년 전 조회 1,514
16년 전 조회 1,714
16년 전 조회 1,236
16년 전 조회 948
16년 전 조회 2,330
16년 전 조회 859
16년 전 조회 1,845
16년 전 조회 1,145
16년 전 조회 1,538
16년 전 조회 826
16년 전 조회 1,248
16년 전 조회 1,002
16년 전 조회 1,016
16년 전 조회 881
16년 전 조회 1,318
16년 전 조회 974
16년 전 조회 803
16년 전 조회 1,543
16년 전 조회 1,551
🐛 버그신고