하위폴더의 head.php 못읽어요;; 정보
하위폴더의 head.php 못읽어요;;본문
이상없이 돌아가는 홈페이지를 만들고
추가로 영문 홈페이지를 만들기 위해
gnuboard4 폴더에 eng 라는 하위 폴더를 만들었습니다.
그리고 일단 head부분(top과 left)와 bottom을 이상없이 불러오는지
확인하려했는데 아예 못불러오네요;;
경로만 하위로 바뀐건데 왜 못 불러오죠??
원래 홈페이지 헤드 부분
<?
include_once("./_common.php");
$g4['title'] = "한국어 홈페이지";
$cate_num=0;
include_once("./head0.php");
?>
eng 폴더의 영문 홈페이지 헤드 부분
<?
include_once("../_common.php");
$g4['title'] = "영문 홈페이지";
$cate_num=0;
include_once("../head0.php");
?>
------------
그래서 경로를 맞추기 위해서
_common2.php를 만들고
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
와 같이 해봐도 전혀 못불러오네요;;
왜 그런가요? ㅡㅜ
추가로 영문 홈페이지를 만들기 위해
gnuboard4 폴더에 eng 라는 하위 폴더를 만들었습니다.
그리고 일단 head부분(top과 left)와 bottom을 이상없이 불러오는지
확인하려했는데 아예 못불러오네요;;
경로만 하위로 바뀐건데 왜 못 불러오죠??
원래 홈페이지 헤드 부분
<?
include_once("./_common.php");
$g4['title'] = "한국어 홈페이지";
$cate_num=0;
include_once("./head0.php");
?>
eng 폴더의 영문 홈페이지 헤드 부분
<?
include_once("../_common.php");
$g4['title'] = "영문 홈페이지";
$cate_num=0;
include_once("../head0.php");
?>
------------
그래서 경로를 맞추기 위해서
_common2.php를 만들고
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
와 같이 해봐도 전혀 못불러오네요;;
왜 그런가요? ㅡㅜ
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '232952' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php