최신글(latest) 에러

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
최신글(latest) 에러

QA

최신글(latest) 에러

본문

안녕하세요^^! 
 
초보인데 최신글 올리려고 검색하다 영카드4 매누얼에 있는 최신글 올리는 방법으로
oseyo.com/test140402.php올리는데 아래와 같은 에러가 뜨네요^^!
에러내용 궁금하고 혹신 그누보드5의 최신글 올리는 방법 게시된 것 있으면 알려주세요^^!
 
 
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>무제 문서</title>
</head>
<body>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "free", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
</body>
</html>

---- 아래(에러)
 
Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 492

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 493

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 494

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 495

Warning: Cannot modify header information - headers already sent by (output started at /home/wondermi/www/test140402.php:9) in /home/wondermi/www/common.php on line 496

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/home/wondermi/:/tmp/) in /home/wondermi/www/test140402.php on line 11

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /home/wondermi/www/test140402.php on line 11

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/wondermi/www/test140402.php on line 11

Fatal error: Call to undefined function latest() in /home/wondermi/www/test140402.php on line 12

이 질문에 댓글 쓰기 :

답변 2



<?php 
include_once("./_common.php"); 
?> 
<html > 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>무제 문서</title>
<?php 
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다. 
?>
</head> 
<body>
<?php
echo latest("basic", "free", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다. 
?> 
</body> 
</html>

바쁘신데 ! 감사드립니다^^! 위에 것 복사해서 올리니 아래와 같이 에러가 떠서

Parse error: syntax error, unexpected T_INCLUDE_ONCE in /home/wondermi/www/test140405.php on line 2

유사 Q&A를  검색하니

$g5_path='./gnuboard5';
@require_once($g5_path.'/common.php');    로 대체 해보라고 해서 해보니까

에러는 안뜨는데 빈페이가 나오네요~! 이게 맞게 된 건가요^^?

<? include_once("./_common.php"); ?>
<html>
식으로 맨위에 위치후 테스트해 보세요.

답변감사드립니다. 아래와 같이 변경했는데 같은 에러가 나오네요^^!
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "free", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>무제 문서</title>
</head>
<body>
</body>
</html>

답변을 작성하시기 전에 로그인 해주세요.
전체 0
QA 내용 검색
  • 개별 목록 구성 제목 답변작성자조회작성일
  • 질문이 없습니다.

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT