 | [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 9:30 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I just tried to download Paul_p's June mix 07 but got this message
| Quote:
|
|
The URL of song data in the DBs was corrupted
|
Any idea's Nightrider?  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 9:35 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 12:53 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I've noticed something else
When I download my May 2007 Trance Mix (which is was uploaded to the server!) it automatically wants to save it as an mp3 file which is right
But when I download my May 2007 Trance Mix Two (which downloads the mix from another server using the mp3 link that I submitted) then it doesn't automatically detect that it's an mp3 and wants to save it as "All files"
A bit like the same error before really Nightrider... |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with mix uploader |  |
Posted: 06/08/2007 3:05 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:46 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, I'm not sure why the MOD author did it, but he used a different variable name for the remote filetype than he did for the local, which resulted in it not being re-added to the filename when trying to download remote files. This is what I did to fix it. I probably could have just made it so there was only one variable name for the filetype too. Either option would correct the problem:
OPEN
music_download.php
FIND
| Code:
|
|
$song_url = $thissong['song_url'];
|
BEFORE, ADD
| Code:
|
|
$song_filetype = $song_filetype_url;
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 3:33 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
I see its fixed thanks!
What happens if the extention is .wma (another extension I've allowed for members to use to upload their mixes) will the .wma still work as the mixes do ending in .mp3 now. If so quality! I thought I'd ask in case you've only changed the settings so t works with mp3. Though going by the code you've used it's not specifically just for mp3...?
I've made a backup of the music_download.php file cheers 8) |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with mix uploader |  |
Posted: 06/08/2007 3:54 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:46 AM
Location: St Pete, FL
|

|
|
|
|
 |
It should work for any filetype that is allowed. Let me know if that is not the case and I will look into it further. I don't imagine you will have a problem with it though...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 4:00 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Ok, sorted. Cheers  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Problem with mix uploader |  |
Posted: 06/08/2007 4:03 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:46 AM
Location: St Pete, FL
|

|
|
|
|
 |
Excellent!!! I more problem resolved...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 4:10 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 2:46 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Problem with mix uploader |  |
Posted: 06/08/2007 4:44 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:46 AM
Location: St Pete, FL
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|