-
Notifications
You must be signed in to change notification settings - Fork 962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't upload movies #1298
Comments
I found this "PHP Fatal error: Uncaught Error: Class 'mysqli' not found" try to google and fix this error |
use code blocks next time also :), not sure if this is solved or not, but what php version are you using? Mysqli is php 7+ which is a requirement for YouPHPTube |
I try many exemple on Google. Last year i installed on stretch and it was working like this. last time i try upload.
|
ok, finally upload is working, But now i can't change parameters in streamer admin area. I don't know why. Can you help me please ? |
hi, probably is a videos directory permission. change the videos directory (also all files into it) owner for www-data or give chmod 777 |
Thanks for help I also chown with another user but www-data is an authorised owner. Puyodead php7 is installed on the machine but 5.6 is activated. Thanks for your support. |
... All works but General Settings and Site settings not working, all other admin functions like categories works fine. I really don't know why only settings functions are not working. |
I made a new installation and it's works now. I think it was not working because of shown with another user but i'm not sure at all. Thanks for your support. |
I guess you need to install SSL to use Facebook login, it is mandatory. |
Hello DanielnetoDotCom and the youphptube community !
I've just installed youphptube and the encoder on new stretch server
streamer : http://www.tradezone.tv
encoder : http://www.tradezone.tv/upload
But i can't upload movies.
mysqlnd mysql for php5 and php7
CLI is activated in php.ini
and i made the www-data chown in 755
i can't access to the videos folder and directly in my browser like my last year install,
i don't know why. Is it a CHMOD problem ?
For testing i've also installed youtube-dl : pip install youtube-dl and i got the same problem
please help me !!
Encoder logs :
First log error :
16-Dec-2018 10:41:52 UTC] http://www.tradezone.tv/ == http://www.tradezone.tv/
[16-Dec-2018 10:41:52 UTC] http://www.tradezone.tv/ == http://www.tradezone.tv/
[16-Dec-2018 10:41:52 UTC] Verification Start http://www.tradezone.tv/
[16-Dec-2018 10:41:52 UTC] Verification Creating the Cache http://www.tradezone.tv/
[16-Dec-2018 10:41:57 UTC] Verification Response (https://search.youphptube.com/verify.php?url=http%3A%2F%2Fwww.tradezone.tv%2F): {"msg":["Start","http://www.tradezone.tv/ Site verified"],"verified":true,"status":"a"}
[16-Dec-2018 12:23:41 UTC] http://www.tradezone.tv/ == http://www.tradezone.tv/
[16-Dec-2018 12:23:41 UTC] http://www.tradezone.tv/ == http://www.tradezone.tv/
[16-Dec-2018 12:23:41 UTC] Verification Start http://www.tradezone.tv/
[16-Dec-2018 12:23:41 UTC] Verification Creating the Cache http://www.tradezone.tv/
[16-Dec-2018 12:23:44 UTC] Verification Response (https://search.youphptube.com/verify.php?url=http%3A%2F%2Fwww.tradezone.tv%2F): {"msg":["Start","http://www.tradezone.tv/ Site verified"],"verified":true,"status":"a"}
[16-Dec-2018 12:26:28 UTC] MP4 All
[16-Dec-2018 12:26:28 UTC] {"status":"error", "msg":"getDurationFromFile ERROR, File () Not Found"}
[16-Dec-2018 12:26:28 UTC] YouPHPTube-Encoder sending file to http://www.tradezone.tv/youPHPTubeEncoder.json
[16-Dec-2018 12:26:28 UTC] YouPHPTube-Encoder reading file from
[16-Dec-2018 12:26:28 UTC] YouPHPTube-Streamer answer {"error":false,"video_id":1}
[16-Dec-2018 12:26:28 UTC] {"error":false,"format":"mp4","file":"","resolution":"","videoDownloadedLink":null,"target":"http://www.tradezone.tv/youPHPTubeEncoder.json","postFields":10,"response_raw":"{"error":false,"video_id":1}","response":{"error":false,"video_id":1}}
[16-Dec-2018 12:26:30 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[16-Dec-2018 12:26:35 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[16-Dec-2018 12:26:40 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[16-Dec-2018 12:26:45 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
this my last log errors :
018 01:57:29 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[17-Dec-2018 01:57:34 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[17-Dec-2018 01:57:39 UTC] PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /var/www/html/tv/upload/objects/include_config.php:8
Stack trace:
#0 /var/www/html/tv/upload/videos/configuration.php(18): require_once()
#1 /var/www/html/tv/upload/view/run.php(3): require_once('/var/www/html/t...')
#2 {main}
thrown in /var/www/html/tv/upload/objects/include_config.php on line 8
[17-Dec-2018 01:57:44 UTC] Getting Video File http://www.tradezone.tv/upload/videos/original_toyplaneliftoff_YPTuniqid_5c164474993723.90365404
[17-Dec-2018 01:57:44 UTC] PHP Warning: file_put_contents(/var/www/html/tv/upload/videos/1_tmpFile.mp4): failed to open stream: Permission denied in /var/www/html/tv/upload/objects/Encoder.php on line 235
[17-Dec-2018 01:57:45 UTC] Getting from Youtube DL /usr/local/bin/youtube-dl --force-ipv4 --no-check-certificate --no-playlist -k -o /tmp/youtubeDlTGbrJ6.mp4 -f 'mp4' "https://www.youtube.com/watch?v=CTFtOOh47oo"
[17-Dec-2018 01:57:45 UTC] /usr/local/bin/youtube-dl --force-ipv4 --no-check-certificate --no-playlist -k -o /tmp/youtubeDlTGbrJ6.mp4 -f 'mp4' "https://www.youtube.com/watch?v=CTFtOOh47oo"
Array
(
)
[17-Dec-2018 01:58:47 UTC] Verification Start http://www.tradezone.tv/
[17-Dec-2018 01:58:47 UTC] Verification Creating the Cache http://www.tradezone.tv/
[17-Dec-2018 01:58:49 UTC] Verification Response (https://search.youphptube.com/verify.php?url=http%3A%2F%2Fwww.tradezone.tv%2F): {"msg":["Start","http://www.tradezone.tv/ Site verified"],"verified":true,"status":"a"}
[17-Dec-2018 02:00:32 UTC] Verification Start http://www.tradezone.tv/
[17-Dec-2018 02:00:32 UTC] Verification Creating the Cache http://www.tradezone.tv/
[17-Dec-2018 02:00:34 UTC] Verification Response (https://search.youphptube.com/verify.php?url=http%3A%2F%2Fwww.tradezone.tv%2F): {"msg":["Start","http://www.tradezone.tv/ Site verified"],"verified":true,"status":"a"}
ps : i also see Facebook connect apps only accept https (ssl)
it was working last year but not now. Do you know a way to make apps works with http ?
Thanks for your great job.
Best regards
The text was updated successfully, but these errors were encountered: