Replies
- Brajesh Singh on October 8, 2021 at 3:16 pm in reply to: Auto Friendship pro – Not working with Memberpress / role #40897
Hi Andrew,
Is there any way that I can look at MemberPress code. I need access to the code and how to configure the trial(If you have a staging site, please share access details).Since our plugin is working on role change, I am not sure what is causing. I can debug and will be able to provide a reason as well as solution after that.
Thank you
Brajesh - Brajesh Singh on October 8, 2021 at 3:14 pm in reply to: [Resolved] MediaPress Local Transcoder #40896
Hi David,
Thank you for the reply.After your reply, I checked the way “Spreebie Transcoder” checks for FFMPEG. There are 2 differences from us.
1. it uses ‘exec’ function instead of ‘shell_exec’. The difference is exec does not return a value while shell_exec returns a value.
2. They run it on a dummy video included with their plugin to test, we reply on the output of shell_exec.here is my guess for now:-
1. Either shell_exec is still disabled
2. Or the plugin is not able to access the binary.Since exec is able to run FFMPEG, I believe it is the first issue.
I need your php error log(or WordPress debug log) to see what error the plugin is throwing. Please provide that and I will assist.
As far as I understand, It is some simple issue and if debug log is available, we can easily resolve it.
Regards
Brajesh - Brajesh Singh on October 8, 2021 at 4:33 am in reply to: [Resolved] MediaPress Local Transcoder #40888
Thank you.
Please clear the error log, then visit the WordPress dashboard and check the log again.Is it showing some message there? There is a possibility that the change did not apply to the specific site. It happens when there are different versions of php enabled for sites.
Please see this.
https://forums.cpanel.net/threads/disable-functions-in-php-configuration-easyapache-4.588947/Regards
Brajesh - Brajesh Singh on October 8, 2021 at 4:17 am in reply to: [Resolved] MediaPress Local Transcoder #40886
Hi David,
Thank you for the details. There is a simple solution for it. You need to remove shell_Exec command from the list of disabled functions.Please have a look at this.
https://support.cpanel.net/hc/en-us/articles/360051980414-How-to-modify-disable-functions-in-WHM-when-using-PHP-FPMPlease let me know if making that change makes the plugin work.
Regards
Brajesh Hi Antoni,
Thank you.I am looking forward to the screenshot.
Our plugin(Member Types Pro) adds a tab on members directory for each enabled member type and clicking on that shows the filtered users list. I was referring to that.
Regards
Brajesh- Brajesh Singh on October 7, 2021 at 10:44 pm in reply to: [Resolved] MediaPress Local Transcoder #40881
Thank you.
It confirms that you have installed FFMPEG successfully.Now, there are only 2 possibilities left.
The shell_exec command is disabled or it is unable to execute the FFMPEG binary.
Are you getting this notice in the admin
“Transcoder needs FFMPEG. You don’t seem to have it installed.” or is it the conversion which is failing?
If possible, Please enable debug log for WordPress and share it to me. That should point to the issue.
Regards
Brajesh Hi,
I am hoping to be able to make the badges plugin compatible with it but I do not think that we can make the member types pro compatible(The list filtering by member types).Here is an example showing what I have got on their header
https://ibb.co/crQ3xypPlease mark the locations you want the badge to appear(on profile, in member directory) and I can update within 24 hours.
Regards
Brajesh- Brajesh Singh on October 7, 2021 at 9:59 pm in reply to: [Resolved] MediaPress Local Transcoder #40877
Thank you.
Just one more command.Does it work
ffmpeg -versionand what is the output. Is it some version information or error?
Thank you
Brajesh - Brajesh Singh on October 7, 2021 at 9:42 pm in reply to: [Resolved] MediaPress Local Transcoder #40875
Hi David,
Thank you.Please run this command in the terminal
which ffmpeg 2>/dev/nulland let me know the output.
Thank you
Brajesh In case they are looking for an example,the action “bp_profile_header_meta” should act as one.
Regards
Brajesh