우왕!~ 이거 때문에 미치겠네요 경로 설정 문제..ㅠㅠ 도와주삼.. 정보
우왕!~ 이거 때문에 미치겠네요 경로 설정 문제..ㅠㅠ 도와주삼..본문
root 에 queen9 이란 폴더 안에 gnub로 그누보드가 설치 되어 있는데요
에러 나고 메인에 최근게시물 뽑아 올려고 하는데 안되고 미치겠슴돠;;
http://queen9.7net.kr/gnub/ 관리자페이지 에러
http://queen9.7net.kr/ 메인에 최근게시물 에러...
도와주실꺼죠? ㅠㅠ
main.html 상단에 들어간거
<?
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
에러 나고 메인에 최근게시물 뽑아 올려고 하는데 안되고 미치겠슴돠;;
http://queen9.7net.kr/gnub/ 관리자페이지 에러
http://queen9.7net.kr/ 메인에 최근게시물 에러...
도와주실꺼죠? ㅠㅠ
main.html 상단에 들어간거
<?
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
댓글 전체
<?
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
수정
<?
$g4_path = "./gnub";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
로 해보세요.
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
수정
<?
$g4_path = "./gnub";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
로 해보세요.
우와 님 좀 짱인듯!
근데 최근게시물은 잘나오는데요
상단에 에러가 Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:6) in /home/fanclub/queen9/gnub/common.php on line 8
그리고 최근게시물의 스타일시트가 안먹던데.. 이건 왜 그런거에요?
한번만 더 부탁.. ㅠㅠ http://queen9.7net.kr/
근데 최근게시물은 잘나오는데요
상단에 에러가 Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:6) in /home/fanclub/queen9/gnub/common.php on line 8
그리고 최근게시물의 스타일시트가 안먹던데.. 이건 왜 그런거에요?
한번만 더 부탁.. ㅠㅠ http://queen9.7net.kr/
네 스타일시트는 head.sub.php파일안에있습니다.
<?
$g4_path = "./gnub";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 해주심 스타일시트까지 먹을겁니다.
또..Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:6) in /home/fanclub/queen9/gnub/common.php on line 8
이건
-------------------페이지--------------------
여백..
<?
$g4_path = "./gnub";
요위로 여백부분있나봐보세요 여백없이 사사삭 지워주세요.
<?
$g4_path = "./gnub";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 해주심 스타일시트까지 먹을겁니다.
또..Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:6) in /home/fanclub/queen9/gnub/common.php on line 8
이건
-------------------페이지--------------------
여백..
<?
$g4_path = "./gnub";
요위로 여백부분있나봐보세요 여백없이 사사삭 지워주세요.
위에 적어주신대로 다 했는데 스타일시트도 잘먹는데요 또 엄청난 에러가 나네요.. ㅠㅠ
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/fanclub/queen9/main.htm:5) in /home/fanclub/queen9/gnub/head.sub.php on line 38
/skin/latest/basic/latest.skin.php 파일 첫번째 PHP 소스 끝난 뒤
(
<?
..............//개별페이지접근불가
?>
)
이 뒤에
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
넣으시구요.
그리고,
<?
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 하는 것 보다는,
<?
include_once("_common.php");
include_once("$g4['path']/lib/latest.lib.php");
?>
가 더 간결합니다 ^^
(
<?
..............//개별페이지접근불가
?>
)
이 뒤에
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
넣으시구요.
그리고,
<?
$g4[path]="./queen9/gnub";
$g4_path = "./queen9/gnub"; // common.php 의 상대 경로
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 하는 것 보다는,
<?
include_once("_common.php");
include_once("$g4['path']/lib/latest.lib.php");
?>
가 더 간결합니다 ^^