-
Re: Upload Limit
Hello everyone.... For what it is worth I have been struggling for the last 2 days with similar issues and finally came up with a solution using variables that I learned from here!
At first all I could upload was .flv files and everthing processed and was in the proper folders but the .flv had a O size value. That was corrected by commenting out the second conversion configuration in the /include/settings/video_conversion.php file and using the first option. That brought me to the file size problem discussed here. These are the settings that corrected my issue.
First I added the following at the bottom of my .htaccess file as suggested.....
php_value max_input_time 600
php_value max_execution_time 600
php_value post_max_size 200M
Then set site settings in Admin to......
Video Processing: Background Processing
Create Thumbnail: ffmpeg
Flvtool: Disabled
The key in my case was the background processing. Before I changed to that process it would time out and give the Explorer "Page not Found". When I went to the admin the file was there but was stuck with the "conversion started" statement which never completed. I could manually activate the file but it did not have total time in the "duration" field. The conversion process was only half complete and the option to reconvert was not available. Hope this helps sombody!
Good luck All
-
Re: Upload Limit
I keep getting 500 errors when I try to ad
Code:
php_value max_input_time 600
php_value max_execution_time 600
php_value post_max_size 200M
at the bottom of my .htaccess file
-
Re: Upload Limit
Could be that your server is running suphp, in which case you can't have php directives in the .htaccess document (doing so causes 500 internal server errors).
php.ini should have something like this in it:
Code:
max_execution_time = 600
max_input_time = 600
memory_limit = 32M
register_globals = On
post_max_size = 800M
file_uploads = On
upload_max_filesize = 800M
remove any "php_value" lines from the .htaccess and put it in the php.ini without the "php_value" and put an "=" (equal sign) instead.
for example, where it would say php_value upload_max_filesize 100M in the .htaccess, you would remove that and then you would put upload_max_filesize=100M into php.ini
You may also refer to this thread viewtopic.php?f=3&t=295
-
Re: Upload Limit
My .htaccess file looks like this
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^admin$ - [L]
RewriteRule ^admin/(.*) - [L]
RewriteRule ^install$ - [L]
RewriteRule ^install/(.*) - [L]
RewriteRule ^$ index.php
RewriteRule ^view/(.*)/(.*)/ view_video.php?id=$1 [L,QSA]
RewriteRule ^tag/(.*)/(.*) tag.php?search_id=$1&page=$2 [L,QSA]
RewriteRule ^channel/(.*)/(.*)/recent/(.*) video.php?category=recent&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/viewed/(.*) video.php?category=viewed&chid=$1&page=$3
RewriteRule ^channel/(.*)/(.*)/ channel_detail.php?id=$1
RewriteRule ^detailed/recent/(.*) video.php?category=recent&page=$1&viewtype=detailed
RewriteRule ^detailed/viewed/(.*) video.php?category=viewed&page=$1&viewtype=detailed
RewriteRule ^detailed/discussed/(.*) video.php?category=discussed&page=$1&viewtype=detailed
RewriteRule ^detailed/favorites/(.*) video.php?category=favorites&page=$1&viewtype=detailed
RewriteRule ^detailed/rated/(.*) video.php?category=rated&page=$1&viewtype=detailed
RewriteRule ^detailed/featured/(.*) video.php?category=featured&page=$1&viewtype=detailed
RewriteRule ^detailed/random/(.*) video.php?category=random&page=$1&viewtype=detailed
RewriteRule ^recent/(.*) video.php?category=recent&page=$1
RewriteRule ^viewed/(.*) video.php?category=viewed&page=$1
RewriteRule ^discussed/(.*) video.php?category=discussed&page=$1
RewriteRule ^favorites/(.*) video.php?category=favorites&page=$1
RewriteRule ^rated/(.*) video.php?category=rated&page=$1
RewriteRule ^featured/(.*) video.php?category=featured&page=$1
RewriteRule ^random/(.*) video.php?category=random&page=$1
RewriteRule ^rss/new/ rss.php?type=new [L]
RewriteRule ^rss/comments/ rss.php?type=comments [L]
RewriteRule ^rss/views/ rss.php?type=views [L]
RewriteRule ^group/(.*)/members/(.*) group_members.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/videos/(.*) group_videos.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/add/(.*) add_video.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/fav/(.*) add_favour.php?urlkey=$1&page=$2
RewriteRule ^group/(.*)/ groups_home.php?urlkey=$1 [L,QSA]
RewriteRule ^include/(.*) http://www.vshare.in
RewriteRule ^pages/(.*).html$ show_page.php?name=$1 [QSA,L]
RewriteRule ^([^/\.]+)/favorites/(.*) user_favorites.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/playlist/(.*) playlist.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/friends/(.*) user_friends.php?username=$1&page=$2
RewriteRule ^([^/\.]+)/public/(.*)$ user_videos.php?username=$1&type=public&page=$2
RewriteRule ^([^/\.]+)/private/(.*)$ user_videos.php?username=$1&type=private&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)/groups/(.*)$ user_groups.php?username=$1&page=$2 [L,QSA]
RewriteRule ^([^/\.]+)?/?$ user.php?username=$1 [L,QSA]
#
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
suPHP_ConfigPath /home/darotwei/public_html
So I wouldnt know where to edit it like you asked me to.
-
Re: Upload Limit
I am having problems uploading at all
I am hosted on a VPS server and a 35mb uploads to the video folder OK BUT does not catalog and appear on the site or in admin.
My server support seems to suggest server cannot upload even the default 100mb and suggests .htaccess setting to limit to 10mb only which is useless.
I can create a php.ini file as well but want to know what settings in BOTH files will make this work.
I had the script installed for me as part of the service - http://www.church-services-online.com/services feel free to try it out.
-
Re: Upload Limit
i added this code to my .htaccess file:
php_value max_input_time 600
php_value max_execution_time 600
php_value post_max_size 200M
but then when i tried to enter my site it appeared me a 500 internal error
-
Re: Upload Limit
-
Re: Upload Limit
I did the php.ini and nothing changes, the upload still says 100mb
-
Re: Upload Limit
anyone here?!!! why dont any posts get answerd!
-
Re: Upload Limit
Im having the same problem
Heres what I set in my php.ini
max_execution_time = 6000
max_input_time = 6000
memory_limit = 48M
register_globals = On
post_max_size = 800M
file_uploads = On
upload_max_filesize = 800M
I restarted my server after adding those settings. and even went into ssh and checked the file that the settings where there. It still says 100mb.
I havent had time to look through all of the settings in php.ini. So I have no idea whats wrong.
Any ideas?
Thnx