vault backup: 2026-04-24 17:30:47
This commit is contained in:
parent
2da79ecda6
commit
89dcc2659c
2 changed files with 8 additions and 0 deletions
|
|
@ -89,6 +89,10 @@ cd backend && composer install && php -S localhost:5015 # :5015
|
|||
```
|
||||
|
||||
## Sessions
|
||||
### 2026-04-24 – How to fix "Unexpected token '<'"
|
||||
**Asked:** How to fix "Unexpected token '<'" errors and HTML responses from Veo and Kling API calls?
|
||||
**Done:** Diagnosed nginx 502 Bad Gateway issue caused by php-fpm container misconfiguration; added GD extension to Dockerfile and prepared deployment script.
|
||||
|
||||
### 2026-04-24 – Fix JSON parsing errors on Veo
|
||||
**Asked:** Fix JSON parsing errors on Veo and Kling endpoints returning HTML 502 responses.
|
||||
**Done:** Diagnosed nginx/php-fpm connectivity issue and updated Docker configuration to include missing GD extension.
|
||||
|
|
@ -193,6 +197,7 @@ cd backend && composer install && php -S localhost:5015 # :5015
|
|||
## Change Log
|
||||
| Date | Requested | Changed | Files |
|
||||
|------|-----------|---------|-------|
|
||||
| 2026-04-24 | Fix nginx 502 and add GD extension | Dockerfile GD extension, deploy script setup, environment variables | Dockerfile, deploy-optical.sh, backend/.env.optical |
|
||||
| 2026-04-24 | Docker configuration fixes | Added GD extension (libpng), PHP container rebuild required | docker/Dockerfile |
|
||||
| 2026-04-24 | Fix JSON parsing errors | Remove strict JSON parsing, add proper response validation | veo-generation.ts, kling-generation.ts |
|
||||
| 2026-04-24 | Backend config setup | Created config.php with env var support, updated .gitignore | backend/config.php, .gitignore, .claude/settings.local.json |
|
||||
|
|
|
|||
|
|
@ -287,3 +287,6 @@ tags: [daily]
|
|||
- 17:27 | `cinema-studio-pro-kling`
|
||||
- **Asked:** Fix JSON parsing errors on Veo and Kling endpoints returning HTML 502 responses.
|
||||
- **Done:** Diagnosed nginx/php-fpm connectivity issue and updated Docker configuration to include missing GD extension.
|
||||
- 17:29 | `cinema-studio-pro-kling`
|
||||
- **Asked:** How to fix "Unexpected token '<'" errors and HTML responses from Veo and Kling API calls?
|
||||
- **Done:** Diagnosed nginx 502 Bad Gateway issue caused by php-fpm container misconfiguration; added GD extension to Dockerfile and prepared deployment script.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue