0

When I'm trying to upload a sound file (mostly .mp3's) via the media library, I get the following errors:

Warning: require(/path/to/website/wp-includes/ID3/getid3.php): failed to open stream: No such file or directory in /path/to/website/wp-admin/includes/media.php on line 2997

Fatal error: require(): Failed opening required '/path/to/website/wp-includes/ID3/getid3.php' (include_path='.:/usr/share/php:/usr/share/pear') in /path/to/website/wp-admin/includes/media.php on line 2997

First I thought there is a permission error, but after an hour of checking every file/folder permission, I didn't find anything out of order (files 644, folders 755).

I also tried to search on google of course, but I didn't find any forum topics related.

Any ideas?

closed as off-topic by Howdy_McGee, Pieter Goosen, TheDeadMedic, birgire, Mark Kaplun Apr 23 '15 at 3:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?" – Howdy_McGee, Pieter Goosen, TheDeadMedic, birgire, Mark Kaplun
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What version of WP is this? Because I can't find any require statement for getid3.php in media.php in the current version. Have you checked the file /path/to/website/wp-includes/ID3/getid3.php is there? – kraftner Apr 21 '15 at 15:15
  • WP version is 4.1.1. Yup, the file is there, and the path is correct as well. – PeterInvincible Apr 21 '15 at 15:17
  • 1
    Oops. Sorry. My bad. I was in wp-includes/media. Well it can't open this file. Either the path is wrong or the permissions for that file are wrong. There is nothing else I can come up with. – kraftner Apr 21 '15 at 15:23
  • Found the problem. It was a problem with my host, in the path the ID3 folder name was uppercase, while on the server for some reason it was lowercase, this is why it didn't find it. – PeterInvincible Apr 21 '15 at 15:47
1

Found the problem. It was a problem with my host, in the path the ID3 folder name was uppercase, while on the server for some reason it was lowercase, this is why it didn't find it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.