mirror of
https://github.com/koel/koel.git
synced 2026-04-26 17:25:59 +03:00
[GH-ISSUE #289] Error: Undefined Fn mime_content_type() #208
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vishalkrv on GitHub (Mar 29, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/289
Hi,
I was successfully able to setup Koel on my server(centos-release-6-7.el6.centos.12.3.x86_64) however it fails to play a song and gives me error in my console as Failed to load resource: the server responded with a status of 500 (Internal Server Error) with a link. When I open the link in a different page, I get this error FatalErrorException in SongController.php line 23:
Call to undefined function App\Http\Controllers\API\mime_content_type() . Similar error was found in laravel.log file as well. The file which I'm trying to play is a mp3.
Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:
All checked? Now also make your issue
@phanan commented on GitHub (Mar 29, 2016):
mime_content_type()has been deprecated. I'll remove this in the next version of Koel. Meanwhile you can enablemime_magicin yourphp.inifile for the functionality.@phanan commented on GitHub (Mar 29, 2016):
Oh, actually the function is not deprecated anymore, and is still well supported by PHP 7. I'll suggest you to look at your PHP installation then.
@thallian commented on GitHub (Mar 30, 2016):
If this is still a concern I'd take a look if you have the php fileinfo shared extension installed (the
mime_content_typefunction lives there).@vishalkrv commented on GitHub (Mar 31, 2016):
Still in talks my hosting provider, mime_content_type and fileinfo both are disabled on my server.