If you click the play button on the flash player, and then click a link to another page, this happens:
1. With IE6, you get a screen full of binary characters.
2. With firefox, you get a dialog that asks if you want to download "application octect-stream" - i.e., it asks if you want to download the mp3, except the filename and .mp3 extension are absent.
This happens when the site is living on both apache/windows/php4.3 and apache/linux/php4.3, and is independent of whatever theme you are using, as far as I can tell.
The same issue is also reported by other users.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | audio.module_unionweb_cleanup.patch | 1.3 KB | drewish |
Comments
Comment #1
Colin Brumelle commentedI just tested this on mac firefox/safari and win firefox/ie (connecting to a couple of different linux servers running apache2 and php4.3.11) and I was unable to reproduce this bug.
Here are the steps I followed:
I click on the flash player, and before it starts playing (while it is still loading) I click on another link on the page.
I am taken to that page without incedent.
I also tried this after the player has already started playing music, and it seemed to work fine for me here as well.
Am I missing something?
Comment #2
onionweb commentedI'm not sure. I thought at first it might be something I did modifying audio module, so I installed the cvs version fresh and tried again and the same thing happened. And then I changed the theme to default phptemplate/bluemarine, same thing happened.
I thought it might be the cygwin "helper apps" so I removed them and it still happened.
Someone else reproduced it, on windows xp, and I'm win2k. It occurred on both my local windows development server and on a hosted linux server.
Comment #3
zirafa commentedThis has happens to me occasionally on win2k in firefox, but I don't exactly know why or when it happens.
Comment #4
onionweb commentedapache 1.3, BTW, both cases.
Comment #5
onionweb commentediF YOU COMMENT OUT:
from function _audio_download the problem goes away. Song still plays. Maybe that should be moved into the if($attach) bit.
Comment #6
Anonymous (not verified) commentedI have always been getting this problem regardless of browser/platform.
As far as I know my host runs Apache 1.3, PHP 4.3... and my Drupal install is 4.6.3 with the latest cvs module. You can see an example here. I have installed everything correctly, or so I believe... with getid3 placed in modules/audio/getid3 and my administer > settings > audio reflects the location of my audio folder and getid3 folder correctly.
Also I can upload audio files just fine, it is just when playing I get the wierd dialog box that asks if you want to download "application octect-stream" - i.e., it asks if you want to download the mp3, except the filename and .mp3 extension are absent in both IE and Firefox in Windows, even Safari on Mac OS X and Firefox in Mac OS X. My theme is also a PHPtemplate based theme... modified interlaced. Any suggestions?
Comment #7
onionweb commentedreplace this function, fixes it
Comment #8
drewish commentedI haven't tested it but unionweb's changes need some tweaking. If $attach is false $headers is never defined which could lead to problems. I cleaned up his fix and made a patch out of it to make it easier to review.
Comment #9
drewish commentedwellit looks like that patch i'd rolled got committed at somepoint... i'm going to close this. feel free to reopen it if it's still occuring.
Comment #10
(not verified) commented