By Steve on Saturday, 02 February 2019
Posted in General Issues
Likes 0
Views 689
Votes 0
HI,

I'm trying to have EasySocial able to upload videos to the site. I'm on a dedicated server with FFmpeg installed on it. The ffmpeg path is /usr/bin/ffmpeg as outlined by the server engineer. When I try to upload a short MP4 video, it appears to upload "Your video is uploading. Please wait ... 100%", but nothing appears and informs me to upload a video.

I've searched for a similar issue, but cannot find a solution. I've also viewed the documentation and that doesn't seem to help either. I'm trying to figure out why, but cannot. I also looked to file formats allowed to be uploaded, but was unable to what is allowed.

If someone could help me out with this and tell me what formats are alloed, I'd appreciate it.

Thanks
Hello Steve,

No, you don't need to add any code. The issue is in your php.ini (as stated in your Joomla PHP information https://take.ms/CVVeH ) has disable_functions property that contains passthru. This causing your site unable to run/use the function. In this case, Easysocial needs to use passthru function to encode video. The only way to fix this is by removing passthru from disable_functions in your php.ini.
·
Friday, 08 February 2019 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, so part of my issue was I needed to increase the upload file size in the pho.ini file. Was at 2mb, just moved to a new server provider and forgot to change that. So now, the file uploads but it's stuck at Encoding your video... null% and the video shows on the back-end as being uploaded, but pending process by the ffmpeg library (see attachment).

I found another topic that's what I'm encountering and upon Arlex's suggestion, I know the path is set correctly as I copied and pasted it from their email.
Link HERE

Thanks
·
Saturday, 02 February 2019 21:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

It would be best if you can update your site backend and FTP access at http://stackideas.com/dashboard/site so we can better have a check.
·
Sunday, 03 February 2019 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Realizing it's the weekend, I didn't expect a quick response. Thank you.

I have updated the informatio you requested. If you have any issues, please let me know.

Thanks you,
Steve
·
Sunday, 03 February 2019 01:12
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Steve

It seems like you provided us your site backend login credentials no longer work, can you check again?
·
Sunday, 03 February 2019 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
I apologize for that. Please try again.

I know this should be under a different topic, but since you're here, perhaps you can find out why when I try to change my avatar, I receive a "0 - Error 0 code", give me a "Go Back Home" button, then boots me out of the site...

I also updated the site location while under construction. Please note Site details section.

Thank you
·
Sunday, 03 February 2019 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

Seems like the video having problem while being encoded. May know what ffmpeg version installed on your dedicated server?

For the uploading avatar issue, I am getting this when try to upload new avatar: http://take.ms/lb7YQ . This is because iconv is missing. Can you request with your webhosting provider to help you activate this iconv PHP function from your PHP server?
·
Monday, 04 February 2019 12:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Seems like the video having problem while being encoded. May know what ffmpeg version installed on your dedicated server?
The FFmpeg version is 2.8.15.

As for iconv, I've put a request ticket in. Will report when I get an answer or when it's activated.

Thank you,
Steve
·
Monday, 04 February 2019 19:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Update on iconv, just installed and is working, however, it's still booting me off the site after change.

Still waiting on FFmpeg version.

Thank you.
·
Monday, 04 February 2019 20:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

I have tried to change the avatar and it works fine: http://take.ms/xmjLK . Am I missing anything here?
·
Tuesday, 05 February 2019 10:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

I changed the avatar using your method and it works as it should. However, if I go the "Edit Profile" page from the dropdown, change the avatar, input PW and do the and reCaptcha, then click "Update", that is when it logs me out.
·
Tuesday, 05 February 2019 13:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Team,

Just wanted to let you know I'm still not able to upload video successfully. Still need assistance.

Thank you
·
Wednesday, 06 February 2019 03:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

The logout issue that you are facing doesn't caused by the avatar or Easysocial specifically. It is because you did a password change. I have tested changing password using Joomla Edit profile https://take.ms/yEMc3 , it also has the same logout issue. You might want to check which plugin or setting that causing this. As for the uploading video, we are still checking it.
·
Thursday, 07 February 2019 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

Seems like the uploading video issue is caused by this: https://take.ms/ONvUj . To encode video, Easysocial is using passthru php function. You may want to remove passthru from disable_functions in your php.ini. Please give it a try.
·
Thursday, 07 February 2019 19:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik,

Thanks for your post. I contacted the server engineer and they replied with this: "I just checked PHP.INI configuration for all of your PHP versions and none of them have any directive added to disable_functions." Would this setting be somewhere else?

Thank you
·
Thursday, 07 February 2019 21:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

As far as I know, the disable_functions setting is only available inside php.ini.
·
Friday, 08 February 2019 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, so it appears I will need to add a line of code then, right? However, before I do, would this be the code that is required?


passthru ( string $command [, int &$return_var ] ) : void


Source: HERE
·
Friday, 08 February 2019 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
This is my php.ini. So where do I remove this passthru if it's not showing up in my php.ini?
·
Friday, 08 February 2019 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
This has been fixed. Thanks for your help.

Regards
·
Friday, 08 February 2019 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Steve, glad that your issue is resolved now.
·
Saturday, 09 February 2019 14:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post