$wr_id 값에러..


오랜만의 글쓰기가 질문글이 되어버렸..네요 죄송 ㅋㅋ



$wr_id 값에러가 나는데.. 활용팁봐도 질문글봐도 마땅한해결책이 없네요,..


잘못적용한걸까요? 방법도 여러개라.. 뭐가뭔지..


wr_id값이 뭐고. 왜에러가 나는지 궁금하네요.


해결봤으면하는데.. 뭐가뭔지..


|

댓글 3개

저는 그누4로 시작할때 지금부터 한 2달도 안되었죠.....
그때 계속 그러드라구요......
이리저리 막찾구 해보구 하다보니 없어지데요...ㅎㅎ
일단 아래는 한번 해보세요...
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&sca=&sfl=wr_subject&stx=wr_id&sop=and
예전 스킨을 새로운 버전에 쓸때 나는 에러같던데요.

정확하게 기억이 안나네요.

글쓰시에 onsubmit 이 호출하는 자바스크립트가 에러를 냅니다.
그래서 action 값을 변경하는 부분까지 못하구요.
write.php를 다시 부르게 됩니다.
그러면서 에러가 나는 것으로 기억합니다.

onsubmit은 호출시에 에러가나면 리턴값이 false가 아니므로 그냥 진행해버리거든요
전에 $wr_id오류로 새버전 write.skin.php 과 구버전 스킨의 write.skin.php파일을 AcroDiff로 비교해 보니 아래 글쓰는 부분도 달라진것 같아서 새버전 소스로 적용하니 오류 없어졌던것 같네요 참고해 보세요.

<? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_content', $content);?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=10 itemname="내용" required
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script type="text/javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
15년 전 조회 1,336
15년 전 조회 1,297
15년 전 조회 2,458
15년 전 조회 2,014
15년 전 조회 3,153
15년 전 조회 2,035
15년 전 조회 1,653
15년 전 조회 1,792
15년 전 조회 7,671
15년 전 조회 3,232
15년 전 조회 1,977
15년 전 조회 1,815
15년 전 조회 1,707
15년 전 조회 1,840
15년 전 조회 1,788
15년 전 조회 2,021
15년 전 조회 1,206
15년 전 조회 1,790
15년 전 조회 1,653
15년 전 조회 1,373
15년 전 조회 1,634
15년 전 조회 2,164
15년 전 조회 2,117
15년 전 조회 1,288
15년 전 조회 1,789
15년 전 조회 1,991
15년 전 조회 1,787
15년 전 조회 1,807
15년 전 조회 1,442
15년 전 조회 1,946
🐛 버그신고