모든 게시판 쓰기 오류 정보
모든 게시판 쓰기 오류
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://ejejusum.co.kr/2008/bbs/write.php?bo_table=html
head 와 tail 만 넣으면 모든 게시판이 글쓰기가 안 됩니다. ^^;
head 와 tail 을 빼면 게시판에 글이 써집니다. ^^;
이건 처음 겪는거라... 원인을 못 찾겠네요..
오류메세지로는 f.action = './write_update.php'; f.submit(); 여기가 문제라는데 ^^;
혹시나 해서 head.php 와 tail.php 올립니다.
head.php
<?
if (!defined("_GNUBOARD_")) exit;
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$tbWidth = 1000;
//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<!--▼ 로고,공지스크롤,상품검색 = top.php ▼-->
<? include_once ("$g4[path]/inc/top.php"); ?>
<!--▲ 로고,공지스크롤,상품검색 = top.php ▲-->
<!--▼ 비주얼/메뉴 ▼-->
<?
switch( $bo_table ) {
case "html" : include "$g4[path]/inc/02.php";
break;
case "name02" : include "$g4[path]/inc/03.php";
break;
case "name03" : include "$g4[path]/inc/04.php";
break;
case "name04" : include "$g4[path]/inc/05.php";
break;
default : include "$g4[path]/inc/visualMenu.php";
}
?>
<!--▲ 비주얼/메뉴 ▲-->
<!--▼ 현재위치 = location.php ▼-->
<? include_once ("$g4[path]/inc/location.php"); ?>
<!--▲ 현재위치 = location.php ▲-->
<!--▼ 본문 ▼-->
<table width="<?=$tbWidth?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><? echo outlogin("shop_outlogin"); ?></td>
</tr>
<tr>
<td><? include_once ("$g4[path]/inc/quick.php"); ?></td>
</tr>
<tr>
<td><img src="<?=$g4['path']?>/img/common/custmorCenter.png" width="200" height="81" alt="고객센터 *** 개인정보보호를 위한 전화번호 노출방지 ***" /></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="20"></td>
<td width="780" valign="top">
tail.php
<?
if (!defined("_GNUBOARD_")) exit;
$admin = get_admin("super");
?>
</td>
</tr>
</table>
<!--▲ 본문 ▲-->
<?
include_once("$g4[path]/tail.sub.php");
?>
오류 주소 : http://ejejusum.co.kr/2008/bbs/write.php?bo_table=html
head 와 tail 만 넣으면 모든 게시판이 글쓰기가 안 됩니다. ^^;
head 와 tail 을 빼면 게시판에 글이 써집니다. ^^;
이건 처음 겪는거라... 원인을 못 찾겠네요..
오류메세지로는 f.action = './write_update.php'; f.submit(); 여기가 문제라는데 ^^;
혹시나 해서 head.php 와 tail.php 올립니다.
head.php
<?
if (!defined("_GNUBOARD_")) exit;
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$tbWidth = 1000;
//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<!--▼ 로고,공지스크롤,상품검색 = top.php ▼-->
<? include_once ("$g4[path]/inc/top.php"); ?>
<!--▲ 로고,공지스크롤,상품검색 = top.php ▲-->
<!--▼ 비주얼/메뉴 ▼-->
<?
switch( $bo_table ) {
case "html" : include "$g4[path]/inc/02.php";
break;
case "name02" : include "$g4[path]/inc/03.php";
break;
case "name03" : include "$g4[path]/inc/04.php";
break;
case "name04" : include "$g4[path]/inc/05.php";
break;
default : include "$g4[path]/inc/visualMenu.php";
}
?>
<!--▲ 비주얼/메뉴 ▲-->
<!--▼ 현재위치 = location.php ▼-->
<? include_once ("$g4[path]/inc/location.php"); ?>
<!--▲ 현재위치 = location.php ▲-->
<!--▼ 본문 ▼-->
<table width="<?=$tbWidth?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><? echo outlogin("shop_outlogin"); ?></td>
</tr>
<tr>
<td><? include_once ("$g4[path]/inc/quick.php"); ?></td>
</tr>
<tr>
<td><img src="<?=$g4['path']?>/img/common/custmorCenter.png" width="200" height="81" alt="고객센터 *** 개인정보보호를 위한 전화번호 노출방지 ***" /></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="20"></td>
<td width="780" valign="top">
tail.php
<?
if (!defined("_GNUBOARD_")) exit;
$admin = get_admin("super");
?>
</td>
</tr>
</table>
<!--▲ 본문 ▲-->
<?
include_once("$g4[path]/tail.sub.php");
?>
댓글 전체
오류 잡았습니다. ^^
해당 사이트 왼쪽에 제가 따로 만들어서 인쿠르드 해 놓은 문자메세지 보내기 폼 네임값을 생각없이 fwrite 로 줬더군요.. 이래서 당연히 충돌을 ㅡ.,ㅡ;;
( form name="fwrite" .. 어쩌고 저쩌고... <-- 요놈 때문에 ㅎㅎ )
수정했더니 잘 됩니다.
나스카님 시간내서 답변 주신것도 고맙습니다.
아... 두 시간동안 삽질한걸 생각하면 ㅡ.,ㅡ
해당 사이트 왼쪽에 제가 따로 만들어서 인쿠르드 해 놓은 문자메세지 보내기 폼 네임값을 생각없이 fwrite 로 줬더군요.. 이래서 당연히 충돌을 ㅡ.,ㅡ;;
( form name="fwrite" .. 어쩌고 저쩌고... <-- 요놈 때문에 ㅎㅎ )
수정했더니 잘 됩니다.
나스카님 시간내서 답변 주신것도 고맙습니다.
아... 두 시간동안 삽질한걸 생각하면 ㅡ.,ㅡ
큰 경험을 싸게 하신 편입니다. ^^
그렇죠 시간은 아깝다고 생각이 들었지만 앞으로는 죽을때까지 이런 실수는 안 한다는 교훈을 얻었으니 만족합니다.
감사합니다.
감사합니다.