Bug #97485
closed
MP3 file causes Exception: Property "height" was not found in file reference or original file.
Added by René Höhle over 2 years ago.
Updated over 2 years ago.
Description
We have uploaded an MP3 file as "Text & Media" element. After selecting the File the output is broken with the following error. When you leave the "width" blank then you get the error that the property "width" was not found. When i put a value in both fields you get the error below.
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1314226805: Property "height" was not found in file reference or original file. | InvalidArgumentException thrown in file /var/www/vhosts/xxx/public/typo3/sysext/core/Classes/Resource/FileReference.php in line 125. Requested URL: xxx
When you go to the "i" for information the player is shown and you can listen to the file. Is this a bug or can someone tell me how to fix that problem?
Files
- Description updated (diff)
- Status changed from New to Needs Feedback
thanks for creating the issue. I could neither reproduce that on current main branch nor on latest 10 version. Can you please check if you can reproduce this on a clean installation without any changes to e.g. [GFX][imagefile_ext]
thanks a lot!
Thanks for your reply. I have uploaded another mp3 file and it's working. It's a very interesting problem. I think something in the file is not correct and then then Typo3 thinks that it's an image or something else and tries to set some attributes.
Thanks for your feedback. Could you please share the mp3 file which allows to reproduce the behaviour?
I have made the Update to 10.4.27 and i have uploaded the same file again and it's working. A very strange problem. The MP3 file is ok.
Ok i have found the Problem. The problem is the writing of the file. When there is an uppercase letter in the filename. He can't find the file and can't read it and then the error appears.
It's a simple folder "user_uploads/Podcast/Test.mp3". This is not working. When i write all to lowercase it's working. I had similar problems in the past when i make an update locally on Mac and update it to the Linux system. Then i have to replace all names to lowercase.
are you using an environment with a case-insensitive file system, e.g. windows or mac not using file-sensitive?
Very simple before some time i have made an update from Typo3 7 to 10 on my mac. Then all files in the database are lowercase but not the files. The system on top is the linux system which then can't find the file. Normally you get an error that the file is not found or something else but in this case he can't find the file and then the height error appears.
But i think it's solved now. Thanks for you help.
- Status changed from Needs Feedback to Closed
closing issue as this is not an issue of typo3 itself
Also available in: Atom
PDF