답변 6개
Warning, Notice 등은
common.php에서 error_reporting으로 처리 하시고
500 에러는
https://sir.kr/qa/?wr_id=405998
여기를 참고 하세요.
댓글을 작성하려면 로그인이 필요합니다.
그리고 회원인증문자 보내는게 문자전송도 되고 인증번호도 디비에 정상 저장되있는데
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/bbs/ajax_send.php:1 뜨면서 인증번호 방송을 눌러달라고만 하네요 ... 된장
댓글을 작성하려면 로그인이 필요합니다.
음
php 7 로 올리셨다면
디비 호출 함수에서 문제가 발생할수있습니다
php7 이상은 mysql_* 관련 함수를 지원하지 않습니다
따라서 mysql_ 관련 함수 주석을 풀어주시던지
아니면 mysql_ 로 사용되는 부분을 변경해주셔야 할거같습니다
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 1개
php.ini 설정이나 다른설정이 변경된건아닌지 .. 생각도 들고요
댓글을 작성하려면 로그인이 필요합니다.
common.php에서
error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING );
여기를
error_reporting( E_CORE_ERROR | E_COMPILE_ERROR | E_ERROR | E_PARSE | E_USER_ERROR );
이렇게 바꿔 보세요.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
페이지 상단에
</p>
<p>error_reporting(E_ALL);
ini_set("display_errors", 1);
</p>
<p>
코드 넣으셔서 나오는 오류 메시지를 적어주세요
답변에 대한 댓글 6개
Notice: Undefined index: wr_3 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_4 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_5 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_6 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_7 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_8 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_9 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Notice: Undefined index: wr_10 in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 6
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 148
Warning: Use of undefined constant val - assumed 'val' (this will throw an Error in a future version of PHP) in /var/www/html/win/theme/basic/skin/board/gallery/lib/skinm.lib.php on line 149
for($j = 1; $j < 11; $j++){
요부분이 라인6입니다-> if($_GET["wr_".$j] && strlen($_GET["wr_".$j]) > 0){
$qstr .= "&wr_".$j."=".urlencode($_GET["wr_".$j]);
}
}
--------------------------------------------------------------------------------------------------------
$arr_search = array();
for($j = 1; $j < 11; $j++){
148--> if(($_GET["wr_".$j] && strlen($_GET["wr_".$j]) > 0 ) || is_array($_GET["wr_".$j])) {
148--> $arr_search[name][] = "wr_".$j;
$arr_search[val][] = $_GET["wr_".$j];
}
}
Warning: Use of undefined constant ip_list - assumed 'ip_list' (this will throw an Error in a future version of PHP) in /var/www/html/win/common.php on line 211
Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /var/www/html/win/common.php on line 211
Warning: Use of undefined constant cnt - assumed 'cnt' (this will throw an Error in a future version of PHP) in /var/www/html/win/common.php on line 212
Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /var/www/win/ophot/common.php on line 215
Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in /var/www/win/ophot/common.php on line 215
그누보드 5.3 입니다.
if(!strstr($pagecnt[ip_list], "/".$_SERVER[REMOTE_ADDR]."/")) {
if($pagecnt[cnt]>0) {
sql_query("update `pagecnt` set cnt=cnt+1, ip_list=CONCAT(ip_list, '".$_SERVER[REMOTE_ADDR]."/') where date='".G5_TIME_YMD."' and page='".$_SERVER[REQUEST_URI]."'");
} else {
sql_query("insert into `pagecnt` set cnt=1, ip_list='/".$_SERVER[REMOTE_ADDR]."/', date='".G5_TIME_YMD."', page='".$_SERVER[REQUEST_URI]."'");
}
}
요부분인것같은데 뭔지를 모르겠네요 ;;
-->
$_SERVER['REQUEST_URI']
이렇게 바꾸세요.
따옴표가 앞으로는 필수입니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인