Can not upload music but video upload works fine.

Hi friends,

I have setup dolphin 6.1 on my local server for testing purpose and if i am going to upload video from top menu "Videos-->Upload Video" then it works fine and i can upload videos, but if i go to top menu "Music --> Upload Music" and if i upload .mp3 file with any size like 700 Kb or more but it gives me an error "Uploading file error:", Can anybody please help me on this?

one more thing is that after i changed the ffmpeg.exe of windows version after then video upload works, before i replaced windows version of ffmpeg.exe file video was not worked, so right now in my system ffmpeg.exe is of windows version.

hope for your suggesions.

thanks,

dilip

Quote · 7 Jul 2009

Hi,

You're obviously running on Winodws. I have several problems there myself but yours sounds like a permission gotcha specific to windows.

 

Look in your ray/modules/music/files or ray/modules/mp3/files directories and see if the files arrived. Mine were getting uploaded and arrived in the correct directories but had the wrong permissions on them. This lead to them returning a "file not found" error. If I fixed the permissions then they would show up. No amount of changing the permissions on the "files" directory will fix the problem.

 

The problem is that in PHP the files are first uploaded to the system temp directory, usually C:\Windows\Temp. The files take on the permissions of that temporary directory. It then gets moved to the final destination in music\files or MP3\files but the permissions are still those of the temp directory.

 

You need to set the temp directories permissions to ones appropriate to you site. Usually NETWORK SERVICE set with modify/read & execute/list/read/write permissions and IUSR to the same. ( This is assuming IIS7, IIS<7 uses IUSR_machinename)

 

That should solve that part of the problem.

 

I still have a problem with the Flash portion returning a error message that doesn't apply. It will display an Alert box with "Undefined" or with "File Upload Error". The error is in error. If I switch to All music the files are correctly there and work fine.

 

 

Quote · 12 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.