php 업데이트 후 500 에러
본문
일반페이지 들은 잘접속이되는데 . 커스텀한 페이지가 열리지 않네요
답변 6
페이지 상단에
error_reporting(E_ALL);
ini_set("display_errors", 1);
코드 넣으셔서 나오는 오류 메시지를 적어주세요
!-->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 );
이렇게 바꿔 보세요.
지금 올려주신 거에선 500에러가 날만한건 안보이는데
적용된 페이지 주소가 있나요 ?
음
php 7 로 올리셨다면
디비 호출 함수에서 문제가 발생할수있습니다
php7 이상은 mysql_* 관련 함수를 지원하지 않습니다
따라서 mysql_ 관련 함수 주석을 풀어주시던지
아니면 mysql_ 로 사용되는 부분을 변경해주셔야 할거같습니다
그리고 회원인증문자 보내는게 문자전송도 되고 인증번호도 디비에 정상 저장되있는데
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/bbs/ajax_send.php:1 뜨면서 인증번호 방송을 눌러달라고만 하네요 ... 된장
Warning, Notice 등은
common.php에서 error_reporting으로 처리 하시고
500 에러는
https://sir.kr/qa/?wr_id=405998
여기를 참고 하세요.