By Erich Brunken on Friday, 23 February 2018
Posted in General
Replies 9
Likes 0
Views 478
Votes 0
hi all,

i have it now, but now i have problem with upload a video or a music song, i have the correct link/ pfad, but it is not running.
Hello Erich,

I have checked your setting and I seeing this http://take.ms/Jk4Gv . Means something is not right with your ffmpeg path. You might want to consult your webhosting about this.
·
Friday, 23 February 2018 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
ok, now we have it, but, it is not running.
·
Friday, 23 February 2018 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

You currently set that "Path to FFmpeg" from backend is not correct. http://take.ms/2C5xP

In order for EasySocial to be able to encode / compress videos or audios in your site, it requires the ffmpeg binary.

You need to get the absolute path to the ffmpeg binary from your hosting company.

Can you try consult with your Webhosting provider regarding this?
·
Monday, 26 February 2018 10:29
·
0 Likes
·
0 Votes
·
0 Comments
·
hi all,

i have it now, but now i have problem with upload a video or a music song, i have the correct link/ pfad, but it is not running.


Hello, my host tell me this is a problem on php, he give me the right link, but it is not running, cant upload. Greeting
·
Thursday, 15 March 2018 14:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, actually this following file path definitely not the FFmpeg binary path.

I do not understand why your webhosting will tell you this is the correct path for FFmpeg binary path.

This file.php file is actually one of the Joomla directory file instead of FFmpeg binary path.

[gist type="php"]
/var/www/clients/client6/web8/web/libraries/joomla/filesystem/file.php
[/gist]

I already wrote a php code in your JoomlaFolder/checkffmpegpath.php to check your ffmpeg path.
You can access this page URL http://www.e-sports.rocks/checkffmpegpath.php , so it showing this result /usr/bin/ffmpeg.

Can you try consult with them where is the correct ffmpeg executable file under this directory /usr/bin/ffmpeg?
·
Thursday, 15 March 2018 16:55
·
0 Likes
·
0 Votes
·
0 Comments
·
my host write:

As said, the path is /usr/bin/ and the executable is ffmpeg, hence the full path is
/usr/bin/ffmpeg

We also installed a test on /var/www/clients/client6/web8/web/gmt.php, calling ffmpeg with the -h argument:
http://www.e-sports.rocks/gmt.php

code is:

<?php
ob_start();
passthru("/usr/bin/ffmpeg -h") ;
$output = ob_get_contents();
ob_end_clean();
if ($output=="" || !$output || $output===false) echo "<br/>FEHLER!<br/>" ;
else {
echo "<br/>FFMPEG Output:<br/>";
echo $output;
echo "<br/>" ;
}
?>

//also, simply calling ffmpeg without any prepending path should work, like
passthru("ffmpeg -h")


I am sorry, I don't get where the other path comes from, maybe some communication issue?

Regards,

Gerrit
·
Thursday, 15 March 2018 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Strange, now your webhosting provider know what is the correct FFmpeg binary path, i wonder they really got check your question properly or not in earlier when you consult with them at the first time.

Because in your previous reply, you did mentioned they confirm this following path was FFmpeg binary path.
[gist type="php"]
/var/www/clients/client6/web8/web/libraries/joomla/filesystem/file.php
[/gist]

By the way, thanks for getting back to us, so now you already get the correct FFmpeg binary path now confirmed by your webhosting provider and i believe you should notice some warning message when you save this /usr/bin/ffmpeg path into the Easysocial configuration setting.


Warning: is_file(): open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/var/www/clients/client6/web8/web:/var/www/clients/client6/web8/private:/var/www/clients/client6/web8/tmp:/var/www/e-sports.rocks/web:/srv/www/e-sports.rocks/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client6/web8/web/libraries/joomla/filesystem/file.php on line 630


It seems like when the PHP script trying to check this binary path whether exist or not then this PHP open_basedir restricted access.

Either your current PHP open_basedir path is not set correctly or the current web user doesn't have permission to access this path through PHP script.

Perhaps you can try consult with your webhosting provider again regarding this, if everything already set correctly but it still show out this warning, can you try request them temporary disable this PHP open_basedir and see how it goes?
·
Friday, 16 March 2018 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post