워드프레스 파일업로드 오류 Unable to create directory wp-content/uploads

이번 포스팅은 FULL WIDTH TEMPLATE한번 사용해보았습니다. 워드프레스 파일 업로드 오류가 발생하여 그 해결과정을 포스팅 해봅니다. dev서브도메인을 딴 후 Cover template를 적용 후 처음으로 이미지를 첨부하려고 하니 다음과 같은 파일 업로드 오류 메세지 발생. 내 환경은 다음과 같다. Ubuntu 20.04 LTSnginx 1.18.0php 7.4.3 구글링을 통해 해결방법을 찾아보니.. 우선 위와 같이 폴더지정을 하라는데 내 워드프레스 버전이 6.0.2로 […]

/etc/nginx/nginx.conf -t. nginx: [emerg] cannot load certificate

수익형 블로그 활동을 위해 서브도메인을 많이 운영할 예정이라 letsencrypt를 통해 와일드카드 도메인을 셋팅하려던 중 현 서브도메인 하나만 등록이 되어버려서 수동으로 인증서파일을 지웠는데 그러고 나서 certbot을 실행하니 다음과 같은 오류가 발생했다. Error while running nginx -c /etc/nginx/nginx.conf -t. nginx: [emerg] cannot load certificate “/etc/letsencrypt/live/dev.hi.ne.kr/fullchain.pem”: BIO_new_file() failed (SSL: error:02001002:system library:fopen:No su ch file or directory:fopen(‘/etc/letsencrypt/live/dev.hi.ne.kr/fullchain.pem’,’r ‘) error:2006D080:BIO […]

case expressions must be constant expressions

java switch case문에서 case문에 다른 오브젝트의 필드를 사용했더니 제목과 같은 에러가 발생했다. (이클립스에서는 오류표시가 안되서 순간 되는줄 알았음) 해결 방법은 두가지이다. switch-case문을 if문으로 변환 (if문은 100% switch-case문으로 변환이 불가능하지만 그 반대는 가능) case문의 괄호안의 값을 string을 사용하거나 final string(상수)로 사용한다.

MySQL Error : Expression #1 of ORDER BY clause

개발환경을 로컬 Win10 환경에서 Docker로 이전한 후 기존에 잘 나오던 화면에서 오류가 발생하며 404페이지로 넘어갔다. Exception Message >> SQL search error – Expression #1 of ORDER BY clause is not in SELECT list, references column ‘blabla.item_t0.p_date’ which is not in SELECT list; this is incompatible with DISTINCT query 해당 부분의 소스는 변경된 것이 없고, docker로 […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top