This topic has 18 replies, 3 voices, and was last updated 9 years by sealagency.

  • Author
  • #41753
     sealagency
    Participant

    Hello,

    I have a problem when i want download a video .mp4 on the profile of user with rtmedia:

    A very little (1Mo) mp4 can be download, but more big file send error message, see attached file, why?, where change this? I have not found.

    ditto for the pictures or audio files, where can i change the download limit?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #41761
     sealagency
    Participant

    i change my php.ini : i add

    COPY CODE
    [php]
    memory_limit = 100M
    upload_max_filesize = 20M
    post_max_size = 20M
    max_execution_time = 250
    default_socket_timeout = 250
    max_input_time = 250
    

    No result!

    #41768
     Laura
    Moderator

    Hello, you could use http://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #41778
     sealagency
    Participant

    hello Laura,

    Thanks,

    I add in wp-config.php
    define('WP_MEMORY_LIMIT', '100M');
    My file mp4 size is 14.5Mo
    my php.ini :

    COPY CODE
    [php]
    memory_limit = 200M
    upload_max_filesize = 100M
    post_max_size = 100M
    max_execution_time = 250
    default_socket_timeout = 250
    max_input_time = 250

    The php.ini is in the rot of site

    i even add in .htaccess
    php_value memory_limit 100M

    I have again the same error

    #41779
     Laura
    Moderator

    Hello, try to go to rtmedia settings, and you will see file size restrictions, try to play with it and see if its fixed.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #41782
     sealagency
    Participant

    Hello,

    In rtmedia->settings i have not setting file size …
    I have the rtmedia embedded whith sweetdate, may be in rtmedia pro?

    #41785
     Laura
    Moderator

    Hello, can you share with me wp admin access?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #41791
     sealagency
    Participant
    This reply has been set as private.
    #41800
     Laura
    Moderator

    Hello, i would also need your website link to log in , thanks 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #41854
     sealagency
    Participant
    This reply has been set as private.
    #41855
     sealagency
    Participant
    This reply has been set as private.
    #41863
     Laura
    Moderator

    Hello, can you create a file in your root folder and name it phpinfo.php then inside of it put:

    COPY CODE
    
    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>
    

    Then go to yourwebsite.com/phpinfo.php
    And search for your memory limit and tell me what it is , thanks 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #42007
     sealagency
    Participant

    I get in summary

    COPY CODE
    max_execution_time	60	60
    max_file_uploads	20	20
    max_input_nesting_level	64	64
    max_input_time	60	60
    max_input_vars	1000	1000
    memory_limit	128M	128M
    post_max_size	8M	8M
    file_uploads	On	On
    upload_max_filesize	128M	128M
    upload_tmp_dir	no value	no value

    All the php core value

    COPY CODE
    Directive	Local Value	Master Value
    allow_url_fopen	On	On
    allow_url_include	Off	Off
    always_populate_raw_post_data	Off	Off
    arg_separator.input	&	&
    arg_separator.output	&	&
    asp_tags	Off	Off
    auto_append_file	no value	no value
    auto_globals_jit	On	On
    auto_prepend_file	no value	no value
    browscap	no value	no value
    default_charset	no value	no value
    default_mimetype	text/html	text/html
    disable_classes	no value	no value
    disable_functions	pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,	pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
    display_errors	Off	Off
    display_startup_errors	Off	Off
    doc_root	no value	no value
    docref_ext	no value	no value
    docref_root	no value	no value
    enable_dl	Off	Off
    enable_post_data_reading	On	On
    error_append_string	no value	no value
    error_log	no value	no value
    error_prepend_string	no value	no value
    error_reporting	22527	22527
    exit_on_timeout	Off	Off
    expose_php	Off	Off
    extension_dir	/usr/lib/php5/20121212	/usr/lib/php5/20121212
    file_uploads	On	On
    highlight.comment	#FF8000	#FF8000
    highlight.default	#0000BB	#0000BB
    highlight.html	#000000	#000000
    highlight.keyword	#007700	#007700
    highlight.string	#DD0000	#DD0000
    html_errors	On	On
    ignore_repeated_errors	Off	Off
    ignore_repeated_source	Off	Off
    ignore_user_abort	Off	Off
    implicit_flush	Off	Off
    include_path	.:	.:
    log_errors	On	On
    log_errors_max_len	1024	1024
    mail.add_x_header	On	On
    mail.force_extra_parameters	no value	no value
    mail.log	no value	no value
    max_execution_time	60	60
    max_file_uploads	20	20
    max_input_nesting_level	64	64
    max_input_time	60	60
    max_input_vars	1000	1000
    memory_limit	128M	128M
    open_basedir	/var/www/vhosts/sd-65366.dedibox.fr/:/tmp/	/var/www/vhosts/sd-65366.dedibox.fr/:/tmp/
    output_buffering	4096	4096
    output_handler	no value	no value
    post_max_size	8M	8M
    precision	14	14
    realpath_cache_size	16K	16K
    realpath_cache_ttl	120	120
    register_argc_argv	Off	Off
    report_memleaks	On	On
    report_zend_debug	On	On
    request_order	GP	GP
    sendmail_from	no value	no value
    sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i 
    serialize_precision	17	17
    short_open_tag	On	On
    SMTP	localhost	localhost
    smtp_port	25	25
    sql.safe_mode	Off	Off
    sys_temp_dir	no value	no value
    track_errors	Off	Off
    unserialize_callback_func	no value	no value
    upload_max_filesize	128M	128M
    upload_tmp_dir	no value	no value
    user_dir	no value	no value
    user_ini.cache_ttl	300	300
    user_ini.filename	.user.ini	.user.ini
    variables_order	GPCS	GPCS
    xmlrpc_error_number	0	0
    xmlrpc_errors	Off	Off
    zend.detect_unicode	On	On
    zend.enable_gc	On	On
    zend.multibyte	Off	Off
    zend.script_encoding	no value

    It’s not the value of my php.ini on site root directory why ?

    COPY CODE
    pat@sd-65366:~/loonao.com$ ls -la
    total 228
    drwxr-x---  7 pat psaserv  4096 Jan 14 12:13 .
    drwx--x--- 14 pat psaserv  4096 Jan 13 19:01 ..
    drwxr-x---  4 pat psacln   4096 Nov 25 14:42 album
    -rw-r--r--  1 pat psacln    917 Jan 12 22:07 .htaccess
    -rw-r--r--  1 pat psacln    236 Nov 20 23:18 .htaccess-copie
    -rw-r--r--  1 pat psacln    418 Dec 20 14:46 index.php
    -rw-r--r--  1 pat psacln     68 Jan 14 11:53 info.php
    -rw-r--r--  1 pat psacln  19930 Dec 20 14:46 license.txt
    -rw-r--r--  1 pat psacln    219 Jan 12 17:04 php.ini
    .......
    #42008
     sealagency
    Participant

    Hello,
    Concluded

    COPY CODE
    pat@sd-65366:~/loonao.com$ cat php.ini
    ; Modifs pour la taille des fichier downloadés sur le site
    [php]
    memory_limit = 200M
    upload_max_filesize = 100M
    post_max_size = 100M
    max_execution_time = 200
    default_socket_timeout = 200
    max_input_time = 200
    COPY CODE
    pat@sd-65366:~/loonao.com$ cat .htaccess
    # BEGIN WordPress multisite
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    # END WordPress multisite
    
    # protège le fichier config
    <FilesMatch ˆwp-config.php$>
     order allow,deny
     deny from all
    </FilesMatch>
    
    # interdit l'accès aux répertoires
    Options All -Indexes
    
    # interdit l'accès aus fichier .htaccess
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
    
    php_value memory_limit 100M
    php_value upload_max_filesize 200M
    php_value post_max_size 200M
    php_value max_execution_time 2000

    Thanks

    #42275
     Abe
    Keymaster

    Hi @sealagency so that fixed it?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #42288
     sealagency
    Participant

    Hello Abe,

    Unfortunately not!

    I am very sad…

    It’s not that? : post_max_size 8M 8M
    my video files is about 10Mo

    Thanks

    #42289
     Abe
    Keymaster

    Please contact rtmedia support with your issue since is plugin related and they should know better

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #42398
     sealagency
    Participant

    Hello Abe,

    I posted at rtmedia, but only on user-to-user support, i bought rtmedia with sweetdate, i have not rtmedipro.
    If you do not find, I can not see rtmedia users find, and I do not have access to Premium Support.

    Continuing to seek I found it in /var/www/vhosts/sd-655366.dedibox.fr/logs/loonao.com/error.log this lines:

    COPY CODE
    [fcgid:warn] [pid 27190] [client 82.243.107.180:45996] mod_fcgid: stderr: PHP Fatal error:  Call to undefined function groups_get_group() in /var/www/vhosts/sd-65366.dedibox.fr/loonao.com/wp-content/plunt/plugins/buddypress-media/app/main/RTMedia.php on line 1092, referer: http://loonao.com/members/pickwick/media/video/
    
     [fcgid:warn] [pid 25689] [client 82.243.107.180:55385] mod_fcgid: stderr: PHP Fatal error:  Call to undefined function groups_get_group() in /var/www/vhosts/sd-65366.dedibox.fr/loonao.com/wp-content/plunt/plugins/buddypress-media/app/main/RTMedia.php on line 1092, referer: http://loonao.com/members/pickwick/media/music/

    I need help from you or rtmedia!

    Thanks

    #42438
     sealagency
    Participant

    Hello Abe,

    Continuing to seek, i found causing the problem.

    The cause is post_max_size php.ini parameter

    The local php.ini for my site is located in /var/www/vhosts/system/mysite.com/etc I didn’t know that, i thought the local php.ini is on root repertory of my site… But a php.ini file in root has no effect!

    With
    post_max_size = 20M
    I can download a file of 20Mo :))
    And no error in my /var/www/vhosts/myserver.dedibox.fr/logs/loonao.com/error.log

    Thanks

Viewing 19 posts - 1 through 19 (of 19 total)

The topic ‘rtmedia and http error on download video’ is closed to new replies.

Log in with your credentials

Forgot your details?