WordPress.org

Ready to get started?Download WordPress

Forums

rtMedia for WordPress, BuddyPress and bbPress
[resolved] [Plugin: BuddyPress Media Component] documentation, support, upload video and kaltura (39 posts)

  1. okso
    Member
    Posted 1 year ago #

    Hi Gagan,
    here's my values:
    max_execution_time = 900000
    max_input_time =900000
    memory_limit = 256M
    I've sent the server error log to Raul.

  2. okso
    Member
    Posted 1 year ago #

    [Sat Sep 08 22:56:02 2012] [warn] [client IP] mod_fcgid: HTTP request length 16777235 (so far) exceeds MaxRequestLen (16777216), referer: http://domain.com/members/peter/media/
    for 65Mb mp4

    [Sat Sep 08 22:58:38 2012] [warn] [client IP] mod_fcgid: HTTP request length 16777307 (so far) exceeds MaxRequestLen (16777216), referer: http://domain.com/members/peter/media/
    for 25Mb mp4

    Does this make sense given my settings in dedicated server phpini? Should I try overriding in wpconfig or htaccess?

    Given you calcs I recon 65Mb should be OK with just 9750 length.

  3. Gagan Deep Singh
    Member
    Plugin Contributor

    Posted 1 year ago #

    MaxRequestLen (16777216)

    Buddy, your fastcgi module is configured to only take a max lenght of 16MB in a post, so the requests are failing.....
    Try changing the MaxRequestLen value in fcgid.conf file(located generally in /etc/httpd/conf.d/) to higher than 65MB (lets say 75000000) so that your server will accept the post.

  4. okso
    Member
    Posted 1 year ago #

    Hey Gagan, thanks for persevering with this. There's ini for server and domain, I've got this in phpinfo now, so I should be there.
    max_execution_time 75000000
    max_file_uploads 20
    max_input_nesting_level 64
    max_input_time 75000000
    max_input_vars 1000

  5. Gagan Deep Singh
    Member
    Plugin Contributor

    Posted 1 year ago #

    Buddy, in my last comment, I meant you to increase the upload limit, not time limit. The error log you posted gives a clear idea that the problem is caused by the request length, i.e. how much you can upload in a single request, which is defined somewhere in the fcgid.conf which you can find here /etc/http/conf.d/fcgid.conf, edit the figure corresponding to the MaxRequestLen to 75000000

  6. okso
    Member
    Posted 1 year ago #

    Hi, contents of file here: http://paste.pagelines.com/5p4

    BUT http://IP/var/www/vhosts/domain.com/conf/last_httpd_ip_default.include

    <IfModule mod_fcgid.c>
    FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/domain.com/etc/php.ini
    FcgidMaxRequestLen 16777216
    </IfModule>

    *16777216 is the offending value, have changed to;

    <IfModule mod_fcgid.c>
    FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/domain.com/etc/php.ini
    FcgidMaxRequestLen 75000000
    </IfModule>

    * given /last_httpd_ip_default.include
    I presume this will be overridden by other server admin saves

    I have this in phpinfo but there's no reporting for MaxRequestLen;
    max_execution_time 75000000

    I guess I should try it.

  7. okso
    Member
    Posted 1 year ago #

    You'll be glad to know it works! Thank you for your help Gagan.
    Can I ask about grabbing thumbnail from video, or setting one, is it in the scope of the plug? Also, ditto for .mp3's, would be great to add album cover as a thumbnail.

  8. Gagan Deep Singh
    Member
    Plugin Contributor

    Posted 1 year ago #

    You are welcome buddy, I am marking this topic as solved. Anything else bugs up, let us know, we'll be there to help :)

  9. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    @okso

    Can I ask about grabbing thumbnail from video, or setting one, is it in the scope of the plug?

    Creating video thumbnails in PHP is not in scope but it is doable using premium plugins. Down in roadmap, we will be adding a support for a remote video-thumbnail service (freemium).

    For audio, we have plans to use ID3 tags or something similar. See: https://github.com/rtCamp/buddypress-media/issues/38

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags