Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Upload Limit

  1. #11
    Join Date
    Feb 2008
    Posts
    5

    Default 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

  2. #12
    Join Date
    Sep 2007
    Posts
    13

    Default 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

  3. #13
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default 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
    If it's not fun, stop doing it!

  4. #14
    Join Date
    Sep 2007
    Posts
    13

    Default 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.

  5. #15
    Join Date
    May 2008
    Posts
    3

    Default 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.

  6. #16
    Join Date
    Jun 2008
    Posts
    21

    Default 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

  7. #17
    Join Date
    Jan 2008
    Posts
    147

    Default Re: Upload Limit

    I think this topic will help you.

    viewtopic.php?f=3&t=9


    Free File Hosting
    click here to join Free File Hosting

  8. #18
    Join Date
    Aug 2008
    Posts
    21

    Default Re: Upload Limit

    I did the php.ini and nothing changes, the upload still says 100mb

  9. #19
    Join Date
    Aug 2008
    Posts
    21

    Default Re: Upload Limit

    anyone here?!!! why dont any posts get answerd!

  10. #20
    Join Date
    Apr 2008
    Posts
    18

    Default 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

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Guest limit
    By bigoboy in forum Template Modifications
    Replies: 1
    Last Post: 12-29-2008, 10:09 PM
  2. Does the Guest Limit Works???
    By Renew in forum General Discussions
    Replies: 5
    Last Post: 10-08-2008, 01:02 PM
  3. Video Limit For Members
    By pskill in forum Template Modifications
    Replies: 1
    Last Post: 08-01-2008, 11:22 AM
  4. Guest limit - 5000?
    By satori in forum Frequently Asked Questions
    Replies: 7
    Last Post: 08-11-2007, 09:31 PM
  5. [Request] Upload limit time or size which ever the greater
    By weasel2006 in forum Feature Requests
    Replies: 4
    Last Post: 06-25-2007, 01:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •