Hi!
I installed Dolphin 6.1.3 ad-free and reinstall Ray 3.5 free later. All widget licenses are confirmed. Cyberxing.com supports RMS - no errors with RMS connect. Board, IM, music upload and play files are working but when I want to upload video files I see alert window after uploading process: Uploading file error.
http://start-english.com
Can anybody explain me what the matter? Thought IM work OK, chat window shows LOADING only too.
Thanks.
|
Hard to say for certain do you know your hosts upload limits or phpinfo? How big is the video you are trying to upload, and does it matter what size it is? Same with music or mp3.
You might take a look at your limits defined in your phpinfo file by going to yoursite.com/admin/phpinfo.php you are looking for: (login/pass is your admin details)
upload_max_filesize post_max_size max_execution_time max_input_time memory_limit
Report these values if you can. Thanks for adding your dolphin version too, many forget to mention this.
It could also be a ffmpeg.exe issue but look at the above for starters and let us know.
DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Thanks a lot, gameutopia! I'm glad to see your answer.
Well, the data from the server:
upload_max_filesize 15728640 post_max_size 15728640 (these two parameters I changed by .htaccess in root from default value 2M)
max_execution_time 30 max_input_time 60 memory_limit 32M (these... I didn't think about it. If they can stop the uploading or get other mistakes, how can I change it too?)
Other data for info:
ffmpeg support (ffmpeg-php) enabled ffmpeg-php version 0.5.2.1 libavcodec version Lavc51.40.4 libavformat version Lavf51.12.1 ffmpeg-php gd support enabled
Directive Local Value Master Value ffmpeg.allow_persistent 0 0
All permissions to folders are right also. Sizes of files to upload: mp3 from 1,8M to approx. 6M, video files approx. 1,5M I tried to reinstall video player, video recorder and chat but got the same old song...LOADING etc.
Hope to find a reason and invite you to new community :) . Thanks beforehand.
|
Membership Levels under Advanced Settings... Check to make sure you have this and other MEMBERSHIP FEATURES set. Also ensure the auto approval is set in Ray Widgets. Everything else looks good. |
upload_max_filesize 15728640 post_max_size 15728640
Usually you see this in mb's, these are probably in bytes then which would be 15MB's. If that is correct that they are in bytes than your max would be 15Mb's.
These: max_execution_time 30 max_input_time 60 memory_limit 32M
Are a little low. I tend to set max execution and max input to 1000-2000 range just in case. 32m memory limit is probably ok, I set mine to 64m-128m.
FFmpeg looks fine.
I would first increase the max execution time and input time 30 and 60 seconds are small numbers. Especially when it comes to converting a video. This can easily exceed those.
Sometimes I also set: output_buffering on mysql.connect_timeout 600 (usually not necessary).
Depending on your hosts setup you can usually increase these values without any interaction with the host. Not always but usually.
You do first need to go back and visit: yoursite.com/admin/phpinfo.php
And find near the top about line 4 server api
If it says apache you can add or increase these by adding to your main .htaccess yoursite.com/.htaccess
If it says cgi, fastcgi, or anything with cgi in it you need to add to or create a php.ini file to increase these. Usually in the main directory is sufficient yoursite.com/php.ini. Occassionally it will need to go in cgi-bin, or in each folder/directory where you want/need to make the increase. If you already have a php.ini file just edit the numbers and and save/re-upload file. If you don't have a php.ini just make one with a text editor with the values/numbers save and upload. Afterwards refresh yoursite.com/admin/phpinfo.php to see if the changes happened or not.
For apache api .htaccess try adding this to yoursite.com/.htaccess:
php_value upload_max_filesize 100M php_value post_max_size 100M php_value max_execution_time 2000 php_value max_input_time 2000 php_value memory_limit 128M
Additional/Optional:(usually not necessary) php_value output_buffering on php_value mysql.connect_timeout 600
For cgi api php.ini try adding or creating this yoursite.com/php.ini: post_max_size = 100M upload_max_filesize = 100M max_execution_time = 2000 memory_limit = 128M max_input_time = 2000
Additional/Optional:(usually not necessary) output_buffering = on mysql.connect_timeout = 600
Also as long as your are checking phpinfo settings you should verify that register_globals is off. There have been a number of problems including hacks associated with register_globals on. If yours is on you do want to turn it off by adding the command the same way as above.
And obviously you will need to have increased these in your admin panel ray suite for each of the widgets. Ray music, ray mp3, and ray movie. Make sure you have increased the max file size in each of these as well and save the changes.
And if you have time you might check out this link for more info about changing these in .htaccess or php.ini http://www.dialme.com/articles/entry/-htaccess-php-ini-Help-Guide
Hope this helps!! Good Luck!! gameutopia DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Excellent Post Gameutopia,and superb information. this should be shot to your blog as well, that is some explicit information that should be shared and reshared, and you know how posts be buried in here. i think i posted this same stuff not as detailed as you just did.
Good Information, KUDOS
later, DosDawg
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |