최근게시물 오류해결 좀 부탁합니다. 정보
최근게시물 오류해결 좀 부탁합니다.본문
상단 에러메세지 :
Warning: main(./_common.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/pochajung/index.html on line 10
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 10
Warning: main(./lib/latest.lib.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/pochajung/index.html on line 11
Warning: main(): Failed opening './lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 11
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 10
Warning: main(./lib/latest.lib.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/pochajung/index.html on line 11
Warning: main(): Failed opening './lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 11
--------------
상단입력코드
<?
if(!isset($g4_path)) $g4_path = ".";
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
if(!isset($g4_path)) $g4_path = ".";
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
최근게시물 입력 에러메세지 :
Fatal error: Call to undefined function: latest() in /home2/mkwebdy/public_html/pochajung/index.html on line 127
------------------------------------------------
코드
<?=latest("basic", "pochajung_faq1", 5, 50);?>
--------------------------------------------------------------------------
파일 경로는
/public_html/pochajung
그누보드
/public_html/gboard
제로보드에서는 그리 어렵지 않게 해결을 했는데요.
그누보드는 경로가 좀 복잡하네요.
아 그리고 제로보드는 그대로 있습니다. /public_html/bbs
기존 게시물은 제로보드에서 convert해서 그누보드로 변환했구요.
단순히 경로문제인지....
제로보드가 있어서 그런가요?
댓글 전체
$g4_path를 다음 처럼 변경해보세요.
<?
if(!isset($g4_path)) $g4_path = "gboard";
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
그리고 g4_path 설명방법은 다음 링크를 참고하세요.
그누보드4 > 팁 > g4 파일마다 들어있는 $g4_path, _common.php 설정 및 사용법
http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=271
<?
if(!isset($g4_path)) $g4_path = "gboard";
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
그리고 g4_path 설명방법은 다음 링크를 참고하세요.
그누보드4 > 팁 > g4 파일마다 들어있는 $g4_path, _common.php 설정 및 사용법
http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=271
Warning: main(./common.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/_common.php on line 3
Warning: main(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/_common.php on line 3
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/pochajung/index.html on line 11
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 11
그래도 에러가 뜨네요... 흐미..
Warning: main(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/_common.php on line 3
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home2/mkwebdy/public_html/pochajung/index.html on line 11
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/mkwebdy/public_html/pochajung/index.html on line 11
그래도 에러가 뜨네요... 흐미..
select * from g4_write_free where wr_is_comment = 0 order by wr_id desc limit 0, 5
1146 : Table 'mkwebdy.g4_write_free' doesn't exist
error file : /test.php
http://mkwebdy.com/test.php
경로상에 문제가 있는 지 이런 오류가 뜨네요.
최근게시물 스킨에서 나는 오류입니다.
1146 : Table 'mkwebdy.g4_write_free' doesn't exist
error file : /test.php
http://mkwebdy.com/test.php
경로상에 문제가 있는 지 이런 오류가 뜨네요.
최근게시물 스킨에서 나는 오류입니다.