SSL la phpvibe si upload

Started by tweky94,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tweky94Topic starter

salut marius doresc sa fac un nou topic cu problema de aici  >>>  https://forums.phpvibe.com/bug-tracker/issue-with-ssl-https-enabled/

nu ii dau de cap aceeasi problema ca si in acel topic am si eu , l-am instalat corect de pe adresa https , in config la script este https , (am testat si alt script de video fara nici o problema )

pana la urma de la ce este aceasta problema  , ma poti ajuta te rog  poti trage un ochi aici https://vevios.ro ca sa vezi cum sta treaba cu script-ul....

si mai am inca o problema la upload  nu imi apare thumbs (sau cum se numeste poza de la video sa o selectez )
https://vevios.ro/tester/    este ok ca si test
iar daca incarc un videoclip  imi spune ca se proceseaza chiar si dupa 2 zile se proceseaza.. cred ca se blocheaza undeva...  dar la tester pare ok totul...

inca o intrebare , ma ajuta acel plugin de ffmpeg de la phpvibe daca da cu ce ?, se potiveste pentru phpvibe 11 ?
  •  

tweky94Topic starter

nu pot da edit , uite ce imi zice in consola la site.

18Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure font '<URL>'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/icomoon.ttf?z5ra72'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/icomoon.woff?z5ra72'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/material-symbols-outlined.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-100.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-100.woff'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-100.ttf'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-300.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-300.woff'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-300.ttf'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-regular.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-regular.woff'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-regular.ttf'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-500.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-500.woff'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-500.ttf'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-700.woff2'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-700.woff'. This request has been blocked; the content must be served over HTTPS.
vevios.ro/:48 Mixed Content: The page at 'https://vevios.ro/' was loaded over HTTPS, but requested an insecure font 'http://vevios.ro/themes/main/styles/fonts/roboto-v20-latin_latin-ext-700.ttf'. This request has been blocked; the content must be served over HTTPS.
  •  

Marius P.

Salut! Pluginul de ffmpeg schimba doar modul in care se trimit comenzile cate server. Din pacate ffmpeg se configureaza 100% extern, nu stiu sa iti spun ce problema are insa poti rula comanda din videocron.php ptr a crea thumbs si sa vezi eroarea in cauza (daca in ffmpeg log in admin nu se salveaza nimic).
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Marius P.

videocron.php

//Extract thumbnail
$imgout = '{ffmpeg-cmd} -i {input} -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2  {token}-%02d.jpg';

/* (Thumbs not working?) Fallback to this
$imgout = '{ffmpeg-cmd} -i {input} -vf "select=gt(scene,0.3)" -frames:v 5 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 {token}-%02d.jpg';
*/

Poti incerca si fallbackul.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Te salut Marius,  chiar ma bucur sa vad ca ai întrat,  momentan am oprit serverul , trebuie sa schimb internetul , chiar mâine  vin cei de la firma sa îl bage , și  îl voi porni din nou ,
 Vroiam sa te întreb dacă ajuta pluginul ffmpeg pentru server , deci am avut momente când incarcam un video si îmi apărea ca se procesează chiar și2 zile și yot nimic , dar nu îmi generează thumbnail,  , ok problema reala este cea cu https ca nu îmi apare imaginile , l.am instalat pe https am băgat și redirect http to https adica tot facut , clar cache cokies dar degeaba...
  •  

tweky94Topic starter

Dacă mai poți întra de mâine în colo sa pot rezolva și eu ce probleme îmi apar ca doresc sa folosesc phpvibe pe server ,
Ajuta ffmpeg dacă îl cumpăr? Ce s.ar schimba ?
  •  

tweky94Topic starter

https://vevios.ro uite marius cum apare.. ? ce as putea sa ii fac ?
  •  

Marius P.

Nu stiu ce ai acolo, ai cumva fontul Roboto tras in pagina desi noua versiune nu il mai foloseste. Ai facut upgrade si ai pastrat fisiere?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Doar ce l am descarcat de pe phpvibe , nu de pe github... cum rezolv ?
  •  

tweky94Topic starter

L.am instalat iar de pe github , degeaba....
  •  

tweky94Topic starter

am reusit cred ca cat de cat dar imi apare thumbal dupa ce se incarca videoclipul il salvez dupa trebuie sa ma duc sa editez si acolo imi apare sa selectez , adica nu se pune automat , este normal ?

https://vevios.ro/videos/browse/

te rog poti gasi o solutie sa rezolv sa se vada bine ?
  •  

tweky94Topic starter

tot imi apare asa  la videoclipuri
https://vevios.ro/video/9/la-familia-jo-zori-de-ziua-official-video/
 merge unu bine care il incarc , iar la al 2-lea imi zice sa astept .. si ramane asa blocat tot timpu , este de la mine sau ?
si te mai rog daca poti gasi o solutie pentru a  rezolva problema cu imaginile....
  •  

tweky94Topic starter

orice video as incarca imi zice ca e in proces...
https://vevios.ro/video/13/videoplayback/
imi baga thumbnail doar daca dau edit la video si selectez singur
  •  

tweky94Topic starter

inca o problema care am sesizat-o , deci este vorba tot de video in progress
ti-am zis ca imi sta  mereu numai in progress  de exemplu am incarcat acest video https://vevios.ro/video/20/la-familia-jo-zori-de-ziua-official-video/
si imi sta in progress , dar ce mi-a trecut prin cap sa intru in  moderator la phpvibe si sa dau clear cache  , si cand intru la video nu a mai fost in progres si-a revenit 

@ te rog poate gasesti si o rezolvate sa imi apara toate imaginile.....
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

Am citit .. , dar nu zice nimic de ce nu se vede bine gen de https ....
  •  

tweky94Topic starter

Uite cum se vede phpvibe la mine pe server https://vevios.ro , nu ii dau de cap , am instalat pe htpps am făcut din cloudflare certificat , am modificat redirect http to https l.am instalat pe https cam tot ce trebuie dar nu îmi merge....
  •  

Marius P.

#17
Iti da o eroare functia care ia urlul de pe server in css minifier.

https://github.com/PHPVibe/PHPVibe-CMS/blob/master/app/minify/css.php


$full_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$uri_parts = explode('css.php', $full_link, 2);
$site_link = $uri_parts[0];$site_link = str_replace('app/minify/', '', $site_link);
$themefold = isset($_GET['t']) ? $_GET['t'] : "main";
$themefold = preg_replace('/(\.+\/)/','',$themefold);

Iti ia fara https.

Incearca asta in loc de prima linie
$full_link = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  
    The following users thanked this post: tweky94

Marius P.

L-am actualizat si pe github.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  
    The following users thanked this post: tweky94

tweky94Topic starter

nu a  mers.... , am dat clear cache si din moderator si la  browser ....
  •  

tweky94Topic starter

l-am si descarcat din nou de pe github si l-am reinstalat cu totul pe site tot degeaba la fel apare...
  •  

Marius P.

Poti sa pui full linkul hardcoded

$full_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
inlocuit cu
$full_link = "https://vevios.ro/app/minify/css.php?t=main&f=jssocials&sign=phpvibe.css";

nu stiu ce ai tu acolo de nu iti ia linkul curent, te-ai putea uita in error log. Sunt atat de multe setari pe server incat mi-e imposibil de stiut ce se intampla la fiecare.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

A mers , îți mulțumesc foarte mult, 
Am întrat și am făcut setările cum zice la phpvibe cu sine cu etc..
Cele de 5 minute gen se incarca adica merge ffmpeg chiar și thumbnail dar la acesta de 15 minute sta jn progres de aseara https://vevios.ro/video/11/am-condus-noua-tesla-model-3-2023/
Ce cauze ar fi ?
  •  

Marius P.

Vezi error log pe server, ffmpeg log in admin...pur si simplu cateodata ffmpeg da abort, ori din cauza serverului, ori ori ori.... Poti incerca si din admin, sa dai edit si sa vezi acolo la missing qualities.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

tweky94Topic starter

25/11/22 07:57:16pm]
ffmpeg -i /home/vshift/public_html/storage/rawmedia/092e4f40e2dc6b4ce65ea8110b3599de.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/vshift/public_html/storage/media/thumbs/092e4f40e2dc6b4ce65ea8110b3599de-%02d.jpg

[25/11/22 07:57:16pm] Sent cmds:

ffmpeg -i /home/vshift/public_html/storage/rawmedi... 

ffmpeg -i /home/vshift/public_html/storage/rawmedia/092e4f40e2dc6b4ce65ea8110b3599de.mp4 -vf scale=-1:720 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/vshift/public_html/storage/media/092e4f40e2dc6b4ce65ea8110b3599de-720.mp4 2>&1

ffmpeg -i /home/vshift/public_html/storage/rawmedia/092e4f40e2dc6b4ce65ea8110b3599de.mp4 -s 854x480 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/vshift/public_html/storage/media/092e4f40e2dc6b4ce65ea8110b3599de-480.mp4 2>&1

ffmpeg -i /home/vshift/public_html/storage/rawmedia/092e4f40e2dc6b4ce65ea8110b3599de.mp4 -s 426x240 -c:v libx264 -preset veryfast -crf 29 -threads 2 -movflags faststart /home/vshift/public_html/storage/media/092e4f40e2dc6b4ce65ea8110b3599de-240.mp4 2>&1

  Show more >

[25/11/22 07:57:19pm] Last lines for debug: 20.6% 1.0% P16..4: 11.6% 5.1% 1.8% 0.0% 0.0% sk...   Show more >

[25/11/22 07:57:50pm]
ffmpeg -i /home/vshift/public_html/storage/rawmedia/53ba33478b314aa45567f13e39ba2c11.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/vshift/public_html/storage/media/thumbs/53ba33478b314aa45567f13e39ba2c11-%02d.jpg

[25/11/22 07:57:50pm] Sent cmds:

ffmpeg -i /home/vshift/public_html/storage/rawmedi... 

ffmpeg -i /home/vshift/public_html/storage/rawmedia/53ba33478b314aa45567f13e39ba2c11.mp4 -s 854x480 -c:v libx264 -preset veryfast -crf 28 -threads 2 -movflags faststart /home/vshift/public_html/storage/media/53ba33478b314aa45567f13e39ba2c11-480.mp4 2>&1

ffmpeg -i /home/vshift/public_html/storage/rawmedia/53ba33478b314aa45567f13e39ba2c11.mp4 -s 426x240 -c:v libx264 -preset veryfast -crf 29 -threads 2 -movflags faststart /home/vshift/public_html/storage/media/53ba33478b314aa45567f13e39ba2c11-240.mp4 2>&1

  Show more >

[25/11/22 07:57:52pm] Last lines for debug: 7.5% 0.5% P16..4: 29.6% 15.8% 4.4% 0.0% 0.0% ski...   Show more >

[20/11/23 11:25:57pm]
ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/rawmedia/4f362ee9bf4a0a44b757d23b870f67e5.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/admin/web/vevios.ro/public_html/storage/media/thumbs/4f362ee9bf4a0a44b757d23b870f67e5-%02d.jpg

[20/11/23 11:25:57pm] Sent cmds:

ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/rawmedia/4f362ee9bf4a0a44b757d23b870f67e5.mp4 -s 640x360 -c:v libx264 -preset slow -crf 28 -threads 2 -movflags faststart /home/admin/web/vevios.ro/public_html/storage/media/4f362ee9bf4a0a44b757d23b870f67e5-360.mp4 2>&1

[20/11/23 11:26:59pm]
ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/rawmedia/94efd08a22bf5e4ffd90c007532c75c4.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/admin/web/vevios.ro/public_html/storage/media/thumbs/94efd08a22bf5e4ffd90c007532c75c4-%02d.jpg

[20/11/23 11:26:59pm] Sent cmds:

ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/rawmedia/94efd08a22bf5e4ffd90c007532c75c4.mp4 -s 640x360 -c:v libx264 -preset slow -crf 28 -threads 2 -movflags faststart /home/admin/web/vevios.ro/public_html/storage/media/94efd08a22bf5e4ffd90c007532c75c4-360.mp4 2>&1

[20/11/23 11:27:16pm] Last lines for debug: atial:99.9% temporal:0.1%
[libx264 @ 0x557485af88c...   Show more >

[20/11/23 11:28:16pm] Last lines for debug: atial:99.9% temporal:0.1%
[libx264 @ 0x5608ab4ae8c...   Show more >

[20/11/23 11:30:11pm]
ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/rawmedia/552fec774a7e35857520078907081bba.mp4 -vf "select=gt(scene,0.3),scale=360:202:force_original_aspect_ratio=increase,crop=360:202" -frames:v 10 -vsync vfr -vf fps=fps=1/60 -qscale:v 2 /home/admin/web/vevios.ro/public_html/storage/media/thumbs/552fec774a7e35857520078907081bba-%02d.jpg

[20/11/23 11:32:40pm]
Conversion starting for:
/home/admin/web/vevios.ro/public_html/storage/media/94efd08a22bf5e4ffd90c007532c75c4-1280.mp4
[20/11/23 11:32:40pm] Chained cmds:ffmpeg -i /home/admin/web/vevios.ro/public_html/storage/media/94efd08a22bf5e4ffd90c007532c75c4-1280.mp4 -s 640x360 -c:v libx264 -preset slow -crf 28 -threads 2 -movflags faststart /home/admin/web/vevios.ro/public_html/storage/media/94efd08a22bf5e4ffd90c007532c75c4-360.mp4 2>&1;

[20/11/23 11:32:40pm] ffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers ...   Show more >

   


O părere de la tine ?
Vad ca la acel videoclip care e in progres  a creat multe thumbnail
  •  

Similar topics (7)

Replies: 18
Views: 14057

Started by tweky94


Replies: 0
Views: 1280

Replies: 0
Views: 2556

Replies: 1
Views: 674

Replies: 1
Views: 1021