Opened 7 years ago
Closed 7 years ago
#47846 closed defect (bug) (duplicate)
cannot upload mp3 - "Could not insert post into the database"
| Reported by: | deyanpavlov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upload | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hi guys, I have some mp3 that I want to upload to the media library using the WP native "Upload new media" functionality.
I use 5.2.2 version of WP.
I have some mp3 that fail to upload and I will attempt to attach them here, as well as attach images.
Once I hit "Upload" button, after a few seconds another page opens with just one message "Could not insert post into the database".
However, I managed to upload some other mp3, only those that I need fail to upload.
I checked the mp3 that fail to upload if they are correct mp3 files, they were ok.
I found some thread for this error message around here but none was helpful.
If any help or idea what to check can be offered, I will be grateful.
Attachments (4)
Change History (7)
#1
@
7 years ago
- Version 5.2.2
Hello @deyanpavlov welcome to Trac and thank you for the ticket.
I downloaded you 02-Ein Bischen-Frieden.mp3 file and tried to upload it to my media library, just to see the same error as you. So I can confirm the problem. However, I don't know why. My memory limit (512MB) and uploads size are more than sufficient, I believe.
Confirmed.
#2
@
7 years ago
- Keywords needs-patch added
- Milestone Awaiting Review → Future Release
Hi @deyanpavlov, welcome to WordPress Trac! Thanks for the report, I was able to reproduce the issue.
#3
@
7 years ago
- Keywords needs-patch removed
- Milestone Future Release
- Resolution → duplicate
- Status new → closed
This appears to be the same issue as in #46800 (MP3 metadata is encoded in ISO-8859-1 and has characters invalid in UTF-8), the patch there works as expected in my testing. Let's continue the discussion there.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
this file fails to upload