Not sure if this is just a 4.7.4 problem, (this is the first time I've ever encountered such a message) but check it out:
* The selected file /tmp/tmp_kwEcuI could not be uploaded, because the destination /tmp/audio/warmcold.mp3 is not properly configured.
* The following errors where encountered while reading the file's ID3 tags:
o Could not open file ""
* Artist field is required.
* Title field is required.
Comments
Comment #1
zirafa commentedThis file has ID3 tags and is 44100 kHz, etc. Has worked with audio.module in the past.
Comment #2
drewish commentedhumm, that looks like you might have a bad temp directory. it seems that drupal doesn't like using temp directories outside the drupal root.
Comment #3
Ryan Palmer commentedI am getting the exact same issue after I upgraded to the latest version of "audio" module for 4.7 (the previous release for 4.7 worked fine).
I have tried everywhere to search out where drupal is being instructed to write to this /tmp/audio directory, but I have been unable to find it. Coincidentially, /tmp/audio is the default import path for the audio_import module.
I have searched in the audio.module text files and even in the database itself for references of the /tmp/audio path, but have been unable to find anything!!!! Very annoying.
The closest reference I have found to it is when the audio module goes looking for a temp folder to place the uploaded audio in, and uses the file_directory_temp() function of Drupal HEAD to do so. More here: http://api.drupal.org/api/HEAD/function/file_directory_temp
Should I change the /tmp/ in the includes/file.inc, line 669, to refer to an alternate location, ie, one that is configured and accessible to Drupal?
Comment #4
Ryan Palmer commentedI guess I get the award for being the biggest dummy this evening.
All I had to do to fix this issue was to define the temporary path in administer/settings File system settings as a absolute path. Eg, /home/username/tmp as my files are stored on a shared hosting service.
Cheers...
Comment #5
drewish commentedyeah, i need to add a little code to provide a warning when the temp directory isn't writeable.
Comment #6
gmasky commentedI got the error:
* The selected file /tmp/tmp_r7tPwS could not be uploaded, because the destination /tmp/audio/STAN ANTHEM.mp3 is not properly configured.
* warning: Attempt to assign property of non-object in /home/stanisli/public_html/modules/audio/audio.module on line 616.
* warning: Attempt to assign property of non-object in /home/stanisli/public_html/modules/audio/audio.module on line 617.
* The following errors where encountered while reading the file's ID3 tags:
o Could not open file ""
* Artist field is required.
* Title field is required.
I made these changes in
Admin->settings->File System settings
1.Changed File system path from /files to /home/stanisli/public_html/files
2.Changed Temporary directory from /tmp to /home/stanisli/tmp
I was able to upload audio. However I also screwed up my Image gallery..no thumbnails. I had to re-install all images.
1. In Firefox, On clicking on the Play button, the Play button changes to a rotating circle but I get no sound. I can download the mp3 files
2. The Play button does not show up on Internet explorer which is Ok for me as I use Firefox but most of my users use IE.
Any pointers will be highly appreciated.
Comment #7
twohills commentedI've tried setting temp directory to an absolute file path, and permissions to rwxrwxrwx.
The play button only works intermittently and i cannot reproduce conditions under which it works (or not). I am on ADSL broadband and testing under IE6 and Firefox. I too have recently upgraded to Drupal 4.7.4
Comment #8
steev commentedthis is happening to me too, after upgrading to 4.7.4 from 4.7.0, the play button no longer works.
any fix to this that anyone knows? very frustrating.
Comment #9
drewish commentedhow about a link to your site?
Comment #10
drewish commentedIs this still a problem for people?
Comment #11
jraper@groups.drupal.org commentedFor those that are still having this problem - I found that the solution offered by miiimooo at the bottom of http://drupal.org/node/169504 resolved the issue for me.
Comment #12
drewish commentedsounds like this has been taken care of. if not please re-open this issue with more detail.