| 9 | |
| 10 | ---- |
| 11 | |
| 12 | '''Q:''' I get ''Uploading file error'' when uploading audio/video files in Ray Media and Video Players |
| 13 | |
| 14 | '''A:''' This is a common problem and most of the time it is caused by the following reasons: |
| 15 | |
| 16 | 1) You're trying to upload files bigger than 2 Megabytes which is the default value for PHP configuration. To fix it, edit '''php.ini''' file which is used as a configuration file by your PHP processor. You have to find two variables: '''upload_max_filesize''' and ''post_max_size''' and assign bigger values to them. |
| 17 | |
| 18 | 2) You don't have .htaccess or have it corrupted in the '''ray''' folder. Here's the code that this file must contain: |
| 19 | |
| 20 | {{{ |
| 21 | <IfModule mod_security.c> |
| 22 | SecFilterEngine off |
| 23 | </IfModule> |
| 24 | }}} |
| 25 | |
| 26 | 3) You have the correct .htaccess file but it gets overridden by other Apache settings on your server. You should contact your hosting provider in this case. |
| 27 | |
| 28 | 4) You don't have the proper '''ffmpeg.exe''' in '''ray/modules/global/app''' or it doesn't have '''777''' permissions (readable, writable, executable). In this case change the permissions and make sure the ffmpeg.exe file is applicable to your operating system: Linux (provided with Dolphin), [http://www.boonex.com/ffmpeg_win.zip Windows] or [http://www.boonex.com/ffmpeg_freebsd62.tgz FreeBSD]. |
| 29 | |
| 30 | 5) You have incorrect permissions for the following folders: |
| 31 | '''ray/modules/mp3/files/''', '''ray/modules/movie/files''' and '''ray/modules/music/files''' |
| 32 | These folders must have '''777''' permissions. |
| 33 | |
| 34 | 6) You have PHP '''exec()''' function disabled on your server. Advise with your hosting provider in order to figure this out. |