새 서버에 discourse를 설치했습니다. 전반적으로는 잘 돌아가고 있지만, 관리자 작업을 수행하려고 할 때마다 403 error 팝업이 표시됩니다:
- 사용자 편집 / 모더레이터 권한 부여
콘솔 로그에 표시되는 오류는 다음과 같습니다:
PUT https://discuss.royaleapi.com/admin/users/5/grant_moderation 403
SyntaxError: Unexpected token < in JSON at position 0
at Function.parse [as parseJSON] (<anonymous>)
Uncaught {jqXHR: {…}, textStatus: "error", errorThrown: "", _discourse_displayed: true}
또한, 이유를 알 수 없이 로그아웃을 할 수 없습니다. 브라우저 캐시를 삭제하고 새로 로그인했지만, 로그아웃 링크를 클릭해도 아무 반응이 없습니다.
로그아웃 문제와 관련하여 콘솔에서 다음 내용을 확인했습니다:
includes.js?v=xxxxxxxxxx DELETE https://discuss.royaleapi.com/session/sml 403
ember_jquery-xxxxxxx.js:1 Uncaught {jqXHR: {…}, textStatus: "error", errorThrown: ""}
위 경로 중 일부는 키(key)인지 확실하지 않아서 치환했습니다.
