그누보드 메인페이지에서 Warning: include_once(../_common.php): 오류뜹니다. ㅠ.ㅠ 정보
그누보드 메인페이지에서 Warning: include_once(../_common.php): 오류뜹니다. ㅠ.ㅠ본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://samyeon.cafe24.com/index.html
예전에도 그누보드로 몇번 제작을 해봤습니다만, 나름대로 이것저것 이곳 질문/답변의 고수분들
덕택에 어느정도 간단하게 최근게시물 설치할수있을정도로 해왔습니다만,
이번엔 utf-8 로 새로운사이트를 만들려고 하니......(utf버젼을 다운받아서)....
예전처럼 메인에 넣을 코드를 넣었는데도 계속 이런 오류메세지가 뜹니다....
제가 다운받은 파일에 문제가 있는걸까요?
아니면 제가 빼먹은 게 있는건가요?
혹시나 도움될만한 답변 부탁드리겠습니다.
오류문구)
Warning: include_once(../_common.php): failed to open stream: No such file or directory in /home/hosting_users/samyeon/www/index.html on line 2 Warning: include_once(): Failed opening '../_common.php' for inclusion (include_path='.:/usr/local/php53/lib/php') in /home/hosting_users/samyeon/www/index.html on line 2 Warning: include_once(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/samyeon/www/index.html on line 3 Warning: include_once(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php53/lib/php') in /home/hosting_users/samyeon/www/index.html on line 3
오류 주소 : http://samyeon.cafe24.com/index.html
예전에도 그누보드로 몇번 제작을 해봤습니다만, 나름대로 이것저것 이곳 질문/답변의 고수분들
덕택에 어느정도 간단하게 최근게시물 설치할수있을정도로 해왔습니다만,
이번엔 utf-8 로 새로운사이트를 만들려고 하니......(utf버젼을 다운받아서)....
예전처럼 메인에 넣을 코드를 넣었는데도 계속 이런 오류메세지가 뜹니다....
제가 다운받은 파일에 문제가 있는걸까요?
아니면 제가 빼먹은 게 있는건가요?
혹시나 도움될만한 답변 부탁드리겠습니다.
오류문구)
Warning: include_once(../_common.php): failed to open stream: No such file or directory in /home/hosting_users/samyeon/www/index.html on line 2 Warning: include_once(): Failed opening '../_common.php' for inclusion (include_path='.:/usr/local/php53/lib/php') in /home/hosting_users/samyeon/www/index.html on line 2 Warning: include_once(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/samyeon/www/index.html on line 3 Warning: include_once(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php53/lib/php') in /home/hosting_users/samyeon/www/index.html on line 3
댓글 전체
경로값 설정이 잘못 된것 같다는 생각이 드네욤 :)
../_common.php
위 부분을
./_common.php
파일로 바꾸어보세요.
아니라면 그누보드의 기본 디렉토리가 따로 존재한다면 그런식의 경로값 조정이 필요할 듯 하네요~
../_common.php
위 부분을
./_common.php
파일로 바꾸어보세요.
아니라면 그누보드의 기본 디렉토리가 따로 존재한다면 그런식의 경로값 조정이 필요할 듯 하네요~
넹....감사합니다만...ㅠ.ㅠ 안되네요.....현재 index.html 안에 맨위에다가
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
요렇게 넣었구요......
현재 ftp안에 gnuboard4폴더안에 그누보드 관련 파일들이 있습니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
요렇게 넣었구요......
현재 ftp안에 gnuboard4폴더안에 그누보드 관련 파일들이 있습니다.
그럼 include_once("./_common.php"); 라인을 날리시구욤.
#####
$g4_path='./gnuboard4';
@require_once($g4_path.'/common.php');
#####
위의 두 라인을 넣어보세욤~!
#####
$g4_path='./gnuboard4';
@require_once($g4_path.'/common.php');
#####
위의 두 라인을 넣어보세욤~!
오~~~~진심으로 감사드립니다.^___^ 되는군요.....그나저나 그누보드는 하면할수록 어렵네요..전 당연히 지난번 처럼 하면 되는줄알았는데......똑같이 해도 안되는건...더 많은 공부를 해야할듯합니다...아무쪼록 진심으로 감사드려요^^