Another error which I've know seen on several occasions on my site, is that a user will upload their first audio file no problems, but when they later attempt to upload a second totally different audio file it keeps either failing, or simply links up to their first audio file. (Eg linked up in flash player/download file link).
The audio title etc is different, but it plays back their first audio upload?! Obviously the users notice this right away when they try and play it back after uploading it, and often repeatedly attempt to re-upload the second file... ending up with 1 working original file, and several broken audiofile2 attempts!
Most recent example -
First audiofile upload by this user http://www.maketunes.com/audio/feelike
Second audiofile upload (which just plays back the 1st file?!) http://www.maketunes.com/audio/thinkright-feelike-2-last-track-2
One thing I just wondered was whether it might be because the second file had a name featuring "feelike" in the name (which was the name of the first audio file....)
Is it possible that it is picking up on this , and that may be causing the second audio file page to link to the first audio file?
Comments
Comment #1
zirafa commentedPlease make sure your php.ini settings, particularly the max upload limit and php timeout is set high enough. If you are trying to upload a file larger than your limit or your php execution time runs out this sort of error will occur. I remember this happening to me, and I fixed it by upping my php.ini settings.
Farsheed
Comment #2
mediafrenzy commentedAh - it seems the user has deleted their second audio track since I submitted this issue... which makes my 2 example links kind of useless.
Farsheed - thanks for the tip, I'll check those settings in my PHP.ini. Could you give examples of settings which were too low, and settings which resolved your similar issue?
Thanks very much.
Comment #3
zirafa commentedWell, I think the default is usually 2M which stands for 2 megabytes. Considering it is audio, it would probably make sense to up that to a maximum of 10M or so, but it depends how big the files are that people are uploading. For reference, 1 megabyte of an MP3 is roughly equivalent to 1 minute of audio. So depending on what people are uploading, you can change these variables. Also the timeout setting can be upped to maybe 5 minutes (or 300 seconds) . If you were to change your php.ini variables they'd look like:
Comment #4
mediafrenzy commentedGreat thanks so much - I'm trying those now. I already had the max file size / post max size set to 8mb, but I've turned up the other settings... now to see if that's worked. I'll try and get the users who were having issues to upload again...
Comment #5
j.q commentedHi-
I'm having the same problem. Can you say more about how to edit my php.ini file? More to the point, where can I find php.ini file? I'm new to drupal, and I'm feeling my way around the system.
Thanks for your help.
Comment #6
drewish commentedYou've got to be an admin on your webserver to edit the php.ini file. You might be better off adding these settings to your sites/*/settings.php file as calls to ini_set(). If you open up the settings file you'll see some examples at the bottom. i'd use zirafa's settings as a starting point.
Comment #7
zirafa commentedI would ask your webhosting company how and if you can access your php.ini file to change the settings. Some companies, like site5.com, let you upload your own php.ini file in the root directory, which will override the system settings.
Comment #8
mediafrenzy commentedYeah I can do server admin on my server, and have edited the php.ini - which appears to have fixed most of the upload issues... there's still the occasional hiccup, but its certainly working much better now. Thanks!
Comment #9
drewish commentedComment #10
(not verified) commentedComment #11
mediafrenzy commentedComment #12
mediafrenzy commented