Forum Replies Created
-
Author
-
sealagencyParticipant
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
sealagencyParticipantHello,
ConcludedCOPY CODEpat@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 CODEpat@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
sealagencyParticipantI get in summary
COPY CODEmax_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 CODEDirective 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 CODEpat@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 .......
sealagencyParticipanthello 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
sealagencyParticipanti 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!
sealagencyParticipantHello,
very well is ok for my with this code :
COPY CODEfunction kleo_change_profile_tab() { global $bp; $bp->bp_nav['profile']['position'] = 10; $bp->bp_nav['activity']['position'] = 20; $bp->bp_nav['activity']['name'] = 'Activités'; $bp->bp_nav['q-and-a']['name'] = 'Q&R'; $bp->bp_nav['profile']['name'] = 'Profil'; // événement traduit dans wp-content/plugins/events-and-bookings/languages/eab-fr_FR.po } add_action( 'bp_setup_nav', 'kleo_change_profile_tab', 999 ); define( 'BP_DEFAULT_COMPONENT', 'profile' );
sealagencyParticipantHello,
This code is strange there are tow } orphaned:
COPY CODEglobal $bp; $bp->bp_nav[‘profile’][‘position’] = 10; $bp->bp_nav[‘notifications’][‘position’] = 20; $bp->bp_nav[‘messages’][‘position’] = 30; $bp->bp_nav[‘friends’][‘position’] = 40; $bp->bp_nav[‘forum’][‘position’] = 50; $bp->bp_nav[‘posts’][‘position’] = 60; $bp->bp_nav[‘groups’][‘position’] = 70; $bp->bp_nav[‘activity’][‘position’] = 80; $bp->bp_nav[‘settings’][‘position’] = 90; } add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 ); } add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’,9 );
I try to complete and fix with
COPY CODEdefine(‘BP_DEFAULT_COMPONENT’,’profile’); function kleo_change_profil_tab() { global $bp; $bp->bp_nav[‘profile’][‘position’] = 10; $bp->bp_nav[‘notifications’][‘position’] = 20; $bp->bp_nav[‘messages’][‘position’] = 30; $bp->bp_nav[‘friends’][‘position’] = 40; $bp->bp_nav[‘forum’][‘position’] = 50; $bp->bp_nav[‘posts’][‘position’] = 60; $bp->bp_nav[‘groups’][‘position’] = 70; $bp->bp_nav[‘activity’][‘position’] = 80; $bp->bp_nav[‘settings’][‘position’] = 90; } add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 ); add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’,9 );
no modification
the file to edit is wp-content/plugins/bp-custom.php is not it?sealagencyParticipantYES !
it’s work perfectly with this codeCOPY CODE..... $bp_tabs['A propos de moi'] = array( $bp_tabs['A propos de moi'] = array( 'type' => 'cite', 'name' => __('A propos de moi', 'kleo_framework'), 'group' => 'A propos de moi', 'class' => 'citetab' ); $bp_tabs['Profil'] = array( 'type' => 'regular', 'name' => __('Profil', 'kleo_framework'), 'group' => 'Profil', 'class' => 'regulartab' ); if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('Photos', 'kleo_framework'), 'class' => 'mySlider' ); }
Very big thanks
If I could I would do you a kiss!Acteur – comédien – figurant are separated groups? or 1? I suggest to not use special symbols as names like –
This code explains how to do it, also check:Yes is one group, but this group is not use in custom tabs. It’s annoying to use “-” anyway?
I can use “,” but I prefer “-” …Attachments:
You must be logged in to view attached files. -
AuthorPosts