글쓰기가 안됩니다. 페이지오류만 떠요!~ 정보
글쓰기가 안됩니다. 페이지오류만 떠요!~관련링크
본문
http://stccar.co.kr/bbs/board.php?bo_table=car
차량등록 들어가서 글다쓰고 완료를 누르면 페이지에 오류가 있다는 메시지가 윈도우 하단에 뜨면서
아무런 반응이 없어요 ㅠㅠ
뭐가 문제인지 알수가 없네요.
그누고수님들의 도움을 요청합니다.
차량등록 들어가서 글다쓰고 완료를 누르면 페이지에 오류가 있다는 메시지가 윈도우 하단에 뜨면서
아무런 반응이 없어요 ㅠㅠ
뭐가 문제인지 알수가 없네요.
그누고수님들의 도움을 요청합니다.
댓글 전체
개체가 필요합니다. write.php 줄1384 문자5 이렇게 뜨는데요.ㅠㅠ
Warning: main(../skin/board/scar/list.skin.php) [function.main]: failed to open stream: No such file or directory in /home/stc785/public_html/bbs/list.php on line 168
Warning: main() [function.include]: Failed opening '../skin/board/scar/list.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/stc785/public_html/bbs/list.php on line
에러 떠서 원인을 알수 없군요.. 해당 폴더에 스킨파일이 없는듯 합니다.
Warning: main() [function.include]: Failed opening '../skin/board/scar/list.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/stc785/public_html/bbs/list.php on line
에러 떠서 원인을 알수 없군요.. 해당 폴더에 스킨파일이 없는듯 합니다.
오류나서 지웠다가 다시 까느라 링크가 안열렸나봅니다. 다시 연결해놨습니다.
다른분꺼를 깔아도 똑같이 마지막 입력완료후 글이 안올라가네요.
다른분꺼를 깔아도 똑같이 마지막 입력완료후 글이 안올라가네요.
if (s = word_filter_check(f.wr_subject.value))
{
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (s = word_filter_check(f.wr_content.value))
{
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
이 부분을 write.skin.php에서 찾아서 지워보세요.
{
alert("제목에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
if (s = word_filter_check(f.wr_content.value))
{
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
return;
}
이 부분을 write.skin.php에서 찾아서 지워보세요.
true라는 글자만 나옵니다.위에 언급한부분을 지웠더니요.
그럴리가요 ...
바로 밑에
f.action = "./write_update.php";
f.submit();
코드로 인해서 submin(전송) 되는게 맞을텐데요??
바로 밑에
f.action = "./write_update.php";
f.submit();
코드로 인해서 submin(전송) 되는게 맞을텐데요??
function fwrite_check(f)
{
/*
var s = "";
*/
if (document.getElementById('char_count')) {
if (char_min > 0 || char_max > 0) {
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt) {
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return false;
}
else if (char_max > 0 && char_max < cnt) {
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return false;
}
}
}
<?
if ($is_dhtml_editor) echo cheditor3('wr_content');
?>
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
var subject = "";
var content = "";
$.ajax({
url: "<?=$board_skin_path?>/ajax.filter.php",
type: "POST",
data: {
"subject": f.wr_subject.value,
"content": f.wr_content.value
},
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
subject = data.subject;
content = data.content;
}
});
if (typeof(f.wr_key) != 'undefined') {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert('자동등록방지용 글자가 제대로 입력되지 않았습니다.');
f.wr_key.select();
f.wr_key.focus();
return false;
}
}
document.getElementById('btn_submit').disabled = true;
document.getElementById('btn_list').disabled = true;
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/write_update.php';";
else
echo "f.action = './write_update.php';";
?>
return true;
}
</script>
<script type="text/javascript" src="<?="$g4[path]/js/board.js"?>"></script>
<script type="text/javascript"> window.onload=function() { drawFont(); } </script>
지우고 남은 파일
{
/*
var s = "";
*/
if (document.getElementById('char_count')) {
if (char_min > 0 || char_max > 0) {
var cnt = parseInt(document.getElementById('char_count').innerHTML);
if (char_min > 0 && char_min > cnt) {
alert("내용은 "+char_min+"글자 이상 쓰셔야 합니다.");
return false;
}
else if (char_max > 0 && char_max < cnt) {
alert("내용은 "+char_max+"글자 이하로 쓰셔야 합니다.");
return false;
}
}
}
<?
if ($is_dhtml_editor) echo cheditor3('wr_content');
?>
if (document.getElementById('tx_wr_content')) {
if (!ed_wr_content.outputBodyText()) {
alert('내용을 입력하십시오.');
ed_wr_content.returnFalse();
return false;
}
}
var subject = "";
var content = "";
$.ajax({
url: "<?=$board_skin_path?>/ajax.filter.php",
type: "POST",
data: {
"subject": f.wr_subject.value,
"content": f.wr_content.value
},
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
subject = data.subject;
content = data.content;
}
});
if (typeof(f.wr_key) != 'undefined') {
if (hex_md5(f.wr_key.value) != md5_norobot_key) {
alert('자동등록방지용 글자가 제대로 입력되지 않았습니다.');
f.wr_key.select();
f.wr_key.focus();
return false;
}
}
document.getElementById('btn_submit').disabled = true;
document.getElementById('btn_list').disabled = true;
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/write_update.php';";
else
echo "f.action = './write_update.php';";
?>
return true;
}
</script>
<script type="text/javascript" src="<?="$g4[path]/js/board.js"?>"></script>
<script type="text/javascript"> window.onload=function() { drawFont(); } </script>
지우고 남은 파일
보여주신 사이트는 return true; 대신
f.submit(); 이거로 나옵니다.
f.submit(); 써보세요
f.submit(); 이거로 나옵니다.
f.submit(); 써보세요
오....저걸로 바꿔주니까...뜨는데요.감사합니다.일단 글등록은 몇시간만에 성공했네요.ㅠㅠ
글등록후 리스트와 사진이 깨지면서
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/stc785/public_html/skin/board/car/list.list.php on line 71
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/stc785/public_html/skin/board/car/list.list.php on line 72
Warning: imagepng(): supplied argument is not a valid Image resource in /home/stc785/public_html/skin/board/car/list.list.php on line 73
Warning: chmod() [function.chmod]: No such file or directory in /home/stc785/public_html/skin/board/car/list.list.php on line 74
요렁게 새로 생겼네요. 아으..
글등록후 리스트와 사진이 깨지면서
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/stc785/public_html/skin/board/car/list.list.php on line 71
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/stc785/public_html/skin/board/car/list.list.php on line 72
Warning: imagepng(): supplied argument is not a valid Image resource in /home/stc785/public_html/skin/board/car/list.list.php on line 73
Warning: chmod() [function.chmod]: No such file or directory in /home/stc785/public_html/skin/board/car/list.list.php on line 74
요렁게 새로 생겼네요. 아으..
$dst = imagecreatetruecolor($board[bo_1], $board[bo_2]);
imagecopyresampled($dst, $src, 0, 0, 0, 0, $board[bo_1], $height, $size[0], $size[1]);
imagepng($dst, $thum, $board[bo_3]);
chmod($thum, 0606);
71,72,73,74 부분 소스인데요. 여기서 무엇을 고쳐야할까요?
imagecopyresampled($dst, $src, 0, 0, 0, 0, $board[bo_1], $height, $size[0], $size[1]);
imagepng($dst, $thum, $board[bo_3]);
chmod($thum, 0606);
71,72,73,74 부분 소스인데요. 여기서 무엇을 고쳐야할까요?
포트폴리오 오류 수정한 글