이 에러 왜 나올까요?? 정보
이 에러 왜 나올까요??-
Terrorboys 홈페이지 자기소개 아이디로 검색 회원게시물
- 1,469

본문
select * from g4_write_notice where wr_is_comment = 0 order by wr_num, wr_reply limit -15, 15
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 1
error file : /infocube/bbs/board.php
게시판 생성하고
상단파일 결로를
../sub/sub_4/head.php
로 맞추고
../sub/sub_4/head.php 파일에...
include_once("./_common.php");
include_once("$g4[path]/_head.php");
이렇게 맞추고 동일 폴더_common.php에는
<?
$g4_path = "../.."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
이렇게 했습니다.
보드 버전은 최신 버전입니다.
동일 방법으로 셋팅한 다른 사이트는 잘되고 있습니다.
신버전 에러인가...
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 1
error file : /infocube/bbs/board.php
게시판 생성하고
상단파일 결로를
../sub/sub_4/head.php
로 맞추고
../sub/sub_4/head.php 파일에...
include_once("./_common.php");
include_once("$g4[path]/_head.php");
이렇게 맞추고 동일 폴더_common.php에는
<?
$g4_path = "../.."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
이렇게 했습니다.
보드 버전은 최신 버전입니다.
동일 방법으로 셋팅한 다른 사이트는 잘되고 있습니다.
신버전 에러인가...
댓글 전체
limit 불러올 레코드, 불러올 갯수
불러올 레코드 >= 0
불러올 레코드 >= 0
설치직후 나온 에러라서요...
이런..... head파일에 보드 기본 변수가 사용되고 있어서 충돌을 일으키는거였네요 ㅡㅡ;;;;