Changes between Version 52 and Version 53 of GenDolTShooter


Ignore:
Timestamp:
Feb 1, 2010, 1:43:55 PM (15 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolTShooter

    v52 v53  
    749749 
    750750See the [wiki:GenDolTShooter#WhenaccessingOrcaIgeterrorWarning:fopen...orcaconfparams.conffunction.fopen:failedtoopenstream previous solution] 
     751 
     752---- 
     753 
     754== I have problems with video upload and play in Dolphin 7.0 == 
     755 
     756Well, first of all, I would like to tell you about one very important hosting setting - it is the mod_security module. It causes uploads result in '''403 error'''. But BoonEx still predicted such possible hindrance and put some instructions in the file '''flash -> .htaccess'''. But these instructions will not work in some cases, especially if your server has '''mod_security2''' installed. So, you need to contact your hosting provider and ask them disable '''mod_security''' for your hosting account. 
     757 
     758The other problem is not visible right away unlike the previous one. This problem is caused by improper crons setup or inability to run '''ffmpeg.exe''' 
     759 
     7601) the crons can be set up at any time after or during Dolphin installation, but only when they are set up and running, your video files will start to get processed. You can find how to set up your crons [http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70#SettingupCronjobs here]. 
     761 
     762Here's how the crons work: 
     763 
     764   1) The cron '''bx_videos''' runs every 5 minutes; but when processing is not completed (for example there are 20 new videos, but only 2 are processed) it will process the other videos every time the main '''cron.php''' runs (by default every minute). So, basically if there are many videos, they will be processed every minute after the first 5 minutes have passed. 
     765 
     766   2) Only 2 videos are processed during the process I described above. But this value can be easily changed in '''Administration -> Modules -> Flash Apps -> Video Player -> Settings -> Maximum number of processing files'''. Just increase this value and your videos will be processed faster. 
     767 
     768   3) Now the most interesting part - even the 5-minute interval can be changed. You will need to do that in your database (basically phpMyAdmin). You need the table '''sys_cron_jobs''' where you will find the 5th row, whose name is '''bx_videos'''. You will need to change the value for the '''time''' column of this row. By default it shows '''*/5''' which means '''every 5 minutes'''. You can change this to '''*/10''' to run it every 10 minutes or to '''*/60''' to run it every hour. 
     769After making these changes, you will necessarily need to clean the cache in your Administration panel. You may only clean the db cache. 
     770 
     771   4) Processing time of every video depends on its size and free server resources. Big videos (100 megabytes or more) may be processed during a minute or more. 
     772 
     773 
     7742) the file ffmpeg.exe resides in the flash - modules - global - app folder and it needs to have executable permissions, that is 777 on Apache-module servers and 755 on CGI servers. This file should be also compatible with your operating system. 
     775 
     7763) your hosting should allow executable files, otherwise you will not be able to run ffmpeg.exe 
     777 
     7784) until your video files are not processed, you should not approve them in '''Administration -> Modules -> Videos'''. Approved videos will not be ever processed. So, you need to allow some time to pass by and then approve the videos. If you still did this before they got processed, you can change their statuses back to pending in the table '''RayVideoFiles'''. You even can refresh the contents of this table to see the current statuses of all uploaded files. It is amazing but the processed files will acquire the failed status (indicating that they were not yet approved). So if you see such statuses, you can approve those files. In the next versions BoonEx will make this process more human-friendly. 
 
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.
Fork me on GitHub