SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Web 프로그램/Web 디버깅 2020. 3. 5. 17:45728x90
코드를 수정하다보니 SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data 이런 에러메시지가 나온다.
아무리 찾아도 문제가 없는데 말이다.
변수명을 변경했는데 캐싱된 데이터가 계속 잘못된 정보를 서버로 보내면서 벌어진 현상이다.
크롬 브라우저에서 Disable cache 를 하지 않아서 생긴 현상이다. 윽ㅠㅠㅠㅠㅠㅠ
728x90
'Web 프로그램 > Web 디버깅' 카테고리의 다른 글
PHP 공백과 0 체크 오류 (틀리기 쉬운 오류) (0) | 2022.01.04 |
---|---|
[php] javascript ajax 디버깅 요령 (0) | 2021.11.24 |
mysql_query() expects parameter 2 to be resource, boolean given in (0) | 2019.10.30 |
Web 취약점 점검툴 (0) | 2019.04.07 |
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given (0) | 2018.07.24 |