附件上传功能失效!
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 12.4k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Bug重现:
WAMP环境下,后台文章附件添加并发送时出现错误。
怀疑upload.php并没有如约返回正确的json。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the attachment upload from the backend article editor in a WAMP environment and inspect upload.php's response. Check why the response is not valid JSON, then verify that adding and sending an article attachment completes without the JSON.parse error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100