Open webdsf opened 2 years ago
Yes, I use ubuntu 20.04 for myself
I just wrote this https://github.com/WWBN/AVideo-Encoder/wiki/How-to-install-LAMP,--FFMPEG-and-Git-on-a-fresh-Ubuntu-20.x---For-AVideo-Encoder
it is not tested yet, but I am pretty sure it will work
[proxy_fcgi:error] AH01071: Got error 'PHP message: PHP Warning: require_once(/web/view/../videos/configuration.php): failed to open stream: No such file or directory in /web/view/index.php on line 18PHP message: PHP Fatal error: require_once(): Failed opening required '/web/view/../videos/configuration.php' (include_path='.:/usr/share/php') in /web/view/index.php on line 18'
Ive tried 3 different ways to do this on Ubuntu. This is a slightly truncated error from the log. Just sits there PROCESSING ..........
This is the encoder from github pull is it missing this file?
@MyBookShop try ubuntu without any control panel.
use the Ubuntu default configuration.
as I can see you are not using the standard configurations.
Thanks Daniel for the fast reply.
I tried this on a fresh Ubuntu 20.04 LAMP server using this tut. https://www.linuxbabe.com/ubuntu/install-avideo-youphptube-ubuntu-20-04-server (The Streamer works perfectly the encoder hung at Processing...) and https://github.com/WWBN/AVideo-Encoder/wiki/How-to-install-LAMP,--FFMPEG-and-Git-on-a-fresh-Ubuntu-20.x---For-AVideo-Encoder
Also as just on a Fresh Ubuntu Lamp at Localhost same results.
The above log is with a panel that hosts Avideo streamer perfectly but fails at the encoder install 'Processing...' This is because it was easier for me to get to the log file for you, I'm sure the error was the same as the other failed installs tho.
The problem is also documented here but no clear solution . https://github.com/WWBN/AVideo-Encoder/issues/234
The only configuration.php file I could find was: objects/Configuration.php but.... it could exist somewhere else see below..
The rewrite rule executes this index first
$config = dirname(FILE) . '/../videos/configuration.php'; if (!file_exists($config)) { header("Location: install/index.php"); }
It tells us this is a new install as the file does not exist yet..
install/index.php
if (file_exists('../videos/configuration.php')) {
require_once '../videos/configuration.php';
?>
https://www.php.net/manual/en/function.require-once.php
1 - "require" and "require_once" throw a fatal error if the file is not existing and stop the script execution
2 - "include" and "include_once" throw a warning and the execution continues
3 - "require_once" and "include_once" as their names suggests , they will not include the file if the file was already included with "require", "require_once", "include" or "include_once"
is this the solution?
**jason semko at gmail dot com ¶ 11 years ago If you are coding on localhost and require_once is not opening files due to 'relative paths' a simple solution is:
require_once(dirname(FILE) . "/file.php");
If you have file.php under the folder 'includes' (or anywhere for that matter), then folder 'public' AND folder 'public/admin' will be able to access all required files despite having different relative paths.**
sorry but the suggestions are not a solution.
firs you need to find your problem
/web/view/../videos/configuration.php
seems not to be a default apache directory, so I suspect you did not install it correct
Are there any normal commands to install encoder in ubuntu 20.04 ? I tried not to install anything properly. I really want to establish, it does not work out in any way. Tell me how you install it?