반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- java bigdecimal
- SQL
- PostgreSQL
- codedeploy
- bootstrap
- AWS CI/CD 구축하기
- openlens
- 도커
- docker
- Kafka
- Spring
- Airflow
- chart.js
- chartjs
- Python
- aws cicd
- aws
- codedeploy error
- Jenkins
- Flux
- IntelliJ
- redis
- node
- COALESCE
- kubeflow
- VPN
- Spring Error
- codebuild
- JavaScript
- codepipeline
Archives
- Today
- Total
목록php error (1)
Small Asteroid Blog
다음과 같은 에러가 생기는 윈인에 따라 해결 방법은 다르다. 방법1. header('Content-Type: text/html; charset=utf-8'); 가 2번 실행시 발생하는 경우이다. 이 코드는 common.php 파일에 이미 포함되어 한번만 실행하면 되는 코드인데, 실수로 common.php 파일을 또 인클루드 해 2번 중복되어 실행 시 에러가 발생하는 것이다. 이러한 경우에는 common.php 파일에서 중복된 include 코드를 찾아서 제거해준다. 방법2. setcookie() 함수를 사용할 때 발생하는 경우이다. php 파일 상단에 아래의 코드를 추가해주면 된다.
백엔드
2022. 7. 6. 15:55